board.h 934 B

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * board.h
  4. *
  5. * TI AM335x boards information header
  6. *
  7. * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
  8. */
  9. #ifndef _BOARD_H_
  10. #define _BOARD_H_
  11. typedef struct _BSP_VS_HWPARAM // v1.0
  12. {
  13. uint32_t Magic;
  14. uint32_t HwRev;
  15. uint32_t SerialNumber;
  16. char PrdDate[11]; // as a string ie. "01.01.2006"
  17. uint16_t SystemId;
  18. uint8_t MAC1[6]; // internal EMAC
  19. uint8_t MAC2[6]; // SMSC9514
  20. uint8_t MAC3[6]; // WL1271 WLAN
  21. } __attribute__ ((packed)) BSP_VS_HWPARAM;
  22. /*
  23. * We have three pin mux functions that must exist. We must be able to enable
  24. * uart0, for initial output and i2c0 to read the main EEPROM. We then have a
  25. * main pinmux function that can be overridden to enable all other pinmux that
  26. * is required on the board.
  27. */
  28. void enable_uart0_pin_mux(void);
  29. void enable_i2c1_pin_mux(void);
  30. void enable_board_pin_mux(void);
  31. #endif