]> git.ipfire.org Git - thirdparty/u-boot.git/blame - board/nvidia/venice2/venice2.c
SPDX: Convert all of our single license tags to Linux Kernel style
[thirdparty/u-boot.git] / board / nvidia / venice2 / venice2.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
f7dc4ac3
TW
2/*
3 * (C) Copyright 2013-2014
4 * NVIDIA Corporation <www.nvidia.com>
f7dc4ac3
TW
5 */
6
7#include <common.h>
f7dc4ac3 8#include <asm/arch/gpio.h>
f7dc4ac3
TW
9#include <asm/arch/pinmux.h>
10#include "pinmux-config-venice2.h"
f7dc4ac3
TW
11
12/*
13 * Routine: pinmux_init
14 * Description: Do individual peripheral pinmux configs
15 */
16void pinmux_init(void)
17{
2eba87a3 18 pinmux_set_tristate_input_clamping();
f7dc4ac3 19
2eba87a3
SW
20 gpio_config_table(venice2_gpio_inits,
21 ARRAY_SIZE(venice2_gpio_inits));
f7dc4ac3 22
2eba87a3
SW
23 pinmux_config_pingrp_table(venice2_pingrps,
24 ARRAY_SIZE(venice2_pingrps));
f7dc4ac3 25
2eba87a3
SW
26 pinmux_config_drvgrp_table(venice2_drvgrps,
27 ARRAY_SIZE(venice2_drvgrps));
f7dc4ac3 28}