gpio.h 684 B

123456789101112131415161718192021222324252627
  1. #ifndef __ASM_XTENSA_S6105_GPIO_H
  2. #define __ASM_XTENSA_S6105_GPIO_H
  3. #define GPIO_BP_TEMP_ALARM 0
  4. #define GPIO_PB_RESET_IN 1
  5. #define GPIO_EXP_IRQ 2
  6. #define GPIO_TRIGGER_IRQ 3
  7. #define GPIO_RTC_IRQ 4
  8. #define GPIO_PHY_IRQ 5
  9. #define GPIO_IMAGER_RESET 6
  10. #define GPIO_SD_IRQ 7
  11. #define GPIO_MINI_BOOT_INH 8
  12. #define GPIO_BOARD_RESET 9
  13. #define GPIO_EXP_PRESENT 10
  14. #define GPIO_LED1_NGREEN 12
  15. #define GPIO_LED1_RED 13
  16. #define GPIO_LED0_NGREEN 14
  17. #define GPIO_LED0_NRED 15
  18. #define GPIO_SPI_CS0 16
  19. #define GPIO_SPI_CS1 17
  20. #define GPIO_SPI_CS3 19
  21. #define GPIO_SPI_CS4 20
  22. #define GPIO_SD_WP 21
  23. #define GPIO_BP_RESET 22
  24. #define GPIO_ALARM_OUT 23
  25. #endif /* __ASM_XTENSA_S6105_GPIO_H */