u300-gpio.h 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * Individual pin assignments for the B335/S335.
  3. * Notice that the actual usage of these pins depends on the
  4. * PAD MUX settings, that is why the same number can potentially
  5. * appear several times. In the reference design each pin is only
  6. * used for one purpose. These were determined by inspecting the
  7. * S365 schematic.
  8. */
  9. #define U300_GPIO_PIN_UART_RX 0
  10. #define U300_GPIO_PIN_UART_TX 1
  11. #define U300_GPIO_PIN_UART_CTS 2
  12. #define U300_GPIO_PIN_UART_RTS 3
  13. #define U300_GPIO_PIN_CAM_MAIN_STANDBY 4 /* Camera MAIN standby */
  14. #define U300_GPIO_PIN_GPIO05 5 /* Unrouted */
  15. #define U300_GPIO_PIN_MS_CD 6 /* Memory Stick Card insertion */
  16. #define U300_GPIO_PIN_GPIO07 7 /* Test point TP2430 */
  17. #define U300_GPIO_PIN_GPIO08 8 /* Test point TP2437 */
  18. #define U300_GPIO_PIN_GPIO09 9 /* Test point TP2431 */
  19. #define U300_GPIO_PIN_GPIO10 10 /* Test point TP2432 */
  20. #define U300_GPIO_PIN_MMC_CLKRET 11 /* Clock return from MMC/SD card */
  21. #define U300_GPIO_PIN_MMC_CD 12 /* MMC Card insertion detection */
  22. #define U300_GPIO_PIN_CAM_SUB_STANDBY 13 /* Camera SUB standby */
  23. #define U300_GPIO_PIN_GPIO14 14 /* Test point TP2436 */
  24. #define U300_GPIO_PIN_GPIO15 15 /* Unrouted */
  25. #define U300_GPIO_PIN_GPIO16 16 /* Test point TP2438 */
  26. #define U300_GPIO_PIN_PHFSENSE 17 /* Headphone jack sensing */
  27. #define U300_GPIO_PIN_GPIO18 18 /* Test point TP2439 */
  28. #define U300_GPIO_PIN_GPIO19 19 /* Routed somewhere */
  29. #define U300_GPIO_PIN_GPIO20 20 /* Unrouted */
  30. #define U300_GPIO_PIN_GPIO21 21 /* Unrouted */
  31. #define U300_GPIO_PIN_GPIO22 22 /* Unrouted */
  32. #define U300_GPIO_PIN_GPIO23 23 /* Unrouted */
  33. #define U300_GPIO_PIN_GPIO24 24 /* Unrouted */
  34. #define U300_GPIO_PIN_GPIO25 25 /* Unrouted */
  35. #define U300_GPIO_PIN_GPIO26 26 /* Unrouted */
  36. #define U300_GPIO_PIN_GPIO27 27 /* Unrouted */
  37. #define U300_GPIO_PIN_GPIO28 28 /* Unrouted */
  38. #define U300_GPIO_PIN_GPIO29 29 /* Unrouted */
  39. #define U300_GPIO_PIN_GPIO30 30 /* Unrouted */
  40. #define U300_GPIO_PIN_GPIO31 31 /* Unrouted */
  41. #define U300_GPIO_PIN_GPIO32 32 /* Unrouted */
  42. #define U300_GPIO_PIN_GPIO33 33 /* Unrouted */
  43. #define U300_GPIO_PIN_GPIO34 34 /* Unrouted */
  44. #define U300_GPIO_PIN_GPIO35 35 /* Unrouted */
  45. #define U300_GPIO_PIN_GPIO36 36 /* Unrouted */
  46. #define U300_GPIO_PIN_GPIO37 37 /* Unrouted */
  47. #define U300_GPIO_PIN_GPIO38 38 /* Unrouted */
  48. #define U300_GPIO_PIN_GPIO39 39 /* Unrouted */
  49. #define U300_GPIO_PIN_GPIO40 40 /* Unrouted */
  50. #define U300_GPIO_PIN_GPIO41 41 /* Unrouted */
  51. #define U300_GPIO_PIN_GPIO42 42 /* Unrouted */
  52. #define U300_GPIO_PIN_GPIO43 43 /* Unrouted */
  53. #define U300_GPIO_PIN_GPIO44 44 /* Unrouted */
  54. #define U300_GPIO_PIN_GPIO45 45 /* Unrouted */
  55. #define U300_GPIO_PIN_GPIO46 46 /* Unrouted */
  56. #define U300_GPIO_PIN_GPIO47 47 /* Unrouted */
  57. #define U300_GPIO_PIN_GPIO48 48 /* Unrouted */
  58. #define U300_GPIO_PIN_GPIO49 49 /* Unrouted */
  59. #define U300_GPIO_PIN_GPIO50 50 /* Unrouted */
  60. #define U300_GPIO_PIN_GPIO51 51 /* Unrouted */
  61. #define U300_GPIO_PIN_GPIO52 52 /* Unrouted */
  62. #define U300_GPIO_PIN_GPIO53 53 /* Unrouted */
  63. #define U300_GPIO_PIN_GPIO54 54 /* Unrouted */
  64. #define U300_GPIO_PIN_GPIO55 55 /* Unrouted */