definitionOfRtuMemory.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486
  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)
  53. #define GPIO10_I2C2_SDA PIN_CFG(10, ALT_B)
  54. #define GPIO10_IP_GPIO3 PIN_CFG(10, ALT_C)
  55. #define GPIO11_GPIO PIN_CFG(11, GPIO)
  56. #define GPIO11_IPI2C_SCL PIN_CFG(11, ALT_A)
  57. #define GPIO11_I2C2_SCL PIN_CFG(11, ALT_B)
  58. #define GPIO11_IP_GPIO2 PIN_CFG(11, ALT_C)
  59. #define GPIO12_GPIO PIN_CFG(12, GPIO)
  60. #define GPIO12_MSP0_TXD PIN_CFG(12, ALT_A)
  61. #define GPIO12_MSP0_RXD PIN_CFG(12, ALT_B)
  62. #define GPIO13_GPIO PIN_CFG(13, GPIO)
  63. #define GPIO13_MSP0_TFS PIN_CFG(13, ALT_A)
  64. #define GPIO14_GPIO PIN_CFG(14, GPIO)
  65. #define GPIO14_MSP0_TCK PIN_CFG(14, ALT_A)
  66. #define GPIO15_GPIO PIN_CFG(15, GPIO)
  67. #define GPIO15_MSP0_RXD PIN_CFG(15, ALT_A)
  68. #define GPIO15_MSP0_TXD PIN_CFG(15, ALT_B)
  69. #define GPIO16_GPIO PIN_CFG(16, GPIO)
  70. #define GPIO16_MSP0_RFS PIN_CFG(16, ALT_A)
  71. #define GPIO16_I2C1_SCL PIN_CFG(16, ALT_B)
  72. #define GPIO16_SLIM0_DAT PIN_CFG(16, ALT_C)
  73. #define GPIO17_GPIO PIN_CFG(17, GPIO)
  74. #define GPIO17_MSP0_RCK PIN_CFG(17, ALT_A)
  75. #define GPIO17_I2C1_SDA PIN_CFG(17, ALT_B)
  76. #define GPIO17_SLIM0_CLK PIN_CFG(17, ALT_C)
  77. #define GPIO18_GPIO PIN_CFG(18, GPIO)
  78. #define GPIO18_MC0_CMDDIR PIN_CFG_INPUT(18, ALT_A, PULLUP)
  79. #define GPIO18_U2_RXD PIN_CFG(18, ALT_B)
  80. #define GPIO18_MS_IEP PIN_CFG(18, ALT_C)
  81. #define GPIO19_GPIO PIN_CFG(19, GPIO)
  82. #define GPIO19_MC0_DAT0DIR PIN_CFG_INPUT(19, ALT_A, PULLUP)
  83. #define GPIO19_U2_TXD PIN_CFG(19, ALT_B)
  84. #define GPIO19_MS_DAT0DIR PIN_CFG(19, ALT_C)
  85. #define GPIO20_GPIO PIN_CFG(20, GPIO)
  86. #define GPIO20_MC0_DAT2DIR PIN_CFG_INPUT(20, ALT_A, PULLUP)
  87. #define GPIO20_UARTMOD_TXD PIN_CFG(20, ALT_B)
  88. #define GPIO20_IP_TRIGOUT PIN_CFG(20, ALT_C)
  89. #define GPIO21_GPIO PIN_CFG(21, GPIO)
  90. #define GPIO21_MC0_DAT31DIR PIN_CFG_INPUT(21, ALT_A, PULLUP)
  91. #define GPIO21_MSP0_SCK PIN_CFG(21, ALT_B)
  92. #define GPIO21_MS_DAT31DIR PIN_CFG(21, ALT_C)
  93. #define GPIO22_GPIO PIN_CFG(22, GPIO)
  94. #define GPIO22_MC0_FBCLK PIN_CFG_INPUT(22, ALT_A, PULLUP)
  95. #define GPIO22_UARTMOD_RXD PIN_CFG(22, ALT_B)
  96. #define GPIO22_MS_FBCLK PIN_CFG(22, ALT_C)
  97. #define GPIO23_GPIO PIN_CFG(23, GPIO)
  98. #define GPIO23_MC0_CLK PIN_CFG_INPUT(23, ALT_A, PULLUP)
  99. #define GPIO23_STMMOD_CLK PIN_CFG(23, ALT_B)
  100. #define GPIO23_MS_CLK PIN_CFG(23, ALT_C)
  101. #define GPIO24_GPIO PIN_CFG(24, GPIO)
  102. #define GPIO24_MC0_CMD PIN_CFG_INPUT(24, ALT_A, PULLUP)
  103. #define GPIO24_UARTMOD_RXD PIN_CFG(24, ALT_B)
  104. #define GPIO24_MS_BS PIN_CFG(24, ALT_C)
  105. #define GPIO25_GPIO PIN_CFG(25, GPIO)
  106. #define GPIO25_MC0_DAT0 PIN_CFG_INPUT(25, ALT_A, PULLUP)
  107. #define GPIO25_STMMOD_DAT0 PIN_CFG(25, ALT_B)
  108. #define GPIO25_MS_DAT0 PIN_CFG(25, ALT_C)
  109. #define GPIO26_GPIO PIN_CFG(26, GPIO)
  110. #define GPIO26_MC0_DAT1 PIN_CFG_INPUT(26, ALT_A, PULLUP)
  111. #define GPIO26_STMMOD_DAT1 PIN_CFG(26, ALT_B)
  112. #define GPIO26_MS_DAT1 PIN_CFG(26, ALT_C)
  113. #define GPIO27_GPIO PIN_CFG(27, GPIO)
  114. #define GPIO27_MC0_DAT2 PIN_CFG_INPUT(27, ALT_A, PULLUP)
  115. #define GPIO27_STMMOD_DAT2 PIN_CFG(27, ALT_B)
  116. #define GPIO27_MS_DAT2 PIN_CFG(27, ALT_C)
  117. #define GPIO28_GPIO PIN_CFG(28, GPIO)
  118. #define GPIO28_MC0_DAT3 PIN_CFG_INPUT(28, ALT_A, PULLUP)
  119. #define GPIO28_STMMOD_DAT3 PIN_CFG(28, ALT_B)
  120. #define GPIO28_MS_DAT3 PIN_CFG(28, ALT_C)
  121. #define GPIO29_GPIO PIN_CFG(29, GPIO)
  122. #define GPIO29_MC0_DAT4 PIN_CFG(29, ALT_A)
  123. #define GPIO29_SPI3_CLK PIN_CFG(29, ALT_B)
  124. #define GPIO29_U2_RXD PIN_CFG(29, ALT_C)
  125. #define GPIO30_GPIO PIN_CFG(30, GPIO)
  126. #define GPIO30_MC0_DAT5 PIN_CFG(30, ALT_A)
  127. #define GPIO30_SPI3_RXD PIN_CFG(30, ALT_B)
  128. #define GPIO30_U2_TXD PIN_CFG(30, ALT_C)
  129. #define GPIO31_GPIO PIN_CFG(31, GPIO)
  130. #define GPIO31_MC0_DAT6 PIN_CFG(31, ALT_A)
  131. #define GPIO31_SPI3_FRM PIN_CFG(31, ALT_B)
  132. #define GPIO31_U2_CTSn PIN_CFG(31, ALT_C)
  133. #define GPIO32_GPIO PIN_CFG(32, GPIO)
  134. #define GPIO32_MC0_DAT7 PIN_CFG(32, ALT_A)
  135. #define GPIO32_SPI3_TXD PIN_CFG(32, ALT_B)
  136. #define GPIO32_U2_RTSn PIN_CFG(32, ALT_C)
  137. #define GPIO33_GPIO PIN_CFG(33, GPIO)
  138. #define GPIO33_MSP1_TXD PIN_CFG(33, ALT_A)
  139. #define GPIO33_MSP1_RXD PIN_CFG(33, ALT_B)
  140. #define GPIO33_U0_DTRn PIN_CFG(33, ALT_C)
  141. #define GPIO34_GPIO PIN_CFG(34, GPIO)
  142. #define GPIO34_MSP1_TFS PIN_CFG(34, ALT_A)
  143. #define GPIO34_NONE PIN_CFG(34, ALT_B)
  144. #define GPIO34_U0_DCDn PIN_CFG(34, ALT_C)
  145. #define GPIO35_GPIO PIN_CFG(35, GPIO)
  146. #define GPIO35_MSP1_TCK PIN_CFG(35, ALT_A)
  147. #define GPIO35_NONE PIN_CFG(35, ALT_B)
  148. #define GPIO35_U0_DSRn PIN_CFG(35, ALT_C)
  149. #define GPIO36_GPIO PIN_CFG(36, GPIO)
  150. #define GPIO36_MSP1_RXD PIN_CFG(36, ALT_A)
  151. #define GPIO36_MSP1_TXD PIN_CFG(36, ALT_B)
  152. #define GPIO36_U0_RIn PIN_CFG(36, ALT_C)
  153. #define GPIO64_GPIO PIN_CFG(64, GPIO)
  154. #define GPIO64_LCDB_DE PIN_CFG(64, ALT_A)
  155. #define GPIO64_KP_O1 PIN_CFG(64, ALT_B)
  156. #define GPIO64_IP_GPIO4 PIN_CFG(64, ALT_C)
  157. #define GPIO65_GPIO PIN_CFG(65, GPIO)
  158. #define GPIO65_LCDB_HSO PIN_CFG(65, ALT_A)
  159. #define GPIO65_KP_O0 PIN_CFG(65, ALT_B)
  160. #define GPIO65_IP_GPIO5 PIN_CFG(65, ALT_C)
  161. #define GPIO66_GPIO PIN_CFG(66, GPIO)
  162. #define GPIO66_LCDB_VSO PIN_CFG(66, ALT_A)
  163. #define GPIO66_KP_I1 PIN_CFG(66, ALT_B)
  164. #define GPIO66_IP_GPIO6 PIN_CFG(66, ALT_C)
  165. #define GPIO67_GPIO PIN_CFG(67, GPIO)
  166. #define GPIO67_LCDB_CLK PIN_CFG(67, ALT_A)
  167. #define GPIO67_KP_I0 PIN_CFG(67, ALT_B)
  168. #define GPIO67_IP_GPIO7 PIN_CFG(67, ALT_C)
  169. #define GPIO68_GPIO PIN_CFG(68, GPIO)
  170. #define GPIO68_LCD_VSI0 PIN_CFG(68, ALT_A)
  171. #define GPIO68_KP_O7 PIN_CFG(68, ALT_B)
  172. #define GPIO68_SM_CLE PIN_CFG(68, ALT_C)
  173. #define GPIO69_GPIO PIN_CFG(69, GPIO)
  174. #define GPIO69_LCD_VSI1 PIN_CFG(69, ALT_A)
  175. #define GPIO69_KP_I7 PIN_CFG(69, ALT_B)
  176. #define GPIO69_SM_ALE PIN_CFG(69, ALT_C)
  177. #define GPIO70_GPIO PIN_CFG(70, GPIO)
  178. #define GPIO70_LCD_D0 PIN_CFG(70, ALT_A)
  179. #define GPIO70_KP_O5 PIN_CFG(70, ALT_B)
  180. #define GPIO70_STMAPE_CLK PIN_CFG(70, ALT_C)
  181. #define GPIO71_GPIO PIN_CFG(71, GPIO)
  182. #define GPIO71_LCD_D1 PIN_CFG(71, ALT_A)
  183. #define GPIO71_KP_O4 PIN_CFG(71, ALT_B)
  184. #define GPIO71_STMAPE_DAT3 PIN_CFG(71, ALT_C)
  185. #define GPIO72_GPIO PIN_CFG(72, GPIO)
  186. #define GPIO72_LCD_D2 PIN_CFG(72, ALT_A)
  187. #define GPIO72_KP_O3 PIN_CFG(72, ALT_B)
  188. #define GPIO72_STMAPE_DAT2 PIN_CFG(72, ALT_C)
  189. #define GPIO73_GPIO PIN_CFG(73, GPIO)
  190. #define GPIO73_LCD_D3 PIN_CFG(73, ALT_A)
  191. #define GPIO73_KP_O2 PIN_CFG(73, ALT_B)
  192. #define GPIO73_STMAPE_DAT1 PIN_CFG(73, ALT_C)
  193. #define GPIO74_GPIO PIN_CFG(74, GPIO)
  194. #define GPIO74_LCD_D4 PIN_CFG(74, ALT_A)
  195. #define GPIO74_KP_I5 PIN_CFG(74, ALT_B)
  196. #define GPIO74_STMAPE_DAT0 PIN_CFG(74, ALT_C)
  197. #define GPIO75_GPIO PIN_CFG(75, GPIO)
  198. #define GPIO75_LCD_D5 PIN_CFG(75, ALT_A)
  199. #define GPIO75_KP_I4 PIN_CFG(75, ALT_B)
  200. #define GPIO75_U2_RXD PIN_CFG(75, ALT_C)
  201. #define GPIO76_GPIO PIN_CFG(76, GPIO)
  202. #define GPIO76_LCD_D6 PIN_CFG(76, ALT_A)
  203. #define GPIO76_KP_I3 PIN_CFG(76, ALT_B)
  204. #define GPIO76_U2_TXD PIN_CFG(76, ALT_C)
  205. #define GPIO77_GPIO PIN_CFG(77, GPIO)
  206. #define GPIO77_LCD_D7 PIN_CFG(77, ALT_A)
  207. #define GPIO77_KP_I2 PIN_CFG(77, ALT_B)
  208. #define GPIO77_NONE PIN_CFG(77, ALT_C)
  209. #define GPIO78_GPIO PIN_CFG(78, GPIO)
  210. #define GPIO78_LCD_D8 PIN_CFG(78, ALT_A)
  211. #define GPIO78_KP_O6 PIN_CFG(78, ALT_B)
  212. #define GPIO78_IP_GPIO2 PIN_CFG(78, ALT_C)
  213. #define GPIO79_GPIO PIN_CFG(79, GPIO)
  214. #define GPIO79_LCD_D9 PIN_CFG(79, ALT_A)
  215. #define GPIO79_KP_I6 PIN_CFG(79, ALT_B)
  216. #define GPIO79_IP_GPIO3 PIN_CFG(79, ALT_C)
  217. #define GPIO80_GPIO PIN_CFG(80, GPIO)
  218. #define GPIO80_LCD_D10 PIN_CFG(80, ALT_A)
  219. #define GPIO80_KP_SKA0 PIN_CFG(80, ALT_B)
  220. #define GPIO80_IP_GPIO4 PIN_CFG(80, ALT_C)
  221. #define GPIO81_GPIO PIN_CFG(81, GPIO)
  222. #define GPIO81_LCD_D11 PIN_CFG(81, ALT_A)
  223. #define GPIO81_KP_SKB0 PIN_CFG(81, ALT_B)
  224. #define GPIO81_IP_GPIO5 PIN_CFG(81, ALT_C)
  225. #define GPIO82_GPIO PIN_CFG(82, GPIO)
  226. #define GPIO82_LCD_D12 PIN_CFG(82, ALT_A)
  227. #define GPIO82_KP_O5 PIN_CFG(82, ALT_B)
  228. #define GPIO83_GPIO PIN_CFG(83, GPIO)
  229. #define GPIO83_LCD_D13 PIN_CFG(83, ALT_A)
  230. #define GPIO83_KP_O4 PIN_CFG(83, ALT_B)
  231. #define GPIO84_GPIO PIN_CFG(84, GPIO)
  232. #define GPIO84_LCD_D14 PIN_CFG(84, ALT_A)
  233. #define GPIO84_KP_I5 PIN_CFG(84, ALT_B)
  234. #define GPIO85_GPIO PIN_CFG(85, GPIO)
  235. #define GPIO85_LCD_D15 PIN_CFG(85, ALT_A)
  236. #define GPIO85_KP_I4 PIN_CFG(85, ALT_B)
  237. #define GPIO86_GPIO PIN_CFG(86, GPIO)
  238. #define GPIO86_LCD_D16 PIN_CFG(86, ALT_A)
  239. #define GPIO86_SM_ADQ0 PIN_CFG(86, ALT_B)
  240. #define GPIO86_MC5_DAT0 PIN_CFG(86, ALT_C)
  241. #define GPIO87_GPIO PIN_CFG(87, GPIO)
  242. #define GPIO87_LCD_D17 PIN_CFG(87, ALT_A)
  243. #define GPIO87_SM_ADQ1 PIN_CFG(87, ALT_B)
  244. #define GPIO87_MC5_DAT1 PIN_CFG(87, ALT_C)
  245. #define GPIO88_GPIO PIN_CFG(88, GPIO)
  246. #define GPIO88_LCD_D18 PIN_CFG(88, ALT_A)
  247. #define GPIO88_SM_ADQ2 PIN_CFG(88, ALT_B)
  248. #define GPIO88_MC5_DAT2 PIN_CFG(88, ALT_C)
  249. #define GPIO89_GPIO PIN_CFG(89, GPIO)
  250. #define GPIO89_LCD_D19 PIN_CFG(89, ALT_A)
  251. #define GPIO89_SM_ADQ3 PIN_CFG(89, ALT_B)
  252. #define GPIO89_MC5_DAT3 PIN_CFG(89, ALT_C)
  253. #define GPIO90_GPIO PIN_CFG(90, GPIO)
  254. #define GPIO90_LCD_D20 PIN_CFG(90, ALT_A)
  255. #define GPIO90_SM_ADQ4 PIN_CFG(90, ALT_B)
  256. #define GPIO90_MC5_CMD PIN_CFG(90, ALT_C)
  257. #define GPIO91_GPIO PIN_CFG(91, GPIO)
  258. #define GPIO91_LCD_D21 PIN_CFG(91, ALT_A)
  259. #define GPIO91_SM_ADQ5 PIN_CFG(91, ALT_B)
  260. #define GPIO91_MC5_FBCLK PIN_CFG(91, ALT_C)
  261. #define GPIO92_GPIO PIN_CFG(92, GPIO)
  262. #define GPIO92_LCD_D22 PIN_CFG(92, ALT_A)
  263. #define GPIO92_SM_ADQ6 PIN_CFG(92, ALT_B)
  264. #define GPIO92_MC5_CLK PIN_CFG(92, ALT_C)
  265. #define GPIO93_GPIO PIN_CFG(93, GPIO)
  266. #define GPIO93_LCD_D23 PIN_CFG(93, ALT_A)
  267. #define GPIO93_SM_ADQ7 PIN_CFG(93, ALT_B)
  268. #define GPIO93_MC5_DAT4 PIN_CFG(93, ALT_C)
  269. #define GPIO94_GPIO PIN_CFG(94, GPIO)
  270. #define GPIO94_KP_O7 PIN_CFG(94, ALT_A)
  271. #define GPIO94_SM_ADVn PIN_CFG(94, ALT_B)
  272. #define GPIO94_MC5_DAT5 PIN_CFG(94, ALT_C)
  273. #define GPIO95_GPIO PIN_CFG(95, GPIO)
  274. #define GPIO95_KP_I7 PIN_CFG(95, ALT_A)
  275. #define GPIO95_SM_CS0n PIN_CFG(95, ALT_B)
  276. #define GPIO95_SM_PS0n PIN_CFG(95, ALT_C)
  277. #define GPIO96_GPIO PIN_CFG(96, GPIO)
  278. #define GPIO96_KP_O6 PIN_CFG(96, ALT_A)
  279. #define GPIO96_SM_OEn PIN_CFG(96, ALT_B)
  280. #define GPIO96_MC5_DAT6 PIN_CFG(96, ALT_C)
  281. #define GPIO97_GPIO PIN_CFG(97, GPIO)
  282. #define GPIO97_KP_I6 PIN_CFG(97, ALT_A)
  283. #define GPIO97_SM_WEn PIN_CFG(97, ALT_B)
  284. #define GPIO97_MC5_DAT7 PIN_CFG(97, ALT_C)
  285. #define GPIO128_GPIO PIN_CFG(128, GPIO)
  286. #define GPIO128_MC2_CLK PIN_CFG_INPUT(128, ALT_A, PULLUP)
  287. #define GPIO128_SM_CKO PIN_CFG(128, ALT_B)
  288. #define GPIO129_GPIO PIN_CFG(129, GPIO)
  289. #define GPIO129_MC2_CMD PIN_CFG_INPUT(129, ALT_A, PULLUP)
  290. #define GPIO129_SM_WAIT0n PIN_CFG(129, ALT_B)
  291. #define GPIO130_GPIO PIN_CFG(130, GPIO)
  292. #define GPIO130_MC2_FBCLK PIN_CFG_INPUT(130, ALT_A, PULLUP)
  293. #define GPIO130_SM_FBCLK PIN_CFG(130, ALT_B)
  294. #define GPIO130_MC2_RSTN PIN_CFG(130, ALT_C)
  295. #define GPIO131_GPIO PIN_CFG(131, GPIO)
  296. #define GPIO131_MC2_DAT0 PIN_CFG_INPUT(131, ALT_A, PULLUP)
  297. #define GPIO131_SM_ADQ8 PIN_CFG(131, ALT_B)
  298. #define GPIO132_GPIO PIN_CFG(132, GPIO)
  299. #define GPIO132_MC2_DAT1 PIN_CFG_INPUT(132, ALT_A, PULLUP)
  300. #define GPIO132_SM_ADQ9 PIN_CFG(132, ALT_B)
  301. #define GPIO133_GPIO PIN_CFG(133, GPIO)
  302. #define GPIO133_MC2_DAT2 PIN_CFG_INPUT(133, ALT_A, PULLUP)
  303. #define GPIO133_SM_ADQ10 PIN_CFG(133, ALT_B)
  304. #define GPIO134_GPIO PIN_CFG(134, GPIO)
  305. #define GPIO134_MC2_DAT3 PIN_CFG_INPUT(134, ALT_A, PULLUP)
  306. #define GPIO134_SM_ADQ11 PIN_CFG(134, ALT_B)
  307. #define GPIO135_GPIO PIN_CFG(135, GPIO)
  308. #define GPIO135_MC2_DAT4 PIN_CFG_INPUT(135, ALT_A, PULLUP)
  309. #define GPIO135_SM_ADQ12 PIN_CFG(135, ALT_B)
  310. #define GPIO136_GPIO PIN_CFG(136, GPIO)
  311. #define GPIO136_MC2_DAT5 PIN_CFG_INPUT(136, ALT_A, PULLUP)
  312. #define GPIO136_SM_ADQ13 PIN_CFG(136, ALT_B)
  313. #define GPIO137_GPIO PIN_CFG(137, GPIO)
  314. #define GPIO137_MC2_DAT6 PIN_CFG_INPUT(137, ALT_A, PULLUP)
  315. #define GPIO137_SM_ADQ14 PIN_CFG(137, ALT_B)
  316. #define GPIO138_GPIO PIN_CFG(138, GPIO)
  317. #define GPIO138_MC2_DAT7 PIN_CFG_INPUT(138, ALT_A, PULLUP)
  318. #define GPIO138_SM_ADQ15 PIN_CFG(138, ALT_B)
  319. #define GPIO139_GPIO PIN_CFG(139, GPIO)
  320. #define GPIO139_SSP1_RXD PIN_CFG(139, ALT_A)
  321. #define GPIO139_SM_WAIT1n PIN_CFG(139, ALT_B)
  322. #define GPIO139_KP_O8 PIN_CFG(139, ALT_C)
  323. #define GPIO140_GPIO PIN_CFG(140, GPIO)
  324. #define GPIO140_SSP1_TXD PIN_CFG(140, ALT_A)
  325. #define GPIO140_IP_GPIO7 PIN_CFG(140, ALT_B)
  326. #define GPIO140_KP_SKA1 PIN_CFG(140, ALT_C)
  327. #define GPIO141_GPIO PIN_CFG(141, GPIO)
  328. #define GPIO141_SSP1_CLK PIN_CFG(141, ALT_A)
  329. #define GPIO141_IP_GPIO2 PIN_CFG(141, ALT_B)
  330. #define GPIO141_KP_O9 PIN_CFG(141, ALT_C)
  331. #define GPIO142_GPIO PIN_CFG(142, GPIO)
  332. #define GPIO142_SSP1_FRM PIN_CFG(142, ALT_A)
  333. #define GPIO142_IP_GPIO3 PIN_CFG(142, ALT_B)
  334. #define GPIO142_KP_SKB1 PIN_CFG(142, ALT_C)
  335. #define GPIO143_GPIO PIN_CFG(143, GPIO)
  336. #define GPIO143_SSP0_CLK PIN_CFG(143, ALT_A)
  337. #define GPIO144_GPIO PIN_CFG(144, GPIO)
  338. #define GPIO144_SSP0_FRM PIN_CFG(144, ALT_A)
  339. #define GPIO145_GPIO PIN_CFG(145, GPIO)
  340. #define GPIO145_SSP0_RXD PIN_CFG(145, ALT_A)
  341. #define GPIO146_GPIO PIN_CFG(146, GPIO)
  342. #define GPIO146_SSP0_TXD PIN_CFG(146, ALT_A)
  343. #define GPIO147_GPIO PIN_CFG(147, GPIO)
  344. #define GPIO147_I2C0_SCL PIN_CFG(147, ALT_A)
  345. #define GPIO148_GPIO PIN_CFG(148, GPIO)
  346. #define GPIO148_I2C0_SDA PIN_CFG(148, ALT_A)
  347. #define GPIO149_GPIO PIN_CFG(149, GPIO)
  348. #define GPIO149_IP_GPIO0 PIN_CFG(149, ALT_A)
  349. #define GPIO149_SM_CS1n PIN_CFG(149, ALT_B)
  350. #define GPIO149_SM_PS1n PIN_CFG(149, ALT_C)
  351. #define GPIO150_GPIO PIN_CFG(150, GPIO)
  352. #define GPIO150_IP_GPIO1 PIN_CFG(150, ALT_A)
  353. #define GPIO150_LCDA_CLK PIN_CFG(150, ALT_B)
  354. #define GPIO151_GPIO PIN_CFG(151, GPIO)
  355. #define GPIO151_KP_SKA0 PIN_CFG(151, ALT_A)
  356. #define GPIO151_LCD_VSI0 PIN_CFG(151, ALT_B)
  357. #define GPIO151_KP_O8 PIN_CFG(151, ALT_C)
  358. #define GPIO152_GPIO PIN_CFG(152, GPIO)
  359. #define GPIO152_KP_SKB0 PIN_CFG(152, ALT_A)
  360. #define GPIO152_LCD_VSI1 PIN_CFG(152, ALT_B)
  361. #define GPIO152_KP_O9 PIN_CFG(152, ALT_C)
  362. #define GPIO153_GPIO PIN_CFG(153, GPIO)
  363. #define GPIO153_KP_I7 PIN_CFG(153, ALT_A)
  364. #define GPIO153_LCD_D24 PIN_CFG(153, ALT_B)
  365. #define GPIO153_U2_RXD PIN_CFG(153, ALT_C)
  366. #define GPIO154_GPIO PIN_CFG(154, GPIO)
  367. #define GPIO154_KP_I6 PIN_CFG(154, ALT_A)
  368. #define GPIO154_LCD_D25 PIN_CFG(154, ALT_B)
  369. #define GPIO154_U2_TXD PIN_CFG(154, ALT_C)
  370. #define GPIO155_GPIO PIN_CFG(155, GPIO)
  371. #define GPIO155_KP_I5 PIN_CFG(155, ALT_A)
  372. #define GPIO155_LCD_D26 PIN_CFG(155, ALT_B)
  373. #define GPIO155_STMAPE_CLK PIN_CFG(155, ALT_C)
  374. #define GPIO156_GPIO PIN_CFG(156, GPIO)
  375. #define GPIO156_KP_I4 PIN_CFG(156, ALT_A)
  376. #define GPIO156_LCD_D27 PIN_CFG(156, ALT_B)
  377. #define GPIO156_STMAPE_DAT3 PIN_CFG(156, ALT_C)
  378. #define GPIO157_GPIO PIN_CFG(157, GPIO)
  379. #define GPIO157_KP_O7 PIN_CFG(157, ALT_A)
  380. #define GPIO157_LCD_D28 PIN_CFG(157, ALT_B)
  381. #define GPIO157_STMAPE_DAT2 PIN_CFG(157, ALT_C)
  382. #define GPIO158_GPIO PIN_CFG(158, GPIO)