Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 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 | |
| 8 | #ifndef __MACH_PINS_DB8500_H |
| 9 | #define __MACH_PINS_DB8500_H |
| 10 | |
| 11 | /* |
| 12 | * TODO: Eventually encode all non-board specific pull up/down configuration |
| 13 | * here. |
| 14 | */ |
| 15 | |
| 16 | #define GPIO0_GPIO PIN_CFG(0, GPIO) |
| 17 | #define GPIO0_U0_CTSn PIN_CFG(0, ALT_A) |
| 18 | #define GPIO0_TRIG_OUT PIN_CFG(0, ALT_B) |
| 19 | #define GPIO0_IP_TDO PIN_CFG(0, ALT_C) |
| 20 | |
| 21 | #define GPIO1_GPIO PIN_CFG(1, GPIO) |
| 22 | #define GPIO1_U0_RTSn PIN_CFG(1, ALT_A) |
| 23 | #define GPIO1_TRIG_IN PIN_CFG(1, ALT_B) |
| 24 | #define GPIO1_IP_TDI PIN_CFG(1, ALT_C) |
| 25 | |
| 26 | #define GPIO2_GPIO PIN_CFG(2, GPIO) |
| 27 | #define GPIO2_U0_RXD PIN_CFG(2, ALT_A) |
| 28 | #define GPIO2_NONE PIN_CFG(2, ALT_B) |
| 29 | #define GPIO2_IP_TMS PIN_CFG(2, ALT_C) |
| 30 | |
| 31 | #define GPIO3_GPIO PIN_CFG(3, GPIO) |
| 32 | #define GPIO3_U0_TXD PIN_CFG(3, ALT_A) |
| 33 | #define GPIO3_NONE PIN_CFG(3, ALT_B) |
| 34 | #define GPIO3_IP_TCK PIN_CFG(3, ALT_C) |
| 35 | |
| 36 | #define GPIO4_GPIO PIN_CFG(4, GPIO) |
| 37 | #define GPIO4_U1_RXD PIN_CFG(4, ALT_A) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 38 | #define GPIO4_I2C4_SCL PIN_CFG_INPUT(4, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 39 | #define GPIO4_IP_TRSTn PIN_CFG(4, ALT_C) |
| 40 | |
| 41 | #define GPIO5_GPIO PIN_CFG(5, GPIO) |
| 42 | #define GPIO5_U1_TXD PIN_CFG(5, ALT_A) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 43 | #define GPIO5_I2C4_SDA PIN_CFG_INPUT(5, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 44 | #define GPIO5_IP_GPIO6 PIN_CFG(5, ALT_C) |
| 45 | |
| 46 | #define GPIO6_GPIO PIN_CFG(6, GPIO) |
| 47 | #define GPIO6_U1_CTSn PIN_CFG(6, ALT_A) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 48 | #define GPIO6_I2C1_SCL PIN_CFG_INPUT(6, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 49 | #define GPIO6_IP_GPIO0 PIN_CFG(6, ALT_C) |
| 50 | |
| 51 | #define GPIO7_GPIO PIN_CFG(7, GPIO) |
| 52 | #define GPIO7_U1_RTSn PIN_CFG(7, ALT_A) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 53 | #define GPIO7_I2C1_SDA PIN_CFG_INPUT(7, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 54 | #define GPIO7_IP_GPIO1 PIN_CFG(7, ALT_C) |
| 55 | |
| 56 | #define GPIO8_GPIO PIN_CFG(8, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 57 | #define GPIO8_IPI2C_SDA PIN_CFG_INPUT(8, ALT_A, PULLUP) |
| 58 | #define GPIO8_I2C2_SDA PIN_CFG_INPUT(8, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 59 | |
| 60 | #define GPIO9_GPIO PIN_CFG(9, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 61 | #define GPIO9_IPI2C_SCL PIN_CFG_INPUT(9, ALT_A, PULLUP) |
| 62 | #define GPIO9_I2C2_SCL PIN_CFG_INPUT(9, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 63 | |
| 64 | #define GPIO10_GPIO PIN_CFG(10, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 65 | #define GPIO10_IPI2C_SDA PIN_CFG_INPUT(10, ALT_A, PULLUP) |
| 66 | #define GPIO10_I2C2_SDA PIN_CFG_INPUT(10, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 67 | #define GPIO10_IP_GPIO3 PIN_CFG(10, ALT_C) |
| 68 | |
| 69 | #define GPIO11_GPIO PIN_CFG(11, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 70 | #define GPIO11_IPI2C_SCL PIN_CFG_INPUT(11, ALT_A, PULLUP) |
| 71 | #define GPIO11_I2C2_SCL PIN_CFG_INPUT(11, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 72 | #define GPIO11_IP_GPIO2 PIN_CFG(11, ALT_C) |
| 73 | |
| 74 | #define GPIO12_GPIO PIN_CFG(12, GPIO) |
| 75 | #define GPIO12_MSP0_TXD PIN_CFG(12, ALT_A) |
| 76 | #define GPIO12_MSP0_RXD PIN_CFG(12, ALT_B) |
| 77 | |
| 78 | #define GPIO13_GPIO PIN_CFG(13, GPIO) |
| 79 | #define GPIO13_MSP0_TFS PIN_CFG(13, ALT_A) |
| 80 | |
| 81 | #define GPIO14_GPIO PIN_CFG(14, GPIO) |
| 82 | #define GPIO14_MSP0_TCK PIN_CFG(14, ALT_A) |
| 83 | |
| 84 | #define GPIO15_GPIO PIN_CFG(15, GPIO) |
| 85 | #define GPIO15_MSP0_RXD PIN_CFG(15, ALT_A) |
| 86 | #define GPIO15_MSP0_TXD PIN_CFG(15, ALT_B) |
| 87 | |
| 88 | #define GPIO16_GPIO PIN_CFG(16, GPIO) |
| 89 | #define GPIO16_MSP0_RFS PIN_CFG(16, ALT_A) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 90 | #define GPIO16_I2C1_SCL PIN_CFG_INPUT(16, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 91 | #define GPIO16_SLIM0_DAT PIN_CFG(16, ALT_C) |
| 92 | |
| 93 | #define GPIO17_GPIO PIN_CFG(17, GPIO) |
| 94 | #define GPIO17_MSP0_RCK PIN_CFG(17, ALT_A) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 95 | #define GPIO17_I2C1_SDA PIN_CFG_INPUT(17, ALT_B, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 96 | #define GPIO17_SLIM0_CLK PIN_CFG(17, ALT_C) |
| 97 | |
| 98 | #define GPIO18_GPIO PIN_CFG(18, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 99 | #define GPIO18_MC0_CMDDIR PIN_CFG_INPUT(18, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 100 | #define GPIO18_U2_RXD PIN_CFG(18, ALT_B) |
| 101 | #define GPIO18_MS_IEP PIN_CFG(18, ALT_C) |
| 102 | |
| 103 | #define GPIO19_GPIO PIN_CFG(19, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 104 | #define GPIO19_MC0_DAT0DIR PIN_CFG_INPUT(19, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 105 | #define GPIO19_U2_TXD PIN_CFG(19, ALT_B) |
| 106 | #define GPIO19_MS_DAT0DIR PIN_CFG(19, ALT_C) |
| 107 | |
| 108 | #define GPIO20_GPIO PIN_CFG(20, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 109 | #define GPIO20_MC0_DAT2DIR PIN_CFG_INPUT(20, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 110 | #define GPIO20_UARTMOD_TXD PIN_CFG(20, ALT_B) |
| 111 | #define GPIO20_IP_TRIGOUT PIN_CFG(20, ALT_C) |
| 112 | |
| 113 | #define GPIO21_GPIO PIN_CFG(21, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 114 | #define GPIO21_MC0_DAT31DIR PIN_CFG_INPUT(21, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 115 | #define GPIO21_MSP0_SCK PIN_CFG(21, ALT_B) |
| 116 | #define GPIO21_MS_DAT31DIR PIN_CFG(21, ALT_C) |
| 117 | |
| 118 | #define GPIO22_GPIO PIN_CFG(22, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 119 | #define GPIO22_MC0_FBCLK PIN_CFG_INPUT(22, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 120 | #define GPIO22_UARTMOD_RXD PIN_CFG(22, ALT_B) |
| 121 | #define GPIO22_MS_FBCLK PIN_CFG(22, ALT_C) |
| 122 | |
| 123 | #define GPIO23_GPIO PIN_CFG(23, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 124 | #define GPIO23_MC0_CLK PIN_CFG_INPUT(23, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 125 | #define GPIO23_STMMOD_CLK PIN_CFG(23, ALT_B) |
| 126 | #define GPIO23_MS_CLK PIN_CFG(23, ALT_C) |
| 127 | |
| 128 | #define GPIO24_GPIO PIN_CFG(24, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 129 | #define GPIO24_MC0_CMD PIN_CFG_INPUT(24, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 130 | #define GPIO24_UARTMOD_RXD PIN_CFG(24, ALT_B) |
| 131 | #define GPIO24_MS_BS PIN_CFG(24, ALT_C) |
| 132 | |
| 133 | #define GPIO25_GPIO PIN_CFG(25, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 134 | #define GPIO25_MC0_DAT0 PIN_CFG_INPUT(25, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 135 | #define GPIO25_STMMOD_DAT0 PIN_CFG(25, ALT_B) |
| 136 | #define GPIO25_MS_DAT0 PIN_CFG(25, ALT_C) |
| 137 | |
| 138 | #define GPIO26_GPIO PIN_CFG(26, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 139 | #define GPIO26_MC0_DAT1 PIN_CFG_INPUT(26, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 140 | #define GPIO26_STMMOD_DAT1 PIN_CFG(26, ALT_B) |
| 141 | #define GPIO26_MS_DAT1 PIN_CFG(26, ALT_C) |
| 142 | |
| 143 | #define GPIO27_GPIO PIN_CFG(27, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 144 | #define GPIO27_MC0_DAT2 PIN_CFG_INPUT(27, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 145 | #define GPIO27_STMMOD_DAT2 PIN_CFG(27, ALT_B) |
| 146 | #define GPIO27_MS_DAT2 PIN_CFG(27, ALT_C) |
| 147 | |
| 148 | #define GPIO28_GPIO PIN_CFG(28, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 149 | #define GPIO28_MC0_DAT3 PIN_CFG_INPUT(28, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 150 | #define GPIO28_STMMOD_DAT3 PIN_CFG(28, ALT_B) |
| 151 | #define GPIO28_MS_DAT3 PIN_CFG(28, ALT_C) |
| 152 | |
| 153 | #define GPIO29_GPIO PIN_CFG(29, GPIO) |
| 154 | #define GPIO29_MC0_DAT4 PIN_CFG(29, ALT_A) |
| 155 | #define GPIO29_SPI3_CLK PIN_CFG(29, ALT_B) |
| 156 | #define GPIO29_U2_RXD PIN_CFG(29, ALT_C) |
| 157 | |
| 158 | #define GPIO30_GPIO PIN_CFG(30, GPIO) |
| 159 | #define GPIO30_MC0_DAT5 PIN_CFG(30, ALT_A) |
| 160 | #define GPIO30_SPI3_RXD PIN_CFG(30, ALT_B) |
| 161 | #define GPIO30_U2_TXD PIN_CFG(30, ALT_C) |
| 162 | |
| 163 | #define GPIO31_GPIO PIN_CFG(31, GPIO) |
| 164 | #define GPIO31_MC0_DAT6 PIN_CFG(31, ALT_A) |
| 165 | #define GPIO31_SPI3_FRM PIN_CFG(31, ALT_B) |
| 166 | #define GPIO31_U2_CTSn PIN_CFG(31, ALT_C) |
| 167 | |
| 168 | #define GPIO32_GPIO PIN_CFG(32, GPIO) |
| 169 | #define GPIO32_MC0_DAT7 PIN_CFG(32, ALT_A) |
| 170 | #define GPIO32_SPI3_TXD PIN_CFG(32, ALT_B) |
| 171 | #define GPIO32_U2_RTSn PIN_CFG(32, ALT_C) |
| 172 | |
| 173 | #define GPIO33_GPIO PIN_CFG(33, GPIO) |
| 174 | #define GPIO33_MSP1_TXD PIN_CFG(33, ALT_A) |
| 175 | #define GPIO33_MSP1_RXD PIN_CFG(33, ALT_B) |
| 176 | #define GPIO33_U0_DTRn PIN_CFG(33, ALT_C) |
| 177 | |
| 178 | #define GPIO34_GPIO PIN_CFG(34, GPIO) |
| 179 | #define GPIO34_MSP1_TFS PIN_CFG(34, ALT_A) |
| 180 | #define GPIO34_NONE PIN_CFG(34, ALT_B) |
| 181 | #define GPIO34_U0_DCDn PIN_CFG(34, ALT_C) |
| 182 | |
| 183 | #define GPIO35_GPIO PIN_CFG(35, GPIO) |
| 184 | #define GPIO35_MSP1_TCK PIN_CFG(35, ALT_A) |
| 185 | #define GPIO35_NONE PIN_CFG(35, ALT_B) |
| 186 | #define GPIO35_U0_DSRn PIN_CFG(35, ALT_C) |
| 187 | |
| 188 | #define GPIO36_GPIO PIN_CFG(36, GPIO) |
| 189 | #define GPIO36_MSP1_RXD PIN_CFG(36, ALT_A) |
| 190 | #define GPIO36_MSP1_TXD PIN_CFG(36, ALT_B) |
| 191 | #define GPIO36_U0_RIn PIN_CFG(36, ALT_C) |
| 192 | |
| 193 | #define GPIO64_GPIO PIN_CFG(64, GPIO) |
| 194 | #define GPIO64_LCDB_DE PIN_CFG(64, ALT_A) |
| 195 | #define GPIO64_KP_O1 PIN_CFG(64, ALT_B) |
| 196 | #define GPIO64_IP_GPIO4 PIN_CFG(64, ALT_C) |
| 197 | |
| 198 | #define GPIO65_GPIO PIN_CFG(65, GPIO) |
| 199 | #define GPIO65_LCDB_HSO PIN_CFG(65, ALT_A) |
| 200 | #define GPIO65_KP_O0 PIN_CFG(65, ALT_B) |
| 201 | #define GPIO65_IP_GPIO5 PIN_CFG(65, ALT_C) |
| 202 | |
| 203 | #define GPIO66_GPIO PIN_CFG(66, GPIO) |
| 204 | #define GPIO66_LCDB_VSO PIN_CFG(66, ALT_A) |
| 205 | #define GPIO66_KP_I1 PIN_CFG(66, ALT_B) |
| 206 | #define GPIO66_IP_GPIO6 PIN_CFG(66, ALT_C) |
| 207 | |
| 208 | #define GPIO67_GPIO PIN_CFG(67, GPIO) |
| 209 | #define GPIO67_LCDB_CLK PIN_CFG(67, ALT_A) |
| 210 | #define GPIO67_KP_I0 PIN_CFG(67, ALT_B) |
| 211 | #define GPIO67_IP_GPIO7 PIN_CFG(67, ALT_C) |
| 212 | |
| 213 | #define GPIO68_GPIO PIN_CFG(68, GPIO) |
| 214 | #define GPIO68_LCD_VSI0 PIN_CFG(68, ALT_A) |
| 215 | #define GPIO68_KP_O7 PIN_CFG(68, ALT_B) |
| 216 | #define GPIO68_SM_CLE PIN_CFG(68, ALT_C) |
| 217 | |
| 218 | #define GPIO69_GPIO PIN_CFG(69, GPIO) |
| 219 | #define GPIO69_LCD_VSI1 PIN_CFG(69, ALT_A) |
| 220 | #define GPIO69_KP_I7 PIN_CFG(69, ALT_B) |
| 221 | #define GPIO69_SM_ALE PIN_CFG(69, ALT_C) |
| 222 | |
| 223 | #define GPIO70_GPIO PIN_CFG(70, GPIO) |
| 224 | #define GPIO70_LCD_D0 PIN_CFG(70, ALT_A) |
| 225 | #define GPIO70_KP_O5 PIN_CFG(70, ALT_B) |
| 226 | #define GPIO70_STMAPE_CLK PIN_CFG(70, ALT_C) |
| 227 | |
| 228 | #define GPIO71_GPIO PIN_CFG(71, GPIO) |
| 229 | #define GPIO71_LCD_D1 PIN_CFG(71, ALT_A) |
| 230 | #define GPIO71_KP_O4 PIN_CFG(71, ALT_B) |
| 231 | #define GPIO71_STMAPE_DAT3 PIN_CFG(71, ALT_C) |
| 232 | |
| 233 | #define GPIO72_GPIO PIN_CFG(72, GPIO) |
| 234 | #define GPIO72_LCD_D2 PIN_CFG(72, ALT_A) |
| 235 | #define GPIO72_KP_O3 PIN_CFG(72, ALT_B) |
| 236 | #define GPIO72_STMAPE_DAT2 PIN_CFG(72, ALT_C) |
| 237 | |
| 238 | #define GPIO73_GPIO PIN_CFG(73, GPIO) |
| 239 | #define GPIO73_LCD_D3 PIN_CFG(73, ALT_A) |
| 240 | #define GPIO73_KP_O2 PIN_CFG(73, ALT_B) |
| 241 | #define GPIO73_STMAPE_DAT1 PIN_CFG(73, ALT_C) |
| 242 | |
| 243 | #define GPIO74_GPIO PIN_CFG(74, GPIO) |
| 244 | #define GPIO74_LCD_D4 PIN_CFG(74, ALT_A) |
| 245 | #define GPIO74_KP_I5 PIN_CFG(74, ALT_B) |
| 246 | #define GPIO74_STMAPE_DAT0 PIN_CFG(74, ALT_C) |
| 247 | |
| 248 | #define GPIO75_GPIO PIN_CFG(75, GPIO) |
| 249 | #define GPIO75_LCD_D5 PIN_CFG(75, ALT_A) |
| 250 | #define GPIO75_KP_I4 PIN_CFG(75, ALT_B) |
| 251 | #define GPIO75_U2_RXD PIN_CFG(75, ALT_C) |
| 252 | |
| 253 | #define GPIO76_GPIO PIN_CFG(76, GPIO) |
| 254 | #define GPIO76_LCD_D6 PIN_CFG(76, ALT_A) |
| 255 | #define GPIO76_KP_I3 PIN_CFG(76, ALT_B) |
| 256 | #define GPIO76_U2_TXD PIN_CFG(76, ALT_C) |
| 257 | |
| 258 | #define GPIO77_GPIO PIN_CFG(77, GPIO) |
| 259 | #define GPIO77_LCD_D7 PIN_CFG(77, ALT_A) |
| 260 | #define GPIO77_KP_I2 PIN_CFG(77, ALT_B) |
| 261 | #define GPIO77_NONE PIN_CFG(77, ALT_C) |
| 262 | |
| 263 | #define GPIO78_GPIO PIN_CFG(78, GPIO) |
| 264 | #define GPIO78_LCD_D8 PIN_CFG(78, ALT_A) |
| 265 | #define GPIO78_KP_O6 PIN_CFG(78, ALT_B) |
| 266 | #define GPIO78_IP_GPIO2 PIN_CFG(78, ALT_C) |
| 267 | |
| 268 | #define GPIO79_GPIO PIN_CFG(79, GPIO) |
| 269 | #define GPIO79_LCD_D9 PIN_CFG(79, ALT_A) |
| 270 | #define GPIO79_KP_I6 PIN_CFG(79, ALT_B) |
| 271 | #define GPIO79_IP_GPIO3 PIN_CFG(79, ALT_C) |
| 272 | |
| 273 | #define GPIO80_GPIO PIN_CFG(80, GPIO) |
| 274 | #define GPIO80_LCD_D10 PIN_CFG(80, ALT_A) |
| 275 | #define GPIO80_KP_SKA0 PIN_CFG(80, ALT_B) |
| 276 | #define GPIO80_IP_GPIO4 PIN_CFG(80, ALT_C) |
| 277 | |
| 278 | #define GPIO81_GPIO PIN_CFG(81, GPIO) |
| 279 | #define GPIO81_LCD_D11 PIN_CFG(81, ALT_A) |
| 280 | #define GPIO81_KP_SKB0 PIN_CFG(81, ALT_B) |
| 281 | #define GPIO81_IP_GPIO5 PIN_CFG(81, ALT_C) |
| 282 | |
| 283 | #define GPIO82_GPIO PIN_CFG(82, GPIO) |
| 284 | #define GPIO82_LCD_D12 PIN_CFG(82, ALT_A) |
| 285 | #define GPIO82_KP_O5 PIN_CFG(82, ALT_B) |
| 286 | |
| 287 | #define GPIO83_GPIO PIN_CFG(83, GPIO) |
| 288 | #define GPIO83_LCD_D13 PIN_CFG(83, ALT_A) |
| 289 | #define GPIO83_KP_O4 PIN_CFG(83, ALT_B) |
| 290 | |
| 291 | #define GPIO84_GPIO PIN_CFG(84, GPIO) |
| 292 | #define GPIO84_LCD_D14 PIN_CFG(84, ALT_A) |
| 293 | #define GPIO84_KP_I5 PIN_CFG(84, ALT_B) |
| 294 | |
| 295 | #define GPIO85_GPIO PIN_CFG(85, GPIO) |
| 296 | #define GPIO85_LCD_D15 PIN_CFG(85, ALT_A) |
| 297 | #define GPIO85_KP_I4 PIN_CFG(85, ALT_B) |
| 298 | |
| 299 | #define GPIO86_GPIO PIN_CFG(86, GPIO) |
| 300 | #define GPIO86_LCD_D16 PIN_CFG(86, ALT_A) |
| 301 | #define GPIO86_SM_ADQ0 PIN_CFG(86, ALT_B) |
| 302 | #define GPIO86_MC5_DAT0 PIN_CFG(86, ALT_C) |
| 303 | |
| 304 | #define GPIO87_GPIO PIN_CFG(87, GPIO) |
| 305 | #define GPIO87_LCD_D17 PIN_CFG(87, ALT_A) |
| 306 | #define GPIO87_SM_ADQ1 PIN_CFG(87, ALT_B) |
| 307 | #define GPIO87_MC5_DAT1 PIN_CFG(87, ALT_C) |
| 308 | |
| 309 | #define GPIO88_GPIO PIN_CFG(88, GPIO) |
| 310 | #define GPIO88_LCD_D18 PIN_CFG(88, ALT_A) |
| 311 | #define GPIO88_SM_ADQ2 PIN_CFG(88, ALT_B) |
| 312 | #define GPIO88_MC5_DAT2 PIN_CFG(88, ALT_C) |
| 313 | |
| 314 | #define GPIO89_GPIO PIN_CFG(89, GPIO) |
| 315 | #define GPIO89_LCD_D19 PIN_CFG(89, ALT_A) |
| 316 | #define GPIO89_SM_ADQ3 PIN_CFG(89, ALT_B) |
| 317 | #define GPIO89_MC5_DAT3 PIN_CFG(89, ALT_C) |
| 318 | |
| 319 | #define GPIO90_GPIO PIN_CFG(90, GPIO) |
| 320 | #define GPIO90_LCD_D20 PIN_CFG(90, ALT_A) |
| 321 | #define GPIO90_SM_ADQ4 PIN_CFG(90, ALT_B) |
| 322 | #define GPIO90_MC5_CMD PIN_CFG(90, ALT_C) |
| 323 | |
| 324 | #define GPIO91_GPIO PIN_CFG(91, GPIO) |
| 325 | #define GPIO91_LCD_D21 PIN_CFG(91, ALT_A) |
| 326 | #define GPIO91_SM_ADQ5 PIN_CFG(91, ALT_B) |
| 327 | #define GPIO91_MC5_FBCLK PIN_CFG(91, ALT_C) |
| 328 | |
| 329 | #define GPIO92_GPIO PIN_CFG(92, GPIO) |
| 330 | #define GPIO92_LCD_D22 PIN_CFG(92, ALT_A) |
| 331 | #define GPIO92_SM_ADQ6 PIN_CFG(92, ALT_B) |
| 332 | #define GPIO92_MC5_CLK PIN_CFG(92, ALT_C) |
| 333 | |
| 334 | #define GPIO93_GPIO PIN_CFG(93, GPIO) |
| 335 | #define GPIO93_LCD_D23 PIN_CFG(93, ALT_A) |
| 336 | #define GPIO93_SM_ADQ7 PIN_CFG(93, ALT_B) |
| 337 | #define GPIO93_MC5_DAT4 PIN_CFG(93, ALT_C) |
| 338 | |
| 339 | #define GPIO94_GPIO PIN_CFG(94, GPIO) |
| 340 | #define GPIO94_KP_O7 PIN_CFG(94, ALT_A) |
| 341 | #define GPIO94_SM_ADVn PIN_CFG(94, ALT_B) |
| 342 | #define GPIO94_MC5_DAT5 PIN_CFG(94, ALT_C) |
| 343 | |
| 344 | #define GPIO95_GPIO PIN_CFG(95, GPIO) |
| 345 | #define GPIO95_KP_I7 PIN_CFG(95, ALT_A) |
| 346 | #define GPIO95_SM_CS0n PIN_CFG(95, ALT_B) |
| 347 | #define GPIO95_SM_PS0n PIN_CFG(95, ALT_C) |
| 348 | |
| 349 | #define GPIO96_GPIO PIN_CFG(96, GPIO) |
| 350 | #define GPIO96_KP_O6 PIN_CFG(96, ALT_A) |
| 351 | #define GPIO96_SM_OEn PIN_CFG(96, ALT_B) |
| 352 | #define GPIO96_MC5_DAT6 PIN_CFG(96, ALT_C) |
| 353 | |
| 354 | #define GPIO97_GPIO PIN_CFG(97, GPIO) |
| 355 | #define GPIO97_KP_I6 PIN_CFG(97, ALT_A) |
| 356 | #define GPIO97_SM_WEn PIN_CFG(97, ALT_B) |
| 357 | #define GPIO97_MC5_DAT7 PIN_CFG(97, ALT_C) |
| 358 | |
| 359 | #define GPIO128_GPIO PIN_CFG(128, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 360 | #define GPIO128_MC2_CLK PIN_CFG_INPUT(128, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 361 | #define GPIO128_SM_CKO PIN_CFG(128, ALT_B) |
| 362 | |
| 363 | #define GPIO129_GPIO PIN_CFG(129, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 364 | #define GPIO129_MC2_CMD PIN_CFG_INPUT(129, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 365 | #define GPIO129_SM_WAIT0n PIN_CFG(129, ALT_B) |
| 366 | |
| 367 | #define GPIO130_GPIO PIN_CFG(130, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 368 | #define GPIO130_MC2_FBCLK PIN_CFG_INPUT(130, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 369 | #define GPIO130_SM_FBCLK PIN_CFG(130, ALT_B) |
| 370 | #define GPIO130_MC2_RSTN PIN_CFG(130, ALT_C) |
| 371 | |
| 372 | #define GPIO131_GPIO PIN_CFG(131, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 373 | #define GPIO131_MC2_DAT0 PIN_CFG_INPUT(131, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 374 | #define GPIO131_SM_ADQ8 PIN_CFG(131, ALT_B) |
| 375 | |
| 376 | #define GPIO132_GPIO PIN_CFG(132, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 377 | #define GPIO132_MC2_DAT1 PIN_CFG_INPUT(132, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 378 | #define GPIO132_SM_ADQ9 PIN_CFG(132, ALT_B) |
| 379 | |
| 380 | #define GPIO133_GPIO PIN_CFG(133, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 381 | #define GPIO133_MC2_DAT2 PIN_CFG_INPUT(133, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 382 | #define GPIO133_SM_ADQ10 PIN_CFG(133, ALT_B) |
| 383 | |
| 384 | #define GPIO134_GPIO PIN_CFG(134, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 385 | #define GPIO134_MC2_DAT3 PIN_CFG_INPUT(134, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 386 | #define GPIO134_SM_ADQ11 PIN_CFG(134, ALT_B) |
| 387 | |
| 388 | #define GPIO135_GPIO PIN_CFG(135, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 389 | #define GPIO135_MC2_DAT4 PIN_CFG_INPUT(135, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 390 | #define GPIO135_SM_ADQ12 PIN_CFG(135, ALT_B) |
| 391 | |
| 392 | #define GPIO136_GPIO PIN_CFG(136, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 393 | #define GPIO136_MC2_DAT5 PIN_CFG_INPUT(136, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 394 | #define GPIO136_SM_ADQ13 PIN_CFG(136, ALT_B) |
| 395 | |
| 396 | #define GPIO137_GPIO PIN_CFG(137, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 397 | #define GPIO137_MC2_DAT6 PIN_CFG_INPUT(137, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 398 | #define GPIO137_SM_ADQ14 PIN_CFG(137, ALT_B) |
| 399 | |
| 400 | #define GPIO138_GPIO PIN_CFG(138, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 401 | #define GPIO138_MC2_DAT7 PIN_CFG_INPUT(138, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 402 | #define GPIO138_SM_ADQ15 PIN_CFG(138, ALT_B) |
| 403 | |
| 404 | #define GPIO139_GPIO PIN_CFG(139, GPIO) |
| 405 | #define GPIO139_SSP1_RXD PIN_CFG(139, ALT_A) |
| 406 | #define GPIO139_SM_WAIT1n PIN_CFG(139, ALT_B) |
| 407 | #define GPIO139_KP_O8 PIN_CFG(139, ALT_C) |
| 408 | |
| 409 | #define GPIO140_GPIO PIN_CFG(140, GPIO) |
| 410 | #define GPIO140_SSP1_TXD PIN_CFG(140, ALT_A) |
| 411 | #define GPIO140_IP_GPIO7 PIN_CFG(140, ALT_B) |
| 412 | #define GPIO140_KP_SKA1 PIN_CFG(140, ALT_C) |
| 413 | |
| 414 | #define GPIO141_GPIO PIN_CFG(141, GPIO) |
| 415 | #define GPIO141_SSP1_CLK PIN_CFG(141, ALT_A) |
| 416 | #define GPIO141_IP_GPIO2 PIN_CFG(141, ALT_B) |
| 417 | #define GPIO141_KP_O9 PIN_CFG(141, ALT_C) |
| 418 | |
| 419 | #define GPIO142_GPIO PIN_CFG(142, GPIO) |
| 420 | #define GPIO142_SSP1_FRM PIN_CFG(142, ALT_A) |
| 421 | #define GPIO142_IP_GPIO3 PIN_CFG(142, ALT_B) |
| 422 | #define GPIO142_KP_SKB1 PIN_CFG(142, ALT_C) |
| 423 | |
| 424 | #define GPIO143_GPIO PIN_CFG(143, GPIO) |
| 425 | #define GPIO143_SSP0_CLK PIN_CFG(143, ALT_A) |
| 426 | |
| 427 | #define GPIO144_GPIO PIN_CFG(144, GPIO) |
| 428 | #define GPIO144_SSP0_FRM PIN_CFG(144, ALT_A) |
| 429 | |
| 430 | #define GPIO145_GPIO PIN_CFG(145, GPIO) |
| 431 | #define GPIO145_SSP0_RXD PIN_CFG(145, ALT_A) |
| 432 | |
| 433 | #define GPIO146_GPIO PIN_CFG(146, GPIO) |
| 434 | #define GPIO146_SSP0_TXD PIN_CFG(146, ALT_A) |
| 435 | |
| 436 | #define GPIO147_GPIO PIN_CFG(147, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 437 | #define GPIO147_I2C0_SCL PIN_CFG_INPUT(147, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 438 | |
| 439 | #define GPIO148_GPIO PIN_CFG(148, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 440 | #define GPIO148_I2C0_SDA PIN_CFG_INPUT(148, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 441 | |
| 442 | #define GPIO149_GPIO PIN_CFG(149, GPIO) |
| 443 | #define GPIO149_IP_GPIO0 PIN_CFG(149, ALT_A) |
| 444 | #define GPIO149_SM_CS1n PIN_CFG(149, ALT_B) |
| 445 | #define GPIO149_SM_PS1n PIN_CFG(149, ALT_C) |
| 446 | |
| 447 | #define GPIO150_GPIO PIN_CFG(150, GPIO) |
| 448 | #define GPIO150_IP_GPIO1 PIN_CFG(150, ALT_A) |
| 449 | #define GPIO150_LCDA_CLK PIN_CFG(150, ALT_B) |
| 450 | |
| 451 | #define GPIO151_GPIO PIN_CFG(151, GPIO) |
| 452 | #define GPIO151_KP_SKA0 PIN_CFG(151, ALT_A) |
| 453 | #define GPIO151_LCD_VSI0 PIN_CFG(151, ALT_B) |
| 454 | #define GPIO151_KP_O8 PIN_CFG(151, ALT_C) |
| 455 | |
| 456 | #define GPIO152_GPIO PIN_CFG(152, GPIO) |
| 457 | #define GPIO152_KP_SKB0 PIN_CFG(152, ALT_A) |
| 458 | #define GPIO152_LCD_VSI1 PIN_CFG(152, ALT_B) |
| 459 | #define GPIO152_KP_O9 PIN_CFG(152, ALT_C) |
| 460 | |
| 461 | #define GPIO153_GPIO PIN_CFG(153, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 462 | #define GPIO153_KP_I7 PIN_CFG_INPUT(153, ALT_A, PULLDOWN) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 463 | #define GPIO153_LCD_D24 PIN_CFG(153, ALT_B) |
| 464 | #define GPIO153_U2_RXD PIN_CFG(153, ALT_C) |
| 465 | |
| 466 | #define GPIO154_GPIO PIN_CFG(154, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 467 | #define GPIO154_KP_I6 PIN_CFG_INPUT(154, ALT_A, PULLDOWN) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 468 | #define GPIO154_LCD_D25 PIN_CFG(154, ALT_B) |
| 469 | #define GPIO154_U2_TXD PIN_CFG(154, ALT_C) |
| 470 | |
| 471 | #define GPIO155_GPIO PIN_CFG(155, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 472 | #define GPIO155_KP_I5 PIN_CFG_INPUT(155, ALT_A, PULLDOWN) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 473 | #define GPIO155_LCD_D26 PIN_CFG(155, ALT_B) |
| 474 | #define GPIO155_STMAPE_CLK PIN_CFG(155, ALT_C) |
| 475 | |
| 476 | #define GPIO156_GPIO PIN_CFG(156, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 477 | #define GPIO156_KP_I4 PIN_CFG_INPUT(156, ALT_A, PULLDOWN) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 478 | #define GPIO156_LCD_D27 PIN_CFG(156, ALT_B) |
| 479 | #define GPIO156_STMAPE_DAT3 PIN_CFG(156, ALT_C) |
| 480 | |
| 481 | #define GPIO157_GPIO PIN_CFG(157, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 482 | #define GPIO157_KP_O7 PIN_CFG_INPUT(157, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 483 | #define GPIO157_LCD_D28 PIN_CFG(157, ALT_B) |
| 484 | #define GPIO157_STMAPE_DAT2 PIN_CFG(157, ALT_C) |
| 485 | |
| 486 | #define GPIO158_GPIO PIN_CFG(158, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 487 | #define GPIO158_KP_O6 PIN_CFG_INPUT(158, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 488 | #define GPIO158_LCD_D29 PIN_CFG(158, ALT_B) |
| 489 | #define GPIO158_STMAPE_DAT1 PIN_CFG(158, ALT_C) |
| 490 | |
| 491 | #define GPIO159_GPIO PIN_CFG(159, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 492 | #define GPIO159_KP_O5 PIN_CFG_INPUT(159, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 493 | #define GPIO159_LCD_D30 PIN_CFG(159, ALT_B) |
| 494 | #define GPIO159_STMAPE_DAT0 PIN_CFG(159, ALT_C) |
| 495 | |
| 496 | #define GPIO160_GPIO PIN_CFG(160, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 497 | #define GPIO160_KP_O4 PIN_CFG_INPUT(160, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 498 | #define GPIO160_LCD_D31 PIN_CFG(160, ALT_B) |
| 499 | #define GPIO160_NONE PIN_CFG(160, ALT_C) |
| 500 | |
| 501 | #define GPIO161_GPIO PIN_CFG(161, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 502 | #define GPIO161_KP_I3 PIN_CFG_INPUT(161, ALT_A, PULLDOWN) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 503 | #define GPIO161_LCD_D32 PIN_CFG(161, ALT_B) |
| 504 | #define GPIO161_UARTMOD_RXD PIN_CFG(161, ALT_C) |
| 505 | |
| 506 | #define GPIO162_GPIO PIN_CFG(162, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 507 | #define GPIO162_KP_I2 PIN_CFG_INPUT(162, ALT_A, PULLDOWN) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 508 | #define GPIO162_LCD_D33 PIN_CFG(162, ALT_B) |
| 509 | #define GPIO162_UARTMOD_TXD PIN_CFG(162, ALT_C) |
| 510 | |
| 511 | #define GPIO163_GPIO PIN_CFG(163, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 512 | #define GPIO163_KP_I1 PIN_CFG_INPUT(163, ALT_A, PULLDOWN) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 513 | #define GPIO163_LCD_D34 PIN_CFG(163, ALT_B) |
| 514 | #define GPIO163_STMMOD_CLK PIN_CFG(163, ALT_C) |
| 515 | |
| 516 | #define GPIO164_GPIO PIN_CFG(164, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 517 | #define GPIO164_KP_I0 PIN_CFG_INPUT(164, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 518 | #define GPIO164_LCD_D35 PIN_CFG(164, ALT_B) |
| 519 | #define GPIO164_STMMOD_DAT3 PIN_CFG(164, ALT_C) |
| 520 | |
| 521 | #define GPIO165_GPIO PIN_CFG(165, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 522 | #define GPIO165_KP_O3 PIN_CFG_INPUT(165, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 523 | #define GPIO165_LCD_D36 PIN_CFG(165, ALT_B) |
| 524 | #define GPIO165_STMMOD_DAT2 PIN_CFG(165, ALT_C) |
| 525 | |
| 526 | #define GPIO166_GPIO PIN_CFG(166, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 527 | #define GPIO166_KP_O2 PIN_CFG_INPUT(166, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 528 | #define GPIO166_LCD_D37 PIN_CFG(166, ALT_B) |
| 529 | #define GPIO166_STMMOD_DAT1 PIN_CFG(166, ALT_C) |
| 530 | |
| 531 | #define GPIO167_GPIO PIN_CFG(167, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 532 | #define GPIO167_KP_O1 PIN_CFG_INPUT(167, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 533 | #define GPIO167_LCD_D38 PIN_CFG(167, ALT_B) |
| 534 | #define GPIO167_STMMOD_DAT0 PIN_CFG(167, ALT_C) |
| 535 | |
| 536 | #define GPIO168_GPIO PIN_CFG(168, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 537 | #define GPIO168_KP_O0 PIN_CFG_INPUT(168, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 538 | #define GPIO168_LCD_D39 PIN_CFG(168, ALT_B) |
| 539 | #define GPIO168_NONE PIN_CFG(168, ALT_C) |
| 540 | |
| 541 | #define GPIO169_GPIO PIN_CFG(169, GPIO) |
| 542 | #define GPIO169_RF_PURn PIN_CFG(169, ALT_A) |
| 543 | #define GPIO169_LCDA_DE PIN_CFG(169, ALT_B) |
| 544 | #define GPIO169_USBSIM_PDC PIN_CFG(169, ALT_C) |
| 545 | |
| 546 | #define GPIO170_GPIO PIN_CFG(170, GPIO) |
| 547 | #define GPIO170_MODEM_STATE PIN_CFG(170, ALT_A) |
| 548 | #define GPIO170_LCDA_VSO PIN_CFG(170, ALT_B) |
| 549 | #define GPIO170_KP_SKA1 PIN_CFG(170, ALT_C) |
| 550 | |
| 551 | #define GPIO171_GPIO PIN_CFG(171, GPIO) |
| 552 | #define GPIO171_MODEM_PWREN PIN_CFG(171, ALT_A) |
| 553 | #define GPIO171_LCDA_HSO PIN_CFG(171, ALT_B) |
| 554 | #define GPIO171_KP_SKB1 PIN_CFG(171, ALT_C) |
| 555 | |
| 556 | #define GPIO192_GPIO PIN_CFG(192, GPIO) |
| 557 | #define GPIO192_MSP2_SCK PIN_CFG(192, ALT_A) |
| 558 | |
| 559 | #define GPIO193_GPIO PIN_CFG(193, GPIO) |
| 560 | #define GPIO193_MSP2_TXD PIN_CFG(193, ALT_A) |
| 561 | |
| 562 | #define GPIO194_GPIO PIN_CFG(194, GPIO) |
| 563 | #define GPIO194_MSP2_TCK PIN_CFG(194, ALT_A) |
| 564 | |
| 565 | #define GPIO195_GPIO PIN_CFG(195, GPIO) |
| 566 | #define GPIO195_MSP2_TFS PIN_CFG(195, ALT_A) |
| 567 | |
| 568 | #define GPIO196_GPIO PIN_CFG(196, GPIO) |
| 569 | #define GPIO196_MSP2_RXD PIN_CFG(196, ALT_A) |
| 570 | |
| 571 | #define GPIO197_GPIO PIN_CFG(197, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 572 | #define GPIO197_MC4_DAT3 PIN_CFG_INPUT(197, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 573 | |
| 574 | #define GPIO198_GPIO PIN_CFG(198, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 575 | #define GPIO198_MC4_DAT2 PIN_CFG_INPUT(198, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 576 | |
| 577 | #define GPIO199_GPIO PIN_CFG(199, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 578 | #define GPIO199_MC4_DAT1 PIN_CFG_INPUT(199, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 579 | |
| 580 | #define GPIO200_GPIO PIN_CFG(200, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 581 | #define GPIO200_MC4_DAT0 PIN_CFG_INPUT(200, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 582 | |
| 583 | #define GPIO201_GPIO PIN_CFG(201, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 584 | #define GPIO201_MC4_CMD PIN_CFG_INPUT(201, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 585 | |
| 586 | #define GPIO202_GPIO PIN_CFG(202, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 587 | #define GPIO202_MC4_FBCLK PIN_CFG_INPUT(202, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 588 | #define GPIO202_PWL PIN_CFG(202, ALT_B) |
| 589 | #define GPIO202_MC4_RSTN PIN_CFG(202, ALT_C) |
| 590 | |
| 591 | #define GPIO203_GPIO PIN_CFG(203, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 592 | #define GPIO203_MC4_CLK PIN_CFG_INPUT(203, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 593 | |
| 594 | #define GPIO204_GPIO PIN_CFG(204, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 595 | #define GPIO204_MC4_DAT7 PIN_CFG_INPUT(204, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 596 | |
| 597 | #define GPIO205_GPIO PIN_CFG(205, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 598 | #define GPIO205_MC4_DAT6 PIN_CFG_INPUT(205, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 599 | |
| 600 | #define GPIO206_GPIO PIN_CFG(206, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 601 | #define GPIO206_MC4_DAT5 PIN_CFG_INPUT(206, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 602 | |
| 603 | #define GPIO207_GPIO PIN_CFG(207, GPIO) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 604 | #define GPIO207_MC4_DAT4 PIN_CFG_INPUT(207, ALT_A, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 605 | |
| 606 | #define GPIO208_GPIO PIN_CFG(208, GPIO) |
| 607 | #define GPIO208_MC1_CLK PIN_CFG(208, ALT_A) |
| 608 | |
| 609 | #define GPIO209_GPIO PIN_CFG(209, GPIO) |
| 610 | #define GPIO209_MC1_FBCLK PIN_CFG(209, ALT_A) |
| 611 | #define GPIO209_SPI1_CLK PIN_CFG(209, ALT_B) |
| 612 | |
| 613 | #define GPIO210_GPIO PIN_CFG(210, GPIO) |
| 614 | #define GPIO210_MC1_CMD PIN_CFG(210, ALT_A) |
| 615 | |
| 616 | #define GPIO211_GPIO PIN_CFG(211, GPIO) |
| 617 | #define GPIO211_MC1_DAT0 PIN_CFG(211, ALT_A) |
| 618 | |
| 619 | #define GPIO212_GPIO PIN_CFG(212, GPIO) |
| 620 | #define GPIO212_MC1_DAT1 PIN_CFG(212, ALT_A) |
| 621 | #define GPIO212_SPI1_FRM PIN_CFG(212, ALT_B) |
| 622 | |
| 623 | #define GPIO213_GPIO PIN_CFG(213, GPIO) |
| 624 | #define GPIO213_MC1_DAT2 PIN_CFG(213, ALT_A) |
| 625 | #define GPIO213_SPI1_TXD PIN_CFG(213, ALT_B) |
| 626 | |
| 627 | #define GPIO214_GPIO PIN_CFG(214, GPIO) |
| 628 | #define GPIO214_MC1_DAT3 PIN_CFG(214, ALT_A) |
| 629 | #define GPIO214_SPI1_RXD PIN_CFG(214, ALT_B) |
| 630 | |
| 631 | #define GPIO215_GPIO PIN_CFG(215, GPIO) |
| 632 | #define GPIO215_MC1_CMDDIR PIN_CFG(215, ALT_A) |
| 633 | #define GPIO215_MC3_DAT2DIR PIN_CFG(215, ALT_B) |
| 634 | #define GPIO215_CLKOUT1 PIN_CFG(215, ALT_C) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 635 | #define GPIO215_SPI2_TXD PIN_CFG(215, ALT_C) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 636 | |
| 637 | #define GPIO216_GPIO PIN_CFG(216, GPIO) |
| 638 | #define GPIO216_MC1_DAT2DIR PIN_CFG(216, ALT_A) |
| 639 | #define GPIO216_MC3_CMDDIR PIN_CFG(216, ALT_B) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 640 | #define GPIO216_I2C3_SDA PIN_CFG_INPUT(216, ALT_C, PULLUP) |
| 641 | #define GPIO216_SPI2_FRM PIN_CFG(216, ALT_C) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 642 | |
| 643 | #define GPIO217_GPIO PIN_CFG(217, GPIO) |
| 644 | #define GPIO217_MC1_DAT0DIR PIN_CFG(217, ALT_A) |
| 645 | #define GPIO217_MC3_DAT31DIR PIN_CFG(217, ALT_B) |
| 646 | #define GPIO217_CLKOUT2 PIN_CFG(217, ALT_C) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 647 | #define GPIO217_SPI2_CLK PIN_CFG(217, ALT_C) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 648 | |
| 649 | #define GPIO218_GPIO PIN_CFG(218, GPIO) |
| 650 | #define GPIO218_MC1_DAT31DIR PIN_CFG(218, ALT_A) |
| 651 | #define GPIO218_MC3_DAT0DIR PIN_CFG(218, ALT_B) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 652 | #define GPIO218_I2C3_SCL PIN_CFG_INPUT(218, ALT_C, PULLUP) |
| 653 | #define GPIO218_SPI2_RXD PIN_CFG(218, ALT_C) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 654 | |
| 655 | #define GPIO219_GPIO PIN_CFG(219, GPIO) |
| 656 | #define GPIO219_HSIR_FLA0 PIN_CFG(219, ALT_A) |
| 657 | #define GPIO219_MC3_CLK PIN_CFG(219, ALT_B) |
| 658 | |
| 659 | #define GPIO220_GPIO PIN_CFG(220, GPIO) |
| 660 | #define GPIO220_HSIR_DAT0 PIN_CFG(220, ALT_A) |
| 661 | #define GPIO220_MC3_FBCLK PIN_CFG(220, ALT_B) |
| 662 | #define GPIO220_SPI0_CLK PIN_CFG(220, ALT_C) |
| 663 | |
| 664 | #define GPIO221_GPIO PIN_CFG(221, GPIO) |
| 665 | #define GPIO221_HSIR_RDY0 PIN_CFG(221, ALT_A) |
| 666 | #define GPIO221_MC3_CMD PIN_CFG(221, ALT_B) |
| 667 | |
| 668 | #define GPIO222_GPIO PIN_CFG(222, GPIO) |
| 669 | #define GPIO222_HSIT_FLA0 PIN_CFG(222, ALT_A) |
| 670 | #define GPIO222_MC3_DAT0 PIN_CFG(222, ALT_B) |
| 671 | |
| 672 | #define GPIO223_GPIO PIN_CFG(223, GPIO) |
| 673 | #define GPIO223_HSIT_DAT0 PIN_CFG(223, ALT_A) |
| 674 | #define GPIO223_MC3_DAT1 PIN_CFG(223, ALT_B) |
| 675 | #define GPIO223_SPI0_FRM PIN_CFG(223, ALT_C) |
| 676 | |
| 677 | #define GPIO224_GPIO PIN_CFG(224, GPIO) |
| 678 | #define GPIO224_HSIT_RDY0 PIN_CFG(224, ALT_A) |
| 679 | #define GPIO224_MC3_DAT2 PIN_CFG(224, ALT_B) |
| 680 | #define GPIO224_SPI0_TXD PIN_CFG(224, ALT_C) |
| 681 | |
| 682 | #define GPIO225_GPIO PIN_CFG(225, GPIO) |
| 683 | #define GPIO225_HSIT_CAWAKE0 PIN_CFG(225, ALT_A) |
| 684 | #define GPIO225_MC3_DAT3 PIN_CFG(225, ALT_B) |
| 685 | #define GPIO225_SPI0_RXD PIN_CFG(225, ALT_C) |
| 686 | |
| 687 | #define GPIO226_GPIO PIN_CFG(226, GPIO) |
| 688 | #define GPIO226_HSIT_ACWAKE0 PIN_CFG(226, ALT_A) |
| 689 | #define GPIO226_PWL PIN_CFG(226, ALT_B) |
| 690 | #define GPIO226_USBSIM_PDC PIN_CFG(226, ALT_C) |
| 691 | |
| 692 | #define GPIO227_GPIO PIN_CFG(227, GPIO) |
| 693 | #define GPIO227_CLKOUT1 PIN_CFG(227, ALT_A) |
| 694 | |
| 695 | #define GPIO228_GPIO PIN_CFG(228, GPIO) |
| 696 | #define GPIO228_CLKOUT2 PIN_CFG(228, ALT_A) |
| 697 | |
| 698 | #define GPIO229_GPIO PIN_CFG(229, GPIO) |
| 699 | #define GPIO229_CLKOUT1 PIN_CFG(229, ALT_A) |
| 700 | #define GPIO229_PWL PIN_CFG(229, ALT_B) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 701 | #define GPIO229_I2C3_SDA PIN_CFG_INPUT(229, ALT_C, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 702 | |
| 703 | #define GPIO230_GPIO PIN_CFG(230, GPIO) |
| 704 | #define GPIO230_CLKOUT2 PIN_CFG(230, ALT_A) |
| 705 | #define GPIO230_PWL PIN_CFG(230, ALT_B) |
Fredrik Svensson | 76525ec | 2011-03-31 13:55:40 +0200 | [diff] [blame^] | 706 | #define GPIO230_I2C3_SCL PIN_CFG_INPUT(230, ALT_C, PULLUP) |
Rabin Vincent | 6d9fb90 | 2010-06-03 07:56:36 +0100 | [diff] [blame] | 707 | |
| 708 | #define GPIO256_GPIO PIN_CFG(256, GPIO) |
| 709 | #define GPIO256_USB_NXT PIN_CFG(256, ALT_A) |
| 710 | |
| 711 | #define GPIO257_GPIO PIN_CFG(257, GPIO) |
| 712 | #define GPIO257_USB_STP PIN_CFG(257, ALT_A) |
| 713 | |
| 714 | #define GPIO258_GPIO PIN_CFG(258, GPIO) |
| 715 | #define GPIO258_USB_XCLK PIN_CFG(258, ALT_A) |
| 716 | #define GPIO258_NONE PIN_CFG(258, ALT_B) |
| 717 | #define GPIO258_DDR_TRIG PIN_CFG(258, ALT_C) |
| 718 | |
| 719 | #define GPIO259_GPIO PIN_CFG(259, GPIO) |
| 720 | #define GPIO259_USB_DIR PIN_CFG(259, ALT_A) |
| 721 | |
| 722 | #define GPIO260_GPIO PIN_CFG(260, GPIO) |
| 723 | #define GPIO260_USB_DAT7 PIN_CFG(260, ALT_A) |
| 724 | |
| 725 | #define GPIO261_GPIO PIN_CFG(261, GPIO) |
| 726 | #define GPIO261_USB_DAT6 PIN_CFG(261, ALT_A) |
| 727 | |
| 728 | #define GPIO262_GPIO PIN_CFG(262, GPIO) |
| 729 | #define GPIO262_USB_DAT5 PIN_CFG(262, ALT_A) |
| 730 | |
| 731 | #define GPIO263_GPIO PIN_CFG(263, GPIO) |
| 732 | #define GPIO263_USB_DAT4 PIN_CFG(263, ALT_A) |
| 733 | |
| 734 | #define GPIO264_GPIO PIN_CFG(264, GPIO) |
| 735 | #define GPIO264_USB_DAT3 PIN_CFG(264, ALT_A) |
| 736 | |
| 737 | #define GPIO265_GPIO PIN_CFG(265, GPIO) |
| 738 | #define GPIO265_USB_DAT2 PIN_CFG(265, ALT_A) |
| 739 | |
| 740 | #define GPIO266_GPIO PIN_CFG(266, GPIO) |
| 741 | #define GPIO266_USB_DAT1 PIN_CFG(266, ALT_A) |
| 742 | |
| 743 | #define GPIO267_GPIO PIN_CFG(267, GPIO) |
| 744 | #define GPIO267_USB_DAT0 PIN_CFG(267, ALT_A) |
| 745 | |
| 746 | #endif |