1 /*
2  *  (C) Copyright 2010,2011
3  *  NVIDIA Corporation <www.nvidia.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef _TEGRA_BOARD_H_
9 #define _TEGRA_BOARD_H_
10 
11 /* Set up pinmux to make UART usable */
12 void gpio_early_init_uart(void);
13 
14 /* Set up early UART output */
15 void board_init_uart_f(void);
16 
17 /* Set up any early GPIOs the board might need for proper operation */
18 void gpio_early_init(void);  /* overrideable GPIO config        */
19 
20 /*
21  * Hooks to allow boards to set up the pinmux for a specific function.
22  * Has to be implemented in the board files as we don't yet support pinmux
23  * setup from FTD. If a board file does not implement one of those functions
24  * an empty stub function will be called.
25  */
26 
27 void pin_mux_usb(void);      /* overrideable USB pinmux setup     */
28 void pin_mux_spi(void);      /* overrideable SPI pinmux setup     */
29 void pin_mux_nand(void);     /* overrideable NAND pinmux setup    */
30 void pin_mux_display(void);  /* overrideable DISPLAY pinmux setup */
31 
32 #endif
33