blob: 1ed2fd788ec17042cc5528ec2aee0d8960364104 [file] [log] [blame]
Tom Warrenf7dc4ac2014-01-24 12:46:18 -07001/*
2 * (C) Copyright 2013-2014
3 * NVIDIA Corporation <www.nvidia.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#include <common.h>
9#include <asm-generic/gpio.h>
10#include <asm/arch/gpio.h>
11#include <asm/arch/gp_padctrl.h>
12#include <asm/arch/pinmux.h>
13#include "pinmux-config-venice2.h"
14#include <i2c.h>
15
16/*
17 * Routine: pinmux_init
18 * Description: Do individual peripheral pinmux configs
19 */
20void pinmux_init(void)
21{
22 pinmux_config_table(tegra124_pinmux_set_nontristate,
23 ARRAY_SIZE(tegra124_pinmux_set_nontristate));
24
25 pinmux_config_table(tegra124_pinmux_common,
26 ARRAY_SIZE(tegra124_pinmux_common));
27
28 pinmux_config_table(unused_pins_lowpower,
29 ARRAY_SIZE(unused_pins_lowpower));
30
31 /* Initialize any non-default pad configs (APB_MISC_GP regs) */
32 padgrp_config_table(venice2_padctrl, ARRAY_SIZE(venice2_padctrl));
33}