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