1 /* 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/arch/gpio.h> 10 #include <asm/arch/pinmux.h> 11 #include <asm/arch-tegra/gpu.h> 12 #include "pinmux-config-venice2.h" 13 14 /* 15 * Routine: pinmux_init 16 * Description: Do individual peripheral pinmux configs 17 */ 18 void pinmux_init(void) 19 { 20 pinmux_set_tristate_input_clamping(); 21 22 gpio_config_table(venice2_gpio_inits, 23 ARRAY_SIZE(venice2_gpio_inits)); 24 25 pinmux_config_pingrp_table(venice2_pingrps, 26 ARRAY_SIZE(venice2_pingrps)); 27 28 pinmux_config_drvgrp_table(venice2_drvgrps, 29 ARRAY_SIZE(venice2_drvgrps)); 30 } 31 32 int ft_board_setup(void *blob, bd_t *bd) 33 { 34 gpu_enable_node(blob, "/gpu@0,57000000"); 35 36 return 0; 37 } 38