1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * (C) Copyright 2013-2014 4 * NVIDIA Corporation <www.nvidia.com> 5 */ 6 7 #include <common.h> 8 #include <asm/arch/gpio.h> 9 #include <asm/arch/pinmux.h> 10 #include "pinmux-config-venice2.h" 11 12 /* 13 * Routine: pinmux_init 14 * Description: Do individual peripheral pinmux configs 15 */ 16 void pinmux_init(void) 17 { 18 pinmux_set_tristate_input_clamping(); 19 20 gpio_config_table(venice2_gpio_inits, 21 ARRAY_SIZE(venice2_gpio_inits)); 22 23 pinmux_config_pingrp_table(venice2_pingrps, 24 ARRAY_SIZE(venice2_pingrps)); 25 26 pinmux_config_drvgrp_table(venice2_drvgrps, 27 ARRAY_SIZE(venice2_drvgrps)); 28 } 29