1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 #ifndef _SOC_METEORLAKE_GPIO_SOC_DEFS_H_ 3 #define _SOC_METEORLAKE_GPIO_SOC_DEFS_H_ 4 5 #define INC(x) ((x) + 1) 6 7 /* 8 * Most of the fixed numbers and macros are based on the GPP groups. 9 * The GPIO groups are accessed through register blocks called 10 * communities. 11 */ 12 #define GPP_V 0x0 13 #define GPP_C INC(GPP_V) 14 #define GPP_A INC(GPP_C) 15 #define GPP_E INC(GPP_A) 16 #define GPP_H INC(GPP_E) 17 #define GPP_F INC(GPP_H) 18 #define GPP_VGPIO3 INC(GPP_F) 19 #define GPP_VGPIO INC(GPP_VGPIO3) 20 #define GPP_S INC(GPP_VGPIO) 21 #define GPP_B INC(GPP_S) 22 #define GPP_D INC(GPP_B) 23 24 #define GPIO_MAX_NUM_PER_GROUP 26 25 26 #define COMM_0 0 27 #define COMM_1 INC(COMM_0) 28 #define COMM_3 INC(COMM_1) 29 #define COMM_4 INC(COMM_3) 30 #define COMM_5 INC(COMM_4) 31 32 /* 33 * GPIOs are ordered monotonically increasing to match ACPI/OS driver. 34 */ 35 /* 36 * +----------------------------+ 37 * | Group CPU | 38 * +------------------+---------+ 39 * | | MTL-M/P | 40 * +------------------+---------+ 41 * | Pad Start Number | 0 | 42 * +------------------+---------+ 43 * | Pad End Number | 4 | 44 * +------------------+---------+ 45 */ 46 #define GPP_PECI 0 47 #define GPP_UFS_RST_B INC(GPP_PECI) 48 #define GPP_VIDSOUT INC(GPP_UFS_RST_B) 49 #define GPP_VIDSCK INC(GPP_VIDSOUT) 50 #define GPP_VIDALERT_B INC(GPP_VIDSCK) 51 52 /* 53 * +----------------------------+ 54 * | Group V | 55 * +------------------+---------+ 56 * | | MTL-M/P | 57 * +------------------+---------+ 58 * | Pad Start Number | 5 | 59 * +------------------+---------+ 60 * | Pad End Number | 28 | 61 * +------------------+---------+ 62 */ 63 #define GPP_V00 INC(GPP_VIDALERT_B) 64 #define GPP_V01 INC(GPP_V00) 65 #define GPP_V02 INC(GPP_V01) 66 #define GPP_V03 INC(GPP_V02) 67 #define GPP_V04 INC(GPP_V03) 68 #define GPP_V05 INC(GPP_V04) 69 #define GPP_V06 INC(GPP_V05) 70 #define GPP_V07 INC(GPP_V06) 71 #define GPP_V08 INC(GPP_V07) 72 #define GPP_V09 INC(GPP_V08) 73 #define GPP_V10 INC(GPP_V09) 74 #define GPP_V11 INC(GPP_V10) 75 #define GPP_V12 INC(GPP_V11) 76 #define GPP_V13 INC(GPP_V12) 77 #define GPP_V14 INC(GPP_V13) 78 #define GPP_V15 INC(GPP_V14) 79 #define GPP_V16 INC(GPP_V15) 80 #define GPP_V17 INC(GPP_V16) 81 #define GPP_V18 INC(GPP_V17) 82 #define GPP_V19 INC(GPP_V18) 83 #define GPP_V20 INC(GPP_V19) 84 #define GPP_V21 INC(GPP_V20) 85 #define GPP_V22 INC(GPP_V21) 86 #define GPP_V23 INC(GPP_V22) 87 88 /* 89 * +----------------------------+ 90 * | Group C | 91 * +------------------+---------+ 92 * | | MTL-M/P | 93 * +------------------+---------+ 94 * | Pad Start Number | 29 | 95 * +------------------+---------+ 96 * | Pad End Number | 52 | 97 * +------------------+---------+ 98 */ 99 #define GPP_C00 INC(GPP_V23) 100 #define GPP_C01 INC(GPP_C00) 101 #define GPP_C02 INC(GPP_C01) 102 #define GPP_C03 INC(GPP_C02) 103 #define GPP_C04 INC(GPP_C03) 104 #define GPP_C05 INC(GPP_C04) 105 #define GPP_C06 INC(GPP_C05) 106 #define GPP_C07 INC(GPP_C06) 107 #define GPP_C08 INC(GPP_C07) 108 #define GPP_C09 INC(GPP_C08) 109 #define GPP_C10 INC(GPP_C09) 110 #define GPP_C11 INC(GPP_C10) 111 #define GPP_C12 INC(GPP_C11) 112 #define GPP_C13 INC(GPP_C12) 113 #define GPP_C14 INC(GPP_C13) 114 #define GPP_C15 INC(GPP_C14) 115 #define GPP_C16 INC(GPP_C15) 116 #define GPP_C17 INC(GPP_C16) 117 #define GPP_C18 INC(GPP_C17) 118 #define GPP_C19 INC(GPP_C18) 119 #define GPP_C20 INC(GPP_C19) 120 #define GPP_C21 INC(GPP_C20) 121 #define GPP_C22 INC(GPP_C21) 122 #define GPP_C23 INC(GPP_C22) 123 124 #define GPIO_COM0_START GPP_PECI 125 #define GPIO_COM0_END GPP_C23 126 #define NUM_GPIO_COM0_PADS (GPP_C23 - GPP_PECI + 1) 127 128 /* 129 * +----------------------------+ 130 * | Group A | 131 * +------------------+---------+ 132 * | | MTL-M/P | 133 * +------------------+---------+ 134 * | Pad Start Number | 53 | 135 * +------------------+---------+ 136 * | Pad End Number | 77 | 137 * +------------------+---------+ 138 */ 139 #define GPP_A00 INC(GPP_C23) 140 #define GPP_A01 INC(GPP_A00) 141 #define GPP_A02 INC(GPP_A01) 142 #define GPP_A03 INC(GPP_A02) 143 #define GPP_A04 INC(GPP_A03) 144 #define GPP_A05 INC(GPP_A04) 145 #define GPP_A06 INC(GPP_A05) 146 #define GPP_A07 INC(GPP_A06) 147 #define GPP_A08 INC(GPP_A07) 148 #define GPP_A09 INC(GPP_A08) 149 #define GPP_A10 INC(GPP_A09) 150 #define GPP_A11 INC(GPP_A10) 151 #define GPP_A12 INC(GPP_A11) 152 #define GPP_A13 INC(GPP_A12) 153 #define GPP_A14 INC(GPP_A13) 154 #define GPP_A15 INC(GPP_A14) 155 #define GPP_A16 INC(GPP_A15) 156 #define GPP_A17 INC(GPP_A16) 157 #define GPP_A18 INC(GPP_A17) 158 #define GPP_A19 INC(GPP_A18) 159 #define GPP_A20 INC(GPP_A19) 160 #define GPP_A21 INC(GPP_A20) 161 #define GPP_A22 INC(GPP_A21) 162 #define GPP_A23 INC(GPP_A22) 163 #define GPP_ESPI_CLK_LPBK INC(GPP_A23) 164 165 /* 166 * +----------------------------+ 167 * | Group E | 168 * +------------------+---------+ 169 * | | MTL-M/P | 170 * +------------------+---------+ 171 * | Pad Start Number | 78 | 172 * +------------------+---------+ 173 * | Pad End Number | 102 | 174 * +------------------+---------+ 175 */ 176 #define GPP_E00 INC(GPP_ESPI_CLK_LPBK) 177 #define GPP_E01 INC(GPP_E00) 178 #define GPP_E02 INC(GPP_E01) 179 #define GPP_E03 INC(GPP_E02) 180 #define GPP_E04 INC(GPP_E03) 181 #define GPP_E05 INC(GPP_E04) 182 #define GPP_E06 INC(GPP_E05) 183 #define GPP_E07 INC(GPP_E06) 184 #define GPP_E08 INC(GPP_E07) 185 #define GPP_E09 INC(GPP_E08) 186 #define GPP_E10 INC(GPP_E09) 187 #define GPP_E11 INC(GPP_E10) 188 #define GPP_E12 INC(GPP_E11) 189 #define GPP_E13 INC(GPP_E12) 190 #define GPP_E14 INC(GPP_E13) 191 #define GPP_E15 INC(GPP_E14) 192 #define GPP_E16 INC(GPP_E15) 193 #define GPP_E17 INC(GPP_E16) 194 #define GPP_E18 INC(GPP_E17) 195 #define GPP_E19 INC(GPP_E18) 196 #define GPP_E20 INC(GPP_E19) 197 #define GPP_E21 INC(GPP_E20) 198 #define GPP_E22 INC(GPP_E21) 199 #define GPP_E23 INC(GPP_E22) 200 #define GPP_THC0_GSPI_CLK_LPBK INC(GPP_E23) 201 202 #define GPIO_COM1_START GPP_A00 203 #define GPIO_COM1_END GPP_THC0_GSPI_CLK_LPBK 204 #define NUM_GPIO_COM1_PADS (GPP_THC0_GSPI_CLK_LPBK - GPP_A00 + 1) 205 206 /* 207 * +----------------------------+ 208 * | Group H | 209 * +------------------+---------+ 210 * | | MTL-M/P | 211 * +------------------+---------+ 212 * | Pad Start Number | 103 | 213 * +------------------+---------+ 214 * | Pad End Number | 128 | 215 * +------------------+---------+ 216 */ 217 #define GPP_H00 INC(GPP_THC0_GSPI_CLK_LPBK) 218 #define GPP_H01 INC(GPP_H00) 219 #define GPP_H02 INC(GPP_H01) 220 #define GPP_H03 INC(GPP_H02) 221 #define GPP_H04 INC(GPP_H03) 222 #define GPP_H05 INC(GPP_H04) 223 #define GPP_H06 INC(GPP_H05) 224 #define GPP_H07 INC(GPP_H06) 225 #define GPP_H08 INC(GPP_H07) 226 #define GPP_H09 INC(GPP_H08) 227 #define GPP_H10 INC(GPP_H09) 228 #define GPP_H11 INC(GPP_H10) 229 #define GPP_H12 INC(GPP_H11) 230 #define GPP_H13 INC(GPP_H12) 231 #define GPP_H14 INC(GPP_H13) 232 #define GPP_H15 INC(GPP_H14) 233 #define GPP_H16 INC(GPP_H15) 234 #define GPP_H17 INC(GPP_H16) 235 #define GPP_H18 INC(GPP_H17) 236 #define GPP_H19 INC(GPP_H18) 237 #define GPP_H20 INC(GPP_H19) 238 #define GPP_H21 INC(GPP_H20) 239 #define GPP_H22 INC(GPP_H21) 240 #define GPP_H23 INC(GPP_H22) 241 #define GPP_LPI3C1_CLK_LPBK INC(GPP_H23) 242 #define GPP_LPI3C0_CLK_LPBK INC(GPP_LPI3C1_CLK_LPBK) 243 244 /* 245 * +----------------------------+ 246 * | Group F | 247 * +------------------+---------+ 248 * | | MTL-M/P | 249 * +------------------+---------+ 250 * | Pad Start Number | 129 | 251 * +------------------+---------+ 252 * | Pad End Number | 154 | 253 * +------------------+---------+ 254 */ 255 #define GPP_F00 INC(GPP_LPI3C0_CLK_LPBK) 256 #define GPP_F01 INC(GPP_F00) 257 #define GPP_F02 INC(GPP_F01) 258 #define GPP_F03 INC(GPP_F02) 259 #define GPP_F04 INC(GPP_F03) 260 #define GPP_F05 INC(GPP_F04) 261 #define GPP_F06 INC(GPP_F05) 262 #define GPP_F07 INC(GPP_F06) 263 #define GPP_F08 INC(GPP_F07) 264 #define GPP_F09 INC(GPP_F08) 265 #define GPP_F10 INC(GPP_F09) 266 #define GPP_F11 INC(GPP_F10) 267 #define GPP_F12 INC(GPP_F11) 268 #define GPP_F13 INC(GPP_F12) 269 #define GPP_F14 INC(GPP_F13) 270 #define GPP_F15 INC(GPP_F14) 271 #define GPP_F16 INC(GPP_F15) 272 #define GPP_F17 INC(GPP_F16) 273 #define GPP_F18 INC(GPP_F17) 274 #define GPP_F19 INC(GPP_F18) 275 #define GPP_F20 INC(GPP_F19) 276 #define GPP_F21 INC(GPP_F20) 277 #define GPP_F22 INC(GPP_F21) 278 #define GPP_F23 INC(GPP_F22) 279 #define GPP_THC1_GSPI1_CLK_LPBK INC(GPP_F23) 280 #define GPP_GSPI0A_CLK_LOOPBK INC(GPP_THC1_GSPI1_CLK_LPBK) 281 282 /* 283 * +----------------------------+ 284 * | Group SPI0 | 285 * +------------------+---------+ 286 * | | MTL-M/P | 287 * +------------------+---------+ 288 * | Pad Start Number | 155 | 289 * +------------------+---------+ 290 * | Pad End Number | 169 | 291 * +------------------+---------+ 292 */ 293 #define GPP_SPI0_IO_2 INC(GPP_GSPI0A_CLK_LOOPBK) 294 #define GPP_SPI0_IO_3 INC(GPP_SPI0_IO_2) 295 #define GPP_SPI0_MOSI_IO_0 INC(GPP_SPI0_IO_3) 296 #define GPP_SPI0_MOSI_IO_1 INC(GPP_SPI0_MOSI_IO_0) 297 #define GPP_SPI0_TPM_CS_B INC(GPP_SPI0_MOSI_IO_1) 298 #define GPP_SPI0_FLASH_0_CS_B INC(GPP_SPI0_TPM_CS_B) 299 #define GPP_SPI0_FLASH_1_CS_B INC(GPP_SPI0_FLASH_0_CS_B) 300 #define GPP_SPI0_CLK INC(GPP_SPI0_FLASH_1_CS_B) 301 #define GPP_BKLTEN INC(GPP_SPI0_CLK) 302 #define GPP_BKLTCTL INC(GPP_BKLTEN) 303 #define GPP_VDDEN INC(GPP_BKLTCTL) 304 #define GPP_SYS_PWROK INC(GPP_VDDEN) 305 #define GPP_SYS_RESET_B INC(GPP_SYS_PWROK) 306 #define GPP_MLK_RST_B INC(GPP_SYS_RESET_B) 307 #define GPP_SPI0_CLK_LOOPBK INC(GPP_MLK_RST_B) 308 309 /* 310 * +----------------------------+ 311 * | Group VGPIO3 | 312 * +------------------+---------+ 313 * | | MTL-M/P | 314 * +------------------+---------+ 315 * | Pad Start Number | 170 | 316 * +------------------+---------+ 317 * | Pad End Number | 183 | 318 * +------------------+---------+ 319 */ 320 #define GPP_VGPIO3_USB0 INC(GPP_SPI0_CLK_LOOPBK) 321 #define GPP_VGPIO3_USB1 INC(GPP_VGPIO3_USB0) 322 #define GPP_VGPIO3_USB2 INC(GPP_VGPIO3_USB1) 323 #define GPP_VGPIO3_USB3 INC(GPP_VGPIO3_USB2) 324 #define GPP_VGPIO3_USB4 INC(GPP_VGPIO3_USB3) 325 #define GPP_VGPIO3_USB5 INC(GPP_VGPIO3_USB4) 326 #define GPP_VGPIO3_USB6 INC(GPP_VGPIO3_USB5) 327 #define GPP_VGPIO3_USB7 INC(GPP_VGPIO3_USB6) 328 #define GPP_VGPIO3_TS0 INC(GPP_VGPIO3_USB7) 329 #define GPP_VGPIO3_TS1 INC(GPP_VGPIO3_TS0) 330 #define GPP_VGPIO3_THC0 INC(GPP_VGPIO3_TS1) 331 #define GPP_VGPIO3_THC1 INC(GPP_VGPIO3_THC0) 332 #define GPP_VGPIO3_THC2 INC(GPP_VGPIO3_THC1) 333 #define GPP_VGPIO3_THC3 INC(GPP_VGPIO3_THC2) 334 335 #define GPIO_COM3_START GPP_H00 336 #define GPIO_COM3_END GPP_VGPIO3_THC3 337 #define NUM_GPIO_COM3_PADS (GPP_VGPIO3_THC3 - GPP_H00 + 1) 338 339 /* 340 * +----------------------------+ 341 * | Group S | 342 * +------------------+---------+ 343 * | | MTL-M/P | 344 * +------------------+---------+ 345 * | Pad Start Number | 184 | 346 * +------------------+---------+ 347 * | Pad End Number | 191 | 348 * +------------------+---------+ 349 */ 350 #define GPP_S00 INC(GPP_VGPIO3_THC3) 351 #define GPP_S01 INC(GPP_S00) 352 #define GPP_S02 INC(GPP_S01) 353 #define GPP_S03 INC(GPP_S02) 354 #define GPP_S04 INC(GPP_S03) 355 #define GPP_S05 INC(GPP_S04) 356 #define GPP_S06 INC(GPP_S05) 357 #define GPP_S07 INC(GPP_S06) 358 359 /* 360 * +----------------------------+ 361 * | Group JTAG | 362 * +------------------+---------+ 363 * | | MTL-M/P | 364 * +------------------+---------+ 365 * | Pad Start Number | 192 | 366 * +------------------+---------+ 367 * | Pad End Number | 203 | 368 * +------------------+---------+ 369 */ 370 #define GPP_JTAG_MBPB0 INC(GPP_S07) 371 #define GPP_JTAG_MBPB1 INC(GPP_JTAG_MBPB0) 372 #define GPP_JTAG_MBPB2 INC(GPP_JTAG_MBPB1) 373 #define GPP_JTAG_MBPB3 INC(GPP_JTAG_MBPB2) 374 #define GPP_JTAG_TD0 INC(GPP_JTAG_MBPB3) 375 #define GPP_PRDY_B INC(GPP_JTAG_TD0) 376 #define GPP_PREQ_B INC(GPP_PRDY_B) 377 #define GPP_JTAG_TDI INC(GPP_PREQ_B) 378 #define GPP_JTAG_TMS INC(GPP_JTAG_TDI) 379 #define GPP_JTAG_TCK INC(GPP_JTAG_TMS) 380 #define GPP_DBG_PMODE INC(GPP_JTAG_TCK) 381 #define GPP_JTAG_TRST_B INC(GPP_DBG_PMODE) 382 383 #define GPIO_COM4_START GPP_S00 384 #define GPIO_COM4_END GPP_JTAG_TRST_B 385 #define NUM_GPIO_COM4_PADS (GPP_JTAG_TRST_B - GPP_S00 + 1) 386 387 /* 388 * +----------------------------+ 389 * | Group B | 390 * +------------------+---------+ 391 * | | MTL-M/P | 392 * +------------------+---------+ 393 * | Pad Start Number | 204 | 394 * +------------------+---------+ 395 * | Pad End Number | 228 | 396 * +------------------+---------+ 397 */ 398 #define GPP_B00 INC(GPP_JTAG_TRST_B) 399 #define GPP_B01 INC(GPP_B00) 400 #define GPP_B02 INC(GPP_B01) 401 #define GPP_B03 INC(GPP_B02) 402 #define GPP_B04 INC(GPP_B03) 403 #define GPP_B05 INC(GPP_B04) 404 #define GPP_B06 INC(GPP_B05) 405 #define GPP_B07 INC(GPP_B06) 406 #define GPP_B08 INC(GPP_B07) 407 #define GPP_B09 INC(GPP_B08) 408 #define GPP_B10 INC(GPP_B09) 409 #define GPP_B11 INC(GPP_B10) 410 #define GPP_B12 INC(GPP_B11) 411 #define GPP_B13 INC(GPP_B12) 412 #define GPP_B14 INC(GPP_B13) 413 #define GPP_B15 INC(GPP_B14) 414 #define GPP_B16 INC(GPP_B15) 415 #define GPP_B17 INC(GPP_B16) 416 #define GPP_B18 INC(GPP_B17) 417 #define GPP_B19 INC(GPP_B18) 418 #define GPP_B20 INC(GPP_B19) 419 #define GPP_B21 INC(GPP_B20) 420 #define GPP_B22 INC(GPP_B21) 421 #define GPP_B23 INC(GPP_B22) 422 #define GPP_ACI3C0_CLK_LPBK INC(GPP_B23) 423 424 /* 425 * +----------------------------+ 426 * | Group D | 427 * +------------------+---------+ 428 * | | MTL-M/P | 429 * +------------------+---------+ 430 * | Pad Start Number | 229 | 431 * +------------------+---------+ 432 * | Pad End Number | 253 | 433 * +------------------+---------+ 434 */ 435 #define GPP_D00 INC(GPP_ACI3C0_CLK_LPBK) 436 #define GPP_D01 INC(GPP_D00) 437 #define GPP_D02 INC(GPP_D01) 438 #define GPP_D03 INC(GPP_D02) 439 #define GPP_D04 INC(GPP_D03) 440 #define GPP_D05 INC(GPP_D04) 441 #define GPP_D06 INC(GPP_D05) 442 #define GPP_D07 INC(GPP_D06) 443 #define GPP_D08 INC(GPP_D07) 444 #define GPP_D09 INC(GPP_D08) 445 #define GPP_D10 INC(GPP_D09) 446 #define GPP_D11 INC(GPP_D10) 447 #define GPP_D12 INC(GPP_D11) 448 #define GPP_D13 INC(GPP_D12) 449 #define GPP_D14 INC(GPP_D13) 450 #define GPP_D15 INC(GPP_D14) 451 #define GPP_D16 INC(GPP_D15) 452 #define GPP_D17 INC(GPP_D16) 453 #define GPP_D18 INC(GPP_D17) 454 #define GPP_D19 INC(GPP_D18) 455 #define GPP_D20 INC(GPP_D19) 456 #define GPP_D21 INC(GPP_D20) 457 #define GPP_D22 INC(GPP_D21) 458 #define GPP_D23 INC(GPP_D22) 459 #define GPP_BOOTHALT_B INC(GPP_D23) 460 461 /* 462 * +----------------------------+ 463 * | Group VGPIO | 464 * +------------------+---------+ 465 * | | MTL-M/P | 466 * +------------------+---------+ 467 * | Pad Start Number | 254 | 468 * +------------------+---------+ 469 * | Pad End Number | 288 | 470 * +------------------+---------+ 471 */ 472 #define GPP_VGPIO00 INC(GPP_BOOTHALT_B) 473 #define GPP_VGPIO04 INC(GPP_VGPIO00) 474 #define GPP_VGPIO05 INC(GPP_VGPIO04) 475 #define GPP_VGPIO06 INC(GPP_VGPIO05) 476 #define GPP_VGPIO07 INC(GPP_VGPIO06) 477 #define GPP_VGPIO08 INC(GPP_VGPIO07) 478 #define GPP_VGPIO09 INC(GPP_VGPIO08) 479 #define GPP_VGPIO10 INC(GPP_VGPIO09) 480 #define GPP_VGPIO11 INC(GPP_VGPIO10) 481 #define GPP_VGPIO12 INC(GPP_VGPIO11) 482 #define GPP_VGPIO13 INC(GPP_VGPIO12) 483 #define GPP_VGPIO18 INC(GPP_VGPIO13) 484 #define GPP_VGPIO19 INC(GPP_VGPIO18) 485 #define GPP_VGPIO20 INC(GPP_VGPIO19) 486 #define GPP_VGPIO21 INC(GPP_VGPIO20) 487 #define GPP_VGPIO22 INC(GPP_VGPIO21) 488 #define GPP_VGPIO23 INC(GPP_VGPIO22) 489 #define GPP_VGPIO24 INC(GPP_VGPIO23) 490 #define GPP_VGPIO25 INC(GPP_VGPIO24) 491 #define GPP_VGPIO30 INC(GPP_VGPIO25) 492 #define GPP_VGPIO31 INC(GPP_VGPIO30) 493 #define GPP_VGPIO32 INC(GPP_VGPIO31) 494 #define GPP_VGPIO33 INC(GPP_VGPIO32) 495 #define GPP_VGPIO34 INC(GPP_VGPIO33) 496 #define GPP_VGPIO35 INC(GPP_VGPIO34) 497 #define GPP_VGPIO36 INC(GPP_VGPIO35) 498 #define GPP_VGPIO37 INC(GPP_VGPIO36) 499 #define GPP_VGPIO40 INC(GPP_VGPIO37) 500 #define GPP_VGPIO41 INC(GPP_VGPIO40) 501 #define GPP_VGPIO42 INC(GPP_VGPIO41) 502 #define GPP_VGPIO43 INC(GPP_VGPIO42) 503 #define GPP_VGPIO44 INC(GPP_VGPIO43) 504 #define GPP_VGPIO45 INC(GPP_VGPIO44) 505 #define GPP_VGPIO46 INC(GPP_VGPIO45) 506 #define GPP_VGPIO47 INC(GPP_VGPIO46) 507 508 #define GPIO_COM5_START GPP_B00 509 #define GPIO_COM5_END GPP_VGPIO47 510 #define NUM_GPIO_COM5_PADS (GPP_VGPIO47 - GPP_B00 + 1) 511 512 #define TOTAL_GPIO_COMM (COMM_5 + 1) 513 #define TOTAL_PADS (GPIO_COM5_END + 1) 514 515 #endif 516