| /* |
| * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify it |
| * under the terms and conditions of the GNU General Public License, |
| * version 2, as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| * more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| |
| #include <common.h> |
| #include <asm/arch/pinmux.h> |
| #include <asm/arch/gp_padctrl.h> |
| #include "pinmux-config-dalmore.h" |
| |
| /* |
| * Routine: pinmux_init |
| * Description: Do individual peripheral pinmux configs |
| */ |
| void pinmux_init(void) |
| { |
| pinmux_config_table(tegra114_pinmux_set_nontristate, |
| ARRAY_SIZE(tegra114_pinmux_set_nontristate)); |
| |
| pinmux_config_table(tegra114_pinmux_common, |
| ARRAY_SIZE(tegra114_pinmux_common)); |
| |
| pinmux_config_table(unused_pins_lowpower, |
| ARRAY_SIZE(unused_pins_lowpower)); |
| |
| /* Initialize any non-default pad configs (APB_MISC_GP regs) */ |
| padgrp_config_table(dalmore_padctrl, ARRAY_SIZE(dalmore_padctrl)); |
| } |