board-m3skt-pinmux.h 502 B

12345678910111213141516171819202122232425262728
  1. /*
  2. Linux PIN_ITEMS.C
  3. */
  4. //these data can be shared.
  5. #include <mach/pinmux.h>
  6. #if 0
  7. #define MAX_PIN_ITEM_NUM 13
  8. enum device_pinitem_index{
  9. DEVICE_PIN_ITEM_UART,
  10. MAX_DEVICE_NUMBER,
  11. };
  12. #define uart_pins { \
  13. .reg=PINMUX_REG(AO),\
  14. .clrmask=3<<16,\
  15. .setmask=3<<11,\
  16. }
  17. static pinmux_item_t __initdata devices_pins[MAX_DEVICE_NUMBER][MAX_PIN_ITEM_NUM]=
  18. {
  19. [0]={uart_pins,PINMUX_END_ITEM},
  20. //add other devices here. according to the uart item.
  21. };
  22. #endif