Advertisement
lehjr

(Atrix) gpio-names.h

Feb 18th, 2013
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 13.44 KB | None | 0 0
  1. /*
  2.  * arch/arm/mach-tegra/include/mach/gpio-names.h
  3.  *
  4.  * Copyright (c) 2010 Google, Inc
  5.  *
  6.  * Author:
  7.  *  Erik Gilling <konkers@google.com>
  8.  *
  9.  * This software is licensed under the terms of the GNU General Public
  10.  * License version 2, as published by the Free Software Foundation, and
  11.  * may be copied, distributed, and modified under those terms.
  12.  *
  13.  * This program is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  * GNU General Public License for more details.
  17.  */
  18.  
  19. #ifndef __MACH_TEGRA_GPIO_NAMES_H
  20. #define __MACH_TEGRA_GPIO_NAMES_H
  21.  
  22. /* GPIO1 - PORT-A */
  23. #define TEGRA_GPIO_PA0      0  //(BP/IPC)(OUT) BP_WAKE_AP_UART
  24. #define TEGRA_GPIO_PA1      1  //(UART)(IN) AP_UART3_CTS/BT_RTS
  25. #define TEGRA_GPIO_PA2      2  //(DIGITAL AUDIO)(OUT) AP_DAP2_FS/ASAP_FS
  26. #define TEGRA_GPIO_PA3      3  //(DIGITAL AUDIO)(OUT) AP_DAP2_CLK/ASAP_CLK
  27. #define TEGRA_GPIO_PA4      4  //(DIGITAL AUDIO)(IN)  AP_DAP2_DIN/ASAP_DOUT
  28. #define TEGRA_GPIO_PA5      5  //(DIGITAL AUDIO)(OUT) AP_DAP2_DOUT/ASAP_DIN
  29. #define TEGRA_GPIO_PA6      6  //(MICRO SD CARD)(OUT) AP_SDIO3_CLK/SD_CLK
  30. #define TEGRA_GPIO_PA7      7  //(MICRO SD CARD)(OUT) AP_SDIO3_CMD/SD_CMD
  31.  
  32. /* GPIO1 - PORT-B */
  33. #define TEGRA_GPIO_PB0      8  //(UART)(IN) AP_UART4_RXD/BP_TXD
  34. #define TEGRA_GPIO_PB1      9  //(UART)(IN) AP_UART4_CTS/BP_RTS
  35. #define TEGRA_GPIO_PB2      10 //(SPI)(OUT) AP_SPI3_MOSI/FP_MOSI
  36. #define TEGRA_GPIO_PB3      11 //(UNUSED)(PU)
  37. #define TEGRA_GPIO_PB4      12 //(MICRO SD CARD)(I/O) AP_SDIO3_DATA3/SD_DATA3
  38. #define TEGRA_GPIO_PB5      13 //(MICRO SD CARD)(I/O) AP_SDIO3_DATA2/SD_DATA2
  39. #define TEGRA_GPIO_PB6      14 //(MICRO SD CARD)(I/O) AP_SDIO3_DATA1/SD_DATA1
  40. #define TEGRA_GPIO_PB7      15 //(MICRO SD CARD)(I/O) AP_SDIO3_DATA0/SD_DATA0
  41.  
  42. /* GPIO1 - PORT-C */
  43. #define TEGRA_GPIO_PC0      16 //(UART)(OUT) AP_UART3_RTS/BT_CTS
  44. #define TEGRA_GPIO_PC1      17 //(UNUSED)(PU)
  45. #define TEGRA_GPIO_PC2      18 //(UART)(OUT) AP_DEBUG_UART_TXD
  46. #define TEGRA_GPIO_PC3      19 //(UART)(IN) AP_DEBUG_UART_RXD
  47. #define TEGRA_GPIO_PC4      20 //(I2C)(OUT) GEN1_I2C_SCL
  48. #define TEGRA_GPIO_PC5      21 //(I2C)(I/O) GEN1_I2C_SDA
  49. #define TEGRA_GPIO_PC6      22 //(SPI)(IN) AP_SPI3_MISO/FP_MISO
  50. #define TEGRA_GPIO_PC7      23 //(UNUSED)(WAKE CAPABLE)
  51.  
  52. /* GPIO1 - PORT-D */
  53. #define TEGRA_GPIO_PD0      24 //(MISC)(OUT) VIB_EN
  54. #define TEGRA_GPIO_PD1      25 //(SENSORS)(?) THERM_INT
  55. #define TEGRA_GPIO_PD2      26 //(CAMERA)(OUT) 5MP_RESET_N
  56. #define TEGRA_GPIO_PD3      27 //(UNUSED(PU)
  57. #define TEGRA_GPIO_PD4      28 //(DIGITAL AUDIO)(OUT) SPDIF_OUT
  58. #define TEGRA_GPIO_PD5      29 //(BP/AP)(OUT) AP_STATUS_2
  59. #define TEGRA_GPIO_PD6      30 //(UNUSED)(PD)
  60. #define TEGRA_GPIO_PD7      31 //(UNUSED)(PD)
  61.  
  62. /* GPIO2 - PORT-E */
  63. #define TEGRA_GPIO_PE0      32 //(DISPLAY/HDMI)(OUT) BACKLIGHT_EN
  64. #define TEGRA_GPIO_PE1      33 //(SENSORS)(IN) IR_PROX_INT_N
  65. #define TEGRA_GPIO_PE2      34 //(SENSORS)(IN) DIG_COMP_INT
  66. #define TEGRA_GPIO_PE3      35 //(DISPLAY/HDMI)(OUT) DISP_RESET_N
  67. #define TEGRA_GPIO_PE4      36 //(BP/IPC)(OUT) MODEM_LOG_EN
  68. #define TEGRA_GPIO_PE5      37 //(UNUSED)(PD)
  69. #define TEGRA_GPIO_PE6      38 //(UNUSED)(PD)
  70. #define TEGRA_GPIO_PE7      39 //(UNUSED)(PD)
  71.  
  72. /* GPIO2 - PORT-F */
  73. #define TEGRA_GPIO_PF0      40 //(UNUSED)(PD)
  74. #define TEGRA_GPIO_PF1      41 //(BP/IPC)(OUT) AP_WAKE_BP_UART
  75. #define TEGRA_GPIO_PF2      42 //(BP/IPC)(OUT) AP_SPI1_SRDY
  76. #define TEGRA_GPIO_PF3      43 //(MISC)(OUT) SDIO_REG_EN
  77. #define TEGRA_GPIO_PF4      44 //(SENSORS)(OUT) TOUCH_RESET_N
  78. #define TEGRA_GPIO_PF5      45 //(SENSORS)(IN)  TOUCH_INT_N
  79. #define TEGRA_GPIO_PF6      46 //(DISPLAY/HDMI)(OUT) HDMI_5V_EN
  80. #define TEGRA_GPIO_PF7      47 //(DISPLAY/HDMI)(OUT) DISP_5V_EN
  81.  
  82. /* GPIO2 - PORT-G */
  83. #define TEGRA_GPIO_PG0      48 //(UNUSED)(PU)
  84. #define TEGRA_GPIO_PG1      49 //(UNUSED)(PU)
  85. #define TEGRA_GPIO_PG2      50 //(UNUSED)(PU)
  86. #define TEGRA_GPIO_PG3      51 //(UNUSED)(PU)
  87. #define TEGRA_GPIO_PG4      52 //(RESERVED)RAMCODE0
  88. #define TEGRA_GPIO_PG5      53 //(RESERVED)RAMCODE1
  89. #define TEGRA_GPIO_PG6      54 //(RESERVED)RAMCODE2
  90. #define TEGRA_GPIO_PG7      55 //(RESERVED)RAMCODE3
  91.  
  92. /* GPIO2 - PORT-H */
  93. #define TEGRA_GPIO_PH0      56 //(UNUSED)(PU)
  94. #define TEGRA_GPIO_PH1      57 //(UNUSED)(PU)
  95. #define TEGRA_GPIO_PH2      58 //(UNUSED)(PU)
  96. #define TEGRA_GPIO_PH3      59 //(UNUSED)(PU)
  97. #define TEGRA_GPIO_PH4      60 //AP BOOT SELECTION
  98. #define TEGRA_GPIO_PH5      61 //AP BOOT SELECTION
  99. #define TEGRA_GPIO_PH6      62 //AP BOOT SELECTION
  100. #define TEGRA_GPIO_PH7      63 //AP BOOT SELECTION
  101.  
  102. /* GPIO3 - PORT-I */
  103. #define TEGRA_GPIO_PI0      64 //(UNKNOWN)
  104. #define TEGRA_GPIO_PI1      65 //(EMMC FORCE FLASH)(IN) FORCE_FLASH_MODE_N
  105. #define TEGRA_GPIO_PI2      66 //(EMMC)(?) AP_HSMMC_CLK/EMMC_CLK
  106. #define TEGRA_GPIO_PI3      67 //(UNKNOWN)
  107. #define TEGRA_GPIO_PI4      68 //(UNKNOWN)
  108. #define TEGRA_GPIO_PI5      69 //(MICRO SD CARD)(IN) SD_DETECT
  109. #define TEGRA_GPIO_PI6      70 //(UNKNOWN)
  110. #define TEGRA_GPIO_PI7      71 //(UNUSED)(PU)
  111.  
  112. /* GPIO3 - PORT-J */
  113. #define TEGRA_GPIO_PJ0      72 //(UNUSED)(Z)
  114. #define TEGRA_GPIO_PJ1      73 //(DISPLAY/HDMI)(IN) DISP_TE
  115. #define TEGRA_GPIO_PJ2      74 //(UNUSED)(Z)
  116. #define TEGRA_GPIO_PJ3      75 //(UNUSED)(PU)
  117. #define TEGRA_GPIO_PJ4      76 //(AP DEBUG)(I/O) AP_DEBUG_GPIO1
  118. #define TEGRA_GPIO_PJ5      77 //(UART)(IN) AP_UART1_RXD/CPCAP_TXD
  119. #define TEGRA_GPIO_PJ6      78 //(UART)(OUT) AP_UART1_TXD/CPCAP_RXD
  120. #define TEGRA_GPIO_PJ7      79 //(UART)(OUT) AP_UART4_TXD/BP_RXD
  121.  
  122. /* GPIO3 - PORT-K */
  123. #define TEGRA_GPIO_PK0      80 //(JTAG CONTROL)(OUT) TAG_ARM0
  124. #define TEGRA_GPIO_PK1      81 //(JTAG CONTROL)(OUT) TAG_ARM1
  125. #define TEGRA_GPIO_PK2      82 //(UNUSED)(PU)
  126. #define TEGRA_GPIO_PK3      83 //(UNUSED)(PU)
  127. #define TEGRA_GPIO_PK4      84 //(UNUSED)(PU)
  128. #define TEGRA_GPIO_PK5      85 //(UNUSED)(PU)
  129. #define TEGRA_GPIO_PK6      86 //(UNUSED)(PU)
  130. #define TEGRA_GPIO_PK7      87 //(UART)(OUT) AP_UART4_RTS/BP_CTS
  131.  
  132. /* GPIO23 - PORT-L */
  133. #define TEGRA_GPIO_PL0      88 //(BP/AP)(OUT) AP_STATUS_0
  134. #define TEGRA_GPIO_PL1      89 //(BP/AP)(OUT) AP_SPI1_MRDY
  135. #define TEGRA_GPIO_PL2      90 //(BP/AP)(OUT) AP_SPI3_MRDY
  136. #define TEGRA_GPIO_PL3      91 //(BP/AP)(OUT) AP_STATUS_1
  137. #define TEGRA_GPIO_PL4      92 //(CAMERA)(OUT) VGA_RESET_N
  138. #define TEGRA_GPIO_PL5      93 //(UNUSED)(PD)
  139. #define TEGRA_GPIO_PL6      94 //(UNUSED)(PD)
  140. #define TEGRA_GPIO_PL7      95 //(UNUSED)(PD)
  141.  
  142. /* GPIO4 - PORT-M */
  143. #define TEGRA_GPIO_PM0      96 //(BP/IPC)(IN) BP_STATUS_0
  144. #define TEGRA_GPIO_PM1      97 //(BP/IPC)(IN) BP_STATUS_1
  145. #define TEGRA_GPIO_PM2      98 //(MISC)(OUT)  HS_DET_EN
  146. #define TEGRA_GPIO_PM3      99 //(BP/IPC)(OUT) AP_SPI3_SRDY
  147. #define TEGRA_GPIO_PM4      100 //(AP DEBUG)(I/O) AP_DEBUG_GPIO2
  148. #define TEGRA_GPIO_PM5      101 //(SENSORS)(IN) FINGER_INT
  149. #define TEGRA_GPIO_PM6      102 //(UNUSED)(PD)
  150. #define TEGRA_GPIO_PM7      103 //(UNUSED)(PD)
  151.  
  152. /* GPIO4 - PORT-N */
  153. #define TEGRA_GPIO_PN0      104 //(DIGITAL AUDIO)(OUT) AP_DAP1_FS/MMSAP_FS
  154. #define TEGRA_GPIO_PN1      105 //(DIGITAL AUDIO)(IN)  AP_DAP1_DIN/MMSAP_DOUT
  155. #define TEGRA_GPIO_PN2      106 //(DIGITAL AUDIO)(OUT) AP_DAP1_DOUT/MMSAP_DIN
  156. #define TEGRA_GPIO_PN3      107 //(DIGITAL AUDIO)(OUT) AP_DAP1_CLK/MMSAP_CLK
  157. #define TEGRA_GPIO_PN4      108 //(SPI)(OUT) AP_SPI3_CS2_N
  158. #define TEGRA_GPIO_PN5      109 //(UNUSED)(PU)
  159. #define TEGRA_GPIO_PN6      110 //(UNKNOWN)
  160. #define TEGRA_GPIO_PN7      111 //(MISC)(IN) HDMI_HPD
  161.  
  162. /* GPIO4 - PORT-O */
  163. #define TEGRA_GPIO_PO0      112 //(UNUSED)(PU)
  164. #define TEGRA_GPIO_PO1      113 //(UNUSED)(PU)
  165. #define TEGRA_GPIO_PO2      114 //(UNUSED)(PU)
  166. #define TEGRA_GPIO_PO3      115 //(UNUSED)(PU)
  167. #define TEGRA_GPIO_PO4      116 //(UNUSED)(PU)
  168. #define TEGRA_GPIO_PO5      117 //(UNUSED)(WAKE CAPABLE)
  169. #define TEGRA_GPIO_PO6      118 //(UNUSED)(PU)
  170. #define TEGRA_GPIO_PO7      119 //(UNUSED)(PU)
  171.  
  172. /* GPIO4 - PORT-P */
  173. #define TEGRA_GPIO_PP0      120 //(DIGITAL AUDIO)(OUT) AP_DAP3_FS/BP_FS
  174. #define TEGRA_GPIO_PP1      121 //(DIGITAL AUDIO)(IN)  AP_DAP3_DIN/BP_DOUT
  175. #define TEGRA_GPIO_PP2      122 //(DIGITAL AUDIO)(OUT) AP_DAP3_DOUT/BP_DIN
  176. #define TEGRA_GPIO_PP3      123 //(DIGITAL AUDIO)(OUT) AP_DAP3_CLK/BP_CLK
  177. #define TEGRA_GPIO_PP4      124 //(DIGITAL AUDIO)(IN)  AP_DAP4_DOUT/BT_MMSAP_DIN
  178. #define TEGRA_GPIO_PP5      125 //(DIGITAL AUDIO)(OUT) AP_DAP4_DIN/BT_MMSAP_DOUT
  179. #define TEGRA_GPIO_PP6      126 //(DIGITAL AUDIO)(OUT) AP_DAP4_DOUT/BT_MMSAP_DIN
  180. #define TEGRA_GPIO_PP7      127 //(DIGITAL AUDIO)(OUT) AP_DAP4_CLK/BT_MMSAP_CLK
  181.  
  182. /* GPIO5 - PORT-Q */
  183. #define TEGRA_GPIO_PQ0      128 //(KEYPAD)(IN) KPP_COL_0
  184. #define TEGRA_GPIO_PQ1      129 //(KEYPAD)(IN) KPP_COL_1
  185. #define TEGRA_GPIO_PQ2      130 //(KEYPAD)(IN) KPP_COL_2
  186. #define TEGRA_GPIO_PQ3      131 //(UNUSED)(PU)
  187. #define TEGRA_GPIO_PQ4      132 //(UNUSED)(PU)
  188. #define TEGRA_GPIO_PQ5      133 //(UNUSED)(PU)
  189. #define TEGRA_GPIO_PQ6      134 //(UNKNOWN)
  190. #define TEGRA_GPIO_PQ7      135 //(UNKNOWN)
  191.  
  192. /* GPIO5 - PORT-R */
  193. #define TEGRA_GPIO_PR0      136 //(KEYPAD)(IN) KPP_ROW_0
  194. #define TEGRA_GPIO_PR1      137 //(KEYPAD)(IN) KPP_ROW_1
  195. #define TEGRA_GPIO_PR2      138 //(KEYPAD)(IN) KPP_ROW_2
  196. #define TEGRA_GPIO_PR3      139 //(UNUSED)(PD)
  197. #define TEGRA_GPIO_PR4      140 //(UNUSED)(PD)
  198. #define TEGRA_GPIO_PR5      141 //(UNUSED)(PD)
  199. #define TEGRA_GPIO_PR6      142 //(UNUSED)(PD)
  200. #define TEGRA_GPIO_PR7      143 //(UNUSED)(PD)
  201.  
  202. /* GPIO5 - PORT-S */
  203. #define TEGRA_GPIO_PS0      144 //(SENSORS)(IN) DOCKED_SOUTH_N
  204. #define TEGRA_GPIO_PS1      145 //(UNKNOWN) **DISP_5V_EN WAS ON GPIO_PS1
  205. #define TEGRA_GPIO_PS2      146 //(SENSORS)(IN) DOCKED_NORTH_N
  206. #define TEGRA_GPIO_PS3      147 //(UNKNOWN)
  207. #define TEGRA_GPIO_PS4      148 //(UNKNOWN)
  208. #define TEGRA_GPIO_PS5      149 //(UNKNOWN)
  209. #define TEGRA_GPIO_PS6      150 //(UNKNOWN)
  210. #define TEGRA_GPIO_PS7      151 //(UNKNOWN)
  211.  
  212. /* GPIO5 - PORT-T */
  213. #define TEGRA_GPIO_PT0      152 //(BP/IPC)(IN) BP_STATUS_2
  214. #define TEGRA_GPIO_PT1      153 //(CAMERA)(OUT) CAM_MCLK
  215. #define TEGRA_GPIO_PT2      154 //(UNUSED)(PD)
  216. #define TEGRA_GPIO_PT3      155 //(CAMERA)(OUT) FLASH_RESET_N
  217. #define TEGRA_GPIO_PT4      156 //(UNUSED)(PD)
  218. #define TEGRA_GPIO_PT5      157 //(UNUSED)(PU)
  219. #define TEGRA_GPIO_PT6      158 //(UNUSED)(PU)
  220. #define TEGRA_GPIO_PT7      159 //(EMMC)(?) AP_HSMMC_CMD/EMMC_CMD
  221.  
  222. /* GPIO6 - PORT-U */
  223. #define TEGRA_GPIO_PU0      160 //(BT/WLAN)(OUT) BT_RESET_N
  224. #define TEGRA_GPIO_PU1      161 //(BT/WLAN)(OUT) BT_WAKE_N
  225. #define TEGRA_GPIO_PU2      162 //(BT/WLAN)(OUT) WLAN_RESET_N
  226. #define TEGRA_GPIO_PU3      163 //(BT/WLAN)(OUT) WLAN_SHUTDOWN_N
  227. #define TEGRA_GPIO_PU4      164 //(BT/WLAN)(OUT) BT_SHUTDOWN_N
  228. #define TEGRA_GPIO_PU5      165 //(BT/WLAN)(IN)  WLAN_HOST_WAKE
  229. #define TEGRA_GPIO_PU6      166 //(BT/WLAN)(IN)  BT_HOST_WAKE_N
  230. #define TEGRA_GPIO_PU7      167 //(MISC)(IN) AP_JTAG_RTCK
  231.  
  232. /* GPIO6 - PORT-V */
  233. #define TEGRA_GPIO_PV0      168 //(BP/IPC)(OUT) BP_PWRON
  234. #define TEGRA_GPIO_PV1      169 //(BP/IPC)(OUT) AP_TO_BP_PSHOLD
  235. #define TEGRA_GPIO_PV2      170 //(BP/IPC)(IN)  BP_RESOUT_N
  236. #define TEGRA_GPIO_PV3      171 //(SENSORS)(IN) ACCEL_INT
  237. #define TEGRA_GPIO_PV4      172 //(UNKNOWN)
  238. #define TEGRA_GPIO_PV5      173 //(UNKNOWN)
  239. #define TEGRA_GPIO_PV6      174 //(BP/IPC)(OUT) USB_DATA_EN
  240. #define TEGRA_GPIO_PV7      175 //(MISC)(OUT) WDI_AP20
  241.  
  242. /* GPIO6 - PORT-W */
  243. #define TEGRA_GPIO_PW0      176 //(SPI)(OUT)AP_SPI3_CS3_N/FP_CS3_N
  244. #define TEGRA_GPIO_PW1      177 //(UNUSED)(PU)
  245. #define TEGRA_GPIO_PW2      178 //(SPI)(OUT) AP_SPI2_CS1_N/CPCAP_CS1_N
  246. #define TEGRA_GPIO_PW3      179 //(SPI)(OUT) AP_SPI2_CS2_N
  247. #define TEGRA_GPIO_PW4      180 //(AP 26MHZ FILTER)(OUT) AP_26MHZ_CLK
  248. #define TEGRA_GPIO_PW5      181 //(UNUSED)(PD)
  249. #define TEGRA_GPIO_PW6      182 //(UART)(OUT) AP_UART3_TXD/BT_RXD
  250. #define TEGRA_GPIO_PW7      183 //(UART)(IN)  AP_UART3_RXD/BT_TXD
  251.  
  252. /* GPIO6 - PORT-X */
  253. #define TEGRA_GPIO_PX0      184 //(SPI)(OUT) AP_SPI2_MOSI/CPCAP_MOSI
  254. #define TEGRA_GPIO_PX1      185 //(SPI)(IN)  AP_SPI2_MISO/CPCAP_MISO
  255. #define TEGRA_GPIO_PX2      186 //(SPI)(OUT) AP_SPI2_CLK/CPCAP_CLK
  256. #define TEGRA_GPIO_PX3      187 //(SPI)(OUT) AP_SPI2_CS0_N/CPCAP_CS0_N
  257. #define TEGRA_GPIO_PX4      188 //(SPI)(OUT) AP_SPI1_MOSI/BP_MOSI
  258. #define TEGRA_GPIO_PX5      189 //(SPI)(OUT) AP_SPI1_CLK/BP_CLK
  259. #define TEGRA_GPIO_PX6      190 //(SPI)(OUT) AP_SPI1_CS0_N/BP_CS0_N
  260. #define TEGRA_GPIO_PX7      191 //(SPI)(IN)  AP_SPI1_MISO/BP_MISO
  261.  
  262. /* GPIO7 - PORT-Y */
  263. #define TEGRA_GPIO_PY0      192 //(UNUSED)(Z)
  264. #define TEGRA_GPIO_PY1      193 //(UNUSED)(Z)
  265. #define TEGRA_GPIO_PY2      194 //(UNUSED)(Z)
  266. #define TEGRA_GPIO_PY3      195 //(UNUSED)(Z)
  267. #define TEGRA_GPIO_PY4      196 //(WLAN)(I/O) AP_SDIO1_DATA3/WLAN_DATA3
  268. #define TEGRA_GPIO_PY5      197 //(WLAN)(I/O) AP_SDIO1_DATA2/WLAN_DATA2
  269. #define TEGRA_GPIO_PY6      198 //(WLAN)(I/O) AP_SDIO1_DATA1/WLAN_DATA1
  270. #define TEGRA_GPIO_PY7      199 //(WLAN)(I/O) AP_SDIO1_DATA0/WLAN_DATA0
  271.  
  272. /* GPIO7 - PORT-Z */
  273. #define TEGRA_GPIO_PZ0      200 //(WLAN)(OUT) AP_SDIO1_CLK/WLAN_CLK
  274. #define TEGRA_GPIO_PZ1      201 //(WLAN)(OUT) AP_SDIO1_CMD/WLAN_CMD
  275. #define TEGRA_GPIO_PZ2      202 //(MISC)(OUT) SYS_RESTART_B
  276. #define TEGRA_GPIO_PZ3      203 //(SPI)(OUT) AP_SPI3_CLK/FP_CLK
  277. #define TEGRA_GPIO_PZ4      204 //(SENSORS)(OUT) AP_PROX_STATUS
  278. #define TEGRA_GPIO_PZ5      205 //(UNUSED)(Z) | SYS_CLK_REQ_GPIO_PZ5
  279. #define TEGRA_GPIO_PZ6      206 //(I2C)(OUT) SENSOR_I2C_SCL
  280. #define TEGRA_GPIO_PZ7      207 //(I2C)(I/O) SENSOR_I2C_SDA
  281.  
  282. /* GPIO7 - PORT-AA */
  283. #define TEGRA_GPIO_PAA0     208 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA0
  284. #define TEGRA_GPIO_PAA1     209 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA1
  285. #define TEGRA_GPIO_PAA2     210 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA2
  286. #define TEGRA_GPIO_PAA3     211 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA3
  287. #define TEGRA_GPIO_PAA4     212 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA4
  288. #define TEGRA_GPIO_PAA5     213 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA5
  289. #define TEGRA_GPIO_PAA6     214 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA6
  290. #define TEGRA_GPIO_PAA7     215 //(EMMC)(?) AP_HSMMC_DATA/EMMC_DATA7
  291.  
  292. /* GPIO7 - PORT-BB */
  293. #define TEGRA_GPIO_PBB0     216 //(UNKNOWN) | CLK_32K_OUT_GPIO_PBB0
  294. #define TEGRA_GPIO_PBB1     217 //(CAMERA)(OUT) 5MP_PWRDN
  295. #define TEGRA_GPIO_PBB2     218 //(I2C)(OUT) CAM_I2C_SCL
  296. #define TEGRA_GPIO_PBB3     219 //(I2C)(I/O) CAM_I2C_SDA
  297. #define TEGRA_GPIO_PBB4     220 //(CAMERA)(OUT) FLASH_STROBE
  298. #define TEGRA_GPIO_PBB5     221 //(CAMERA)(OUT) VGA_PWRDN
  299. #define TEGRA_GPIO_PBB6     222 //(UNKNOWN)
  300. #define TEGRA_GPIO_PBB7     223 //(UNKNOWN)
  301.  
  302. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement