blob: 0e698644a0a17fa8975ce7c58651a32e9b77aaad [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/*
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 */
12void gpio_early_init_uart(void);
13
14/* Set up early UART output */
15void board_init_uart_f(void);
16
17/* Set up any early GPIOs the board might need for proper operation */
18void 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
27void pin_mux_usb(void); /* overrideable USB pinmux setup */
28void pin_mux_spi(void); /* overrideable SPI pinmux setup */
29void pin_mux_nand(void); /* overrideable NAND pinmux setup */
30void pin_mux_display(void); /* overrideable DISPLAY pinmux setup */
31
32#endif