7449b5b99d560d770769f803aebb39bf1e9553ea
[platform/kernel/u-boot.git] / board / nvidia / dalmore / dalmore.c
1 /*
2  * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms and conditions of the GNU General Public License,
6  * version 2, as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
11  * more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16
17 #include <common.h>
18 #include <asm/arch/pinmux.h>
19 #include <asm/arch/gp_padctrl.h>
20 #include "pinmux-config-dalmore.h"
21
22 /*
23  * Routine: pinmux_init
24  * Description: Do individual peripheral pinmux configs
25  */
26 void pinmux_init(void)
27 {
28         pinmux_config_table(tegra114_pinmux_set_nontristate,
29                 ARRAY_SIZE(tegra114_pinmux_set_nontristate));
30
31         pinmux_config_table(tegra114_pinmux_common,
32                 ARRAY_SIZE(tegra114_pinmux_common));
33
34         pinmux_config_table(unused_pins_lowpower,
35                 ARRAY_SIZE(unused_pins_lowpower));
36
37         /* Initialize any non-default pad configs (APB_MISC_GP regs) */
38         padgrp_config_table(dalmore_padctrl, ARRAY_SIZE(dalmore_padctrl));
39 }