z2.h 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * arch/arm/mach-pxa/include/mach/z2.h
  3. *
  4. * Author: Ken McGuire
  5. * Created: Feb 6, 2009
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef ASM_ARCH_ZIPIT2_H
  12. #define ASM_ARCH_ZIPIT2_H
  13. /* LEDs */
  14. #define GPIO10_ZIPITZ2_LED_WIFI 10
  15. #define GPIO85_ZIPITZ2_LED_CHARGED 85
  16. #define GPIO83_ZIPITZ2_LED_CHARGING 83
  17. /* SD/MMC */
  18. #define GPIO96_ZIPITZ2_SD_DETECT 96
  19. /* GPIO Buttons */
  20. #define GPIO1_ZIPITZ2_POWER_BUTTON 1
  21. #define GPIO98_ZIPITZ2_LID_BUTTON 98
  22. /* Libertas GSPI8686 WiFi */
  23. #define GPIO14_ZIPITZ2_WIFI_POWER 14
  24. #define GPIO24_ZIPITZ2_WIFI_CS 24
  25. #define GPIO36_ZIPITZ2_WIFI_IRQ 36
  26. /* LCD */
  27. #define GPIO19_ZIPITZ2_LCD_RESET 19
  28. #define GPIO88_ZIPITZ2_LCD_CS 88
  29. /* MISC GPIOs */
  30. #define GPIO0_ZIPITZ2_AC_DETECT 0
  31. #define GPIO37_ZIPITZ2_HEADSET_DETECT 37
  32. #endif