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 FDT. If a board file does not implement one of those functions
24  * an empty stub function will be called.
25  */
26 
27 void pinmux_init(void);      /* overridable general pinmux setup */
28 void pin_mux_usb(void);      /* overridable USB pinmux setup     */
29 void pin_mux_spi(void);      /* overridable SPI pinmux setup     */
30 void pin_mux_nand(void);     /* overridable NAND pinmux setup    */
31 void pin_mux_mmc(void);      /* overridable mmc pinmux setup     */
32 void pin_mux_display(void);  /* overridable DISPLAY pinmux setup */
33 
34 #endif
35