board.h 752 B

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