board.h 1.1 KB

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