board.h 748 B

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Gumstix Pepper and AM335x-based boards information header
  4. *
  5. * Copyright (C) 2014, Gumstix, Inc. - http://www.gumstix.com/
  6. */
  7. #ifndef _BOARD_H_
  8. #define _BOARD_H_
  9. #define GUMSTIX_PEPPER 0x30000200
  10. #define GUMSTIX_PEPPER_DVI 0x31000200
  11. struct pepper_board_id {
  12. unsigned int device_vendor;
  13. unsigned char revision;
  14. unsigned char content;
  15. char fab_revision[8];
  16. char env_var[16];
  17. char en_setting[64];
  18. };
  19. /*
  20. * We must be able to enable uart0, for initial output. We then have a
  21. * main pinmux function that can be overridden to enable all other pinmux that
  22. * is required on the board.
  23. */
  24. void enable_uart0_pin_mux(void);
  25. void enable_board_pin_mux(void);
  26. void enable_i2c0_pin_mux(void);
  27. #endif