blob: 7449b5b99d560d770769f803aebb39bf1e9553ea [file] [log] [blame]
Tom Warren7a3fa012013-01-28 13:32:13 +00001/*
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>
Tom Warren3086f6a2013-03-18 14:47:55 -070019#include <asm/arch/gp_padctrl.h>
Tom Warren7a3fa012013-01-28 13:32:13 +000020#include "pinmux-config-dalmore.h"
21
22/*
23 * Routine: pinmux_init
24 * Description: Do individual peripheral pinmux configs
25 */
26void pinmux_init(void)
27{
Tom Warren8495b222013-03-01 14:38:20 -070028 pinmux_config_table(tegra114_pinmux_set_nontristate,
29 ARRAY_SIZE(tegra114_pinmux_set_nontristate));
30
Tom Warren7a3fa012013-01-28 13:32:13 +000031 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));
Tom Warren3086f6a2013-03-18 14:47:55 -070036
37 /* Initialize any non-default pad configs (APB_MISC_GP regs) */
38 padgrp_config_table(dalmore_padctrl, ARRAY_SIZE(dalmore_padctrl));
Tom Warren7a3fa012013-01-28 13:32:13 +000039}