definitionOfRtuMemory.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Copyright (C) ST-Ericsson SA 2010
  3. *
  4. * License terms: GNU General Public License, version 2
  5. * Author: Rabin Vincent <rabin.vincent@stericsson.com>
  6. */
  7. #ifndef __MACH_PINS_DB8500_H
  8. #define __MACH_PINS_DB8500_H
  9. /*
  10. * TODO: Eventually encode all non-board specific pull up/down configuration
  11. * here.
  12. */
  13. #define GPIO0_GPIO PIN_CFG(0, GPIO)
  14. #define GPIO0_U0_CTSn PIN_CFG(0, ALT_A)
  15. #define GPIO0_TRIG_OUT PIN_CFG(0, ALT_B)
  16. #define GPIO0_IP_TDO PIN_CFG(0, ALT_C)
  17. #define GPIO1_GPIO PIN_CFG(1, GPIO)
  18. #define GPIO1_U0_RTSn PIN_CFG(1, ALT_A)
  19. #define GPIO1_TRIG_IN PIN_CFG(1, ALT_B)
  20. #define GPIO1_IP_TDI PIN_CFG(1, ALT_C)
  21. #define GPIO2_GPIO PIN_CFG(2, GPIO)
  22. #define GPIO2_U0_RXD PIN_CFG(2, ALT_A)
  23. #define GPIO2_NONE PIN_CFG(2, ALT_B)
  24. #define GPIO2_IP_TMS PIN_CFG(2, ALT_C)
  25. #define GPIO3_GPIO PIN_CFG(3, GPIO)
  26. #define GPIO3_U0_TXD PIN_CFG(3, ALT_A)
  27. #define GPIO3_NONE PIN_CFG(3, ALT_B)
  28. #define GPIO3_IP_TCK PIN_CFG(3, ALT_C)
  29. #define GPIO4_GPIO PIN_CFG(4, GPIO)
  30. #define GPIO4_U1_RXD PIN_CFG(4, ALT_A)
  31. #define GPIO4_I2C4_SCL PIN_CFG(4, ALT_B)
  32. #define GPIO4_IP_TRSTn PIN_CFG(4, ALT_C)
  33. #define GPIO5_GPIO PIN_CFG(5, GPIO)
  34. #define GPIO5_U1_TXD PIN_CFG(5, ALT_A)
  35. #define GPIO5_I2C4_SDA PIN_CFG(5, ALT_B)
  36. #define GPIO5_IP_GPIO6 PIN_CFG(5, ALT_C)
  37. #define GPIO6_GPIO PIN_CFG(6, GPIO)
  38. #define GPIO6_U1_CTSn PIN_CFG(6, ALT_A)
  39. #define GPIO6_I2C1_SCL PIN_CFG(6, ALT_B)
  40. #define GPIO6_IP_GPIO0 PIN_CFG(6, ALT_C)
  41. #define GPIO7_GPIO PIN_CFG(7, GPIO)
  42. #define GPIO7_U1_RTSn PIN_CFG(7, ALT_A)
  43. #define GPIO7_I2C1_SDA PIN_CFG(7, ALT_B)
  44. #define GPIO7_IP_GPIO1 PIN_CFG(7, ALT_C)
  45. #define GPIO8_GPIO PIN_CFG(8, GPIO)
  46. #define GPIO8_IPI2C_SDA PIN_CFG(8, ALT_A)
  47. #define GPIO8_I2C2_SDA PIN_CFG(8, ALT_B)
  48. #define GPIO9_GPIO PIN_CFG(9, GPIO)
  49. #define GPIO9_IPI2C_SCL PIN_CFG(9, ALT_A)
  50. #define GPIO9_I2C2_SCL PIN_CFG(9, ALT_B)
  51. #define GPIO10_GPIO PIN_CFG(10, GPIO)
  52. #define GPIO10_IPI2C_SDA PIN_CFG(10, ALT_A)