Skip to main content
Version: 5.0

GPIO Alphanumeric to GPIO Numeric Assignment

GPIO

This article describes the relationship between a SOC's GPIO Name and GPIO number used in various SW APIs.

Most pins on a SOC can be configured for different functions, one of them GPIO.

A SOC pin has an alphanumeric name, the GPIO functionality usually has an alphanumeric name and in the SW APIs the GPIO is often referenced as a number.

To make matters more complicated the SOC pin is then routed to the modules connector and gets an additional module pin name and number.

The WinCE GPIOLib.h provides a MACRO for the conversion from alphanumeric to numbers (TEGRA_GPIONUM). We recommend to use the SODIMM pin number instead of GPIO Numbers for better compatibility with other Colibri modules when ever possible.

The Linux kernel uses the numeric-only representation in its GPIO subsystem and in the sysfs interface to the GPIO functionality.

e.g. on a Colibri T20 the T20 pin SDIO3_DAT0 has the following relationships.

Module Pin NameModule Pin NumberSOC Pin NameSOC GPIO NameGPIO number
GPIO: PS2.SCL1
SODIMM_63
63SDIO3_DAT0B715

The relationship between Module Pin Name / Module Pin Number / SOC Pin Name / SOC GPIO Name can be found in the modules datasheet.

Apalis iMX8

The i.MX 8 modules have GPIO controllers which can control up to 32 GPIOs. The GPIO names are formed "LSIO.GPIO<controller>.IO<gpio>" with controller in 0..6 and gpio in 00..31.

E.g. a GPIO function could be named LSIO.GPIO2.IO04.

The numeric value is calculated as follows:

480 - 32 x controller + gpio

E.g. LSIO.GPIO0.IO00 becomes 480, LSIO.GPIO2.IO04 becomes 420

You must find the correspondence between GPIO and the edge connector pin (X1) that you want to use in the CoM datasheet. A good place to start is the SoC Function List:

Apalis iMX8 GPIO table
danger

this table is automatically generated from the formula above. Some of the GPIO lines from the table may not be available in a specific Toradex SoM or NXP SoC.

GpioNumeric Representation
LSIO.GPIO00.IO00480
LSIO.GPIO00.IO01481
LSIO.GPIO00.IO02482
LSIO.GPIO00.IO03483
LSIO.GPIO00.IO04484
LSIO.GPIO00.IO05485
LSIO.GPIO00.IO06486
LSIO.GPIO00.IO07487
LSIO.GPIO00.IO08488
LSIO.GPIO00.IO09489
LSIO.GPIO00.IO10490
LSIO.GPIO00.IO11491
LSIO.GPIO00.IO12492
LSIO.GPIO00.IO13493
LSIO.GPIO00.IO14494
LSIO.GPIO00.IO15495
LSIO.GPIO00.IO16496
LSIO.GPIO00.IO17497
LSIO.GPIO00.IO18498
LSIO.GPIO00.IO19499
LSIO.GPIO00.IO20500
LSIO.GPIO00.IO21501
LSIO.GPIO00.IO22502
LSIO.GPIO00.IO23503
LSIO.GPIO00.IO24504
LSIO.GPIO00.IO25505
LSIO.GPIO00.IO26506
LSIO.GPIO00.IO27507
LSIO.GPIO00.IO28508
LSIO.GPIO00.IO29509
LSIO.GPIO00.IO30510
LSIO.GPIO00.IO31511
LSIO.GPIO01.IO00448
LSIO.GPIO01.IO01449
LSIO.GPIO01.IO02450
LSIO.GPIO01.IO03451
LSIO.GPIO01.IO04452
LSIO.GPIO01.IO05453
LSIO.GPIO01.IO06454
LSIO.GPIO01.IO07455
LSIO.GPIO01.IO08456
LSIO.GPIO01.IO09457
LSIO.GPIO01.IO10458
LSIO.GPIO01.IO11459
LSIO.GPIO01.IO12460
LSIO.GPIO01.IO13461
LSIO.GPIO01.IO14462
LSIO.GPIO01.IO15463
LSIO.GPIO01.IO16464
LSIO.GPIO01.IO17465
LSIO.GPIO01.IO18466
LSIO.GPIO01.IO19467
LSIO.GPIO01.IO20468
LSIO.GPIO01.IO21469
LSIO.GPIO01.IO22470
LSIO.GPIO01.IO23471
LSIO.GPIO01.IO24472
LSIO.GPIO01.IO25473
LSIO.GPIO01.IO26474
LSIO.GPIO01.IO27475
LSIO.GPIO01.IO28476
LSIO.GPIO01.IO29477
LSIO.GPIO01.IO30478
LSIO.GPIO01.IO31479
LSIO.GPIO02.IO00416
LSIO.GPIO02.IO01417
LSIO.GPIO02.IO02418
LSIO.GPIO02.IO03419
LSIO.GPIO02.IO04420
LSIO.GPIO02.IO05421
LSIO.GPIO02.IO06422
LSIO.GPIO02.IO07423
LSIO.GPIO02.IO08424
LSIO.GPIO02.IO09425
LSIO.GPIO02.IO10426
LSIO.GPIO02.IO11427
LSIO.GPIO02.IO12428
LSIO.GPIO02.IO13429
LSIO.GPIO02.IO14430
LSIO.GPIO02.IO15431
LSIO.GPIO02.IO16432
LSIO.GPIO02.IO17433
LSIO.GPIO02.IO18434
LSIO.GPIO02.IO19435
LSIO.GPIO02.IO20436
LSIO.GPIO02.IO21437
LSIO.GPIO02.IO22438
LSIO.GPIO02.IO23439
LSIO.GPIO02.IO24440
LSIO.GPIO02.IO25441
LSIO.GPIO02.IO26442
LSIO.GPIO02.IO27443
LSIO.GPIO02.IO28444
LSIO.GPIO02.IO29445
LSIO.GPIO02.IO30446
LSIO.GPIO02.IO31447
LSIO.GPIO03.IO00384
LSIO.GPIO03.IO01385
LSIO.GPIO03.IO02386
LSIO.GPIO03.IO03387
LSIO.GPIO03.IO04388
LSIO.GPIO03.IO05389
LSIO.GPIO03.IO06390
LSIO.GPIO03.IO07391
LSIO.GPIO03.IO08392
LSIO.GPIO03.IO09393
LSIO.GPIO03.IO10394
LSIO.GPIO03.IO11395
LSIO.GPIO03.IO12396
LSIO.GPIO03.IO13397
LSIO.GPIO03.IO14398
LSIO.GPIO03.IO15399
LSIO.GPIO03.IO16400
LSIO.GPIO03.IO17401
LSIO.GPIO03.IO18402
LSIO.GPIO03.IO19403
LSIO.GPIO03.IO20404
LSIO.GPIO03.IO21405
LSIO.GPIO03.IO22406
LSIO.GPIO03.IO23407
LSIO.GPIO03.IO24408
LSIO.GPIO03.IO25409
LSIO.GPIO03.IO26410
LSIO.GPIO03.IO27411
LSIO.GPIO03.IO28412
LSIO.GPIO03.IO29413
LSIO.GPIO03.IO30414
LSIO.GPIO03.IO31415
LSIO.GPIO04.IO00352
LSIO.GPIO04.IO01353
LSIO.GPIO04.IO02354
LSIO.GPIO04.IO03355
LSIO.GPIO04.IO04356
LSIO.GPIO04.IO05357
LSIO.GPIO04.IO06358
LSIO.GPIO04.IO07359
LSIO.GPIO04.IO08360
LSIO.GPIO04.IO09361
LSIO.GPIO04.IO10362
LSIO.GPIO04.IO11363
LSIO.GPIO04.IO12364
LSIO.GPIO04.IO13365
LSIO.GPIO04.IO14366
LSIO.GPIO04.IO15367
LSIO.GPIO04.IO16368
LSIO.GPIO04.IO17369
LSIO.GPIO04.IO18370
LSIO.GPIO04.IO19371
LSIO.GPIO04.IO20372
LSIO.GPIO04.IO21373
LSIO.GPIO04.IO22374
LSIO.GPIO04.IO23375
LSIO.GPIO04.IO24376
LSIO.GPIO04.IO25377
LSIO.GPIO04.IO26378
LSIO.GPIO04.IO27379
LSIO.GPIO04.IO28380
LSIO.GPIO04.IO29381
LSIO.GPIO04.IO30382
LSIO.GPIO04.IO31383
LSIO.GPIO05.IO00320
LSIO.GPIO05.IO01321
LSIO.GPIO05.IO02322
LSIO.GPIO05.IO03323
LSIO.GPIO05.IO04324
LSIO.GPIO05.IO05325
LSIO.GPIO05.IO06326
LSIO.GPIO05.IO07327
LSIO.GPIO05.IO08328
LSIO.GPIO05.IO09329
LSIO.GPIO05.IO10330
LSIO.GPIO05.IO11331
LSIO.GPIO05.IO12332
LSIO.GPIO05.IO13333
LSIO.GPIO05.IO14334
LSIO.GPIO05.IO15335
LSIO.GPIO05.IO16336
LSIO.GPIO05.IO17337
LSIO.GPIO05.IO18338
LSIO.GPIO05.IO19339
LSIO.GPIO05.IO20340
LSIO.GPIO05.IO21341
LSIO.GPIO05.IO22342
LSIO.GPIO05.IO23343
LSIO.GPIO05.IO24344
LSIO.GPIO05.IO25345
LSIO.GPIO05.IO26346
LSIO.GPIO05.IO27347
LSIO.GPIO05.IO28348
LSIO.GPIO05.IO29349
LSIO.GPIO05.IO30350
LSIO.GPIO05.IO31351
LSIO.GPIO06.IO00288
LSIO.GPIO06.IO01289
LSIO.GPIO06.IO02290
LSIO.GPIO06.IO03291
LSIO.GPIO06.IO04292
LSIO.GPIO06.IO05293
LSIO.GPIO06.IO06294
LSIO.GPIO06.IO07295
LSIO.GPIO06.IO08296
LSIO.GPIO06.IO09297
LSIO.GPIO06.IO10298
LSIO.GPIO06.IO11299
LSIO.GPIO06.IO12300
LSIO.GPIO06.IO13301
LSIO.GPIO06.IO14302
LSIO.GPIO06.IO15303
LSIO.GPIO06.IO16304
LSIO.GPIO06.IO17305
LSIO.GPIO06.IO18306
LSIO.GPIO06.IO19307
LSIO.GPIO06.IO20308
LSIO.GPIO06.IO21309
LSIO.GPIO06.IO22310
LSIO.GPIO06.IO23311
LSIO.GPIO06.IO24312
LSIO.GPIO06.IO25313
LSIO.GPIO06.IO26314
LSIO.GPIO06.IO27315
LSIO.GPIO06.IO28316
LSIO.GPIO06.IO29317
LSIO.GPIO06.IO30318
LSIO.GPIO06.IO31319

Colibri iMX8X

The i.MX 8X modules have GPIO controllers which can control up to 32 GPIOs. The GPIO names are formed "LSIO.GPIO<controller>.IO<gpio>" with controller in 0..6 and gpio in 00..31.

E.g. a GPIO function could be named LSIO.GPIO2.IO04.

The numeric value is calculated as follows:

32 x controller + gpio

E.g. LSIO.GPIO0.IO00 becomes 0, LSIO.GPIO2.IO04 becomes 68

You must find the correspondence between GPIO and the edge connector pin (X1) that you want to use in the CoM datasheet. A good place to start is the SoC Function List:

Colibri iMX8X GPIO table
danger

this table is automatically generated from the formula above. Some of the GPIO lines from the table may not be available in a specific Toradex SoM or NXP SoC.

GpioNumeric Representation
LSIO.GPIO00.IO000
LSIO.GPIO00.IO011
LSIO.GPIO00.IO022
LSIO.GPIO00.IO033
LSIO.GPIO00.IO044
LSIO.GPIO00.IO055
LSIO.GPIO00.IO066
LSIO.GPIO00.IO077
LSIO.GPIO00.IO088
LSIO.GPIO00.IO099
LSIO.GPIO00.IO1010
LSIO.GPIO00.IO1111
LSIO.GPIO00.IO1212
LSIO.GPIO00.IO1313
LSIO.GPIO00.IO1414
LSIO.GPIO00.IO1515
LSIO.GPIO00.IO1616
LSIO.GPIO00.IO1717
LSIO.GPIO00.IO1818
LSIO.GPIO00.IO1919
LSIO.GPIO00.IO2020
LSIO.GPIO00.IO2121
LSIO.GPIO00.IO2222
LSIO.GPIO00.IO2323
LSIO.GPIO00.IO2424
LSIO.GPIO00.IO2525
LSIO.GPIO00.IO2626
LSIO.GPIO00.IO2727
LSIO.GPIO00.IO2828
LSIO.GPIO00.IO2929
LSIO.GPIO00.IO3030
LSIO.GPIO00.IO3131
LSIO.GPIO01.IO0032
LSIO.GPIO01.IO0133
LSIO.GPIO01.IO0234
LSIO.GPIO01.IO0335
LSIO.GPIO01.IO0436
LSIO.GPIO01.IO0537
LSIO.GPIO01.IO0638
LSIO.GPIO01.IO0739
LSIO.GPIO01.IO0840
LSIO.GPIO01.IO0941
LSIO.GPIO01.IO1042
LSIO.GPIO01.IO1143
LSIO.GPIO01.IO1244
LSIO.GPIO01.IO1345
LSIO.GPIO01.IO1446
LSIO.GPIO01.IO1547
LSIO.GPIO01.IO1648
LSIO.GPIO01.IO1749
LSIO.GPIO01.IO1850
LSIO.GPIO01.IO1951
LSIO.GPIO01.IO2052
LSIO.GPIO01.IO2153
LSIO.GPIO01.IO2254
LSIO.GPIO01.IO2355
LSIO.GPIO01.IO2456
LSIO.GPIO01.IO2557
LSIO.GPIO01.IO2658
LSIO.GPIO01.IO2759
LSIO.GPIO01.IO2860
LSIO.GPIO01.IO2961
LSIO.GPIO01.IO3062
LSIO.GPIO01.IO3163
LSIO.GPIO02.IO0064
LSIO.GPIO02.IO0165
LSIO.GPIO02.IO0266
LSIO.GPIO02.IO0367
LSIO.GPIO02.IO0468
LSIO.GPIO02.IO0569
LSIO.GPIO02.IO0670
LSIO.GPIO02.IO0771
LSIO.GPIO02.IO0872
LSIO.GPIO02.IO0973
LSIO.GPIO02.IO1074
LSIO.GPIO02.IO1175
LSIO.GPIO02.IO1276
LSIO.GPIO02.IO1377
LSIO.GPIO02.IO1478
LSIO.GPIO02.IO1579
LSIO.GPIO02.IO1680
LSIO.GPIO02.IO1781
LSIO.GPIO02.IO1882
LSIO.GPIO02.IO1983
LSIO.GPIO02.IO2084
LSIO.GPIO02.IO2185
LSIO.GPIO02.IO2286
LSIO.GPIO02.IO2387
LSIO.GPIO02.IO2488
LSIO.GPIO02.IO2589
LSIO.GPIO02.IO2690
LSIO.GPIO02.IO2791
LSIO.GPIO02.IO2892
LSIO.GPIO02.IO2993
LSIO.GPIO02.IO3094
LSIO.GPIO02.IO3195
LSIO.GPIO03.IO0096
LSIO.GPIO03.IO0197
LSIO.GPIO03.IO0298
LSIO.GPIO03.IO0399
LSIO.GPIO03.IO04100
LSIO.GPIO03.IO05101
LSIO.GPIO03.IO06102
LSIO.GPIO03.IO07103
LSIO.GPIO03.IO08104
LSIO.GPIO03.IO09105
LSIO.GPIO03.IO10106
LSIO.GPIO03.IO11107
LSIO.GPIO03.IO12108
LSIO.GPIO03.IO13109
LSIO.GPIO03.IO14110
LSIO.GPIO03.IO15111
LSIO.GPIO03.IO16112
LSIO.GPIO03.IO17113
LSIO.GPIO03.IO18114
LSIO.GPIO03.IO19115
LSIO.GPIO03.IO20116
LSIO.GPIO03.IO21117
LSIO.GPIO03.IO22118
LSIO.GPIO03.IO23119
LSIO.GPIO03.IO24120
LSIO.GPIO03.IO25121
LSIO.GPIO03.IO26122
LSIO.GPIO03.IO27123
LSIO.GPIO03.IO28124
LSIO.GPIO03.IO29125
LSIO.GPIO03.IO30126
LSIO.GPIO03.IO31127
LSIO.GPIO04.IO00128
LSIO.GPIO04.IO01129
LSIO.GPIO04.IO02130
LSIO.GPIO04.IO03131
LSIO.GPIO04.IO04132
LSIO.GPIO04.IO05133
LSIO.GPIO04.IO06134
LSIO.GPIO04.IO07135
LSIO.GPIO04.IO08136
LSIO.GPIO04.IO09137
LSIO.GPIO04.IO10138
LSIO.GPIO04.IO11139
LSIO.GPIO04.IO12140
LSIO.GPIO04.IO13141
LSIO.GPIO04.IO14142
LSIO.GPIO04.IO15143
LSIO.GPIO04.IO16144
LSIO.GPIO04.IO17145
LSIO.GPIO04.IO18146
LSIO.GPIO04.IO19147
LSIO.GPIO04.IO20148
LSIO.GPIO04.IO21149
LSIO.GPIO04.IO22150
LSIO.GPIO04.IO23151
LSIO.GPIO04.IO24152
LSIO.GPIO04.IO25153
LSIO.GPIO04.IO26154
LSIO.GPIO04.IO27155
LSIO.GPIO04.IO28156
LSIO.GPIO04.IO29157
LSIO.GPIO04.IO30158
LSIO.GPIO04.IO31159
LSIO.GPIO05.IO00160
LSIO.GPIO05.IO01161
LSIO.GPIO05.IO02162
LSIO.GPIO05.IO03163
LSIO.GPIO05.IO04164
LSIO.GPIO05.IO05165
LSIO.GPIO05.IO06166
LSIO.GPIO05.IO07167
LSIO.GPIO05.IO08168
LSIO.GPIO05.IO09169
LSIO.GPIO05.IO10170
LSIO.GPIO05.IO11171
LSIO.GPIO05.IO12172
LSIO.GPIO05.IO13173
LSIO.GPIO05.IO14174
LSIO.GPIO05.IO15175
LSIO.GPIO05.IO16176
LSIO.GPIO05.IO17177
LSIO.GPIO05.IO18178
LSIO.GPIO05.IO19179
LSIO.GPIO05.IO20180
LSIO.GPIO05.IO21181
LSIO.GPIO05.IO22182
LSIO.GPIO05.IO23183
LSIO.GPIO05.IO24184
LSIO.GPIO05.IO25185
LSIO.GPIO05.IO26186
LSIO.GPIO05.IO27187
LSIO.GPIO05.IO28188
LSIO.GPIO05.IO29189
LSIO.GPIO05.IO30190
LSIO.GPIO05.IO31191
LSIO.GPIO06.IO00192
LSIO.GPIO06.IO01193
LSIO.GPIO06.IO02194
LSIO.GPIO06.IO03195
LSIO.GPIO06.IO04196
LSIO.GPIO06.IO05197
LSIO.GPIO06.IO06198
LSIO.GPIO06.IO07199
LSIO.GPIO06.IO08200
LSIO.GPIO06.IO09201
LSIO.GPIO06.IO10202
LSIO.GPIO06.IO11203
LSIO.GPIO06.IO12204
LSIO.GPIO06.IO13205
LSIO.GPIO06.IO14206
LSIO.GPIO06.IO15207
LSIO.GPIO06.IO16208
LSIO.GPIO06.IO17209
LSIO.GPIO06.IO18210
LSIO.GPIO06.IO19211
LSIO.GPIO06.IO20212
LSIO.GPIO06.IO21213
LSIO.GPIO06.IO22214
LSIO.GPIO06.IO23215
LSIO.GPIO06.IO24216
LSIO.GPIO06.IO25217
LSIO.GPIO06.IO26218
LSIO.GPIO06.IO27219
LSIO.GPIO06.IO28220
LSIO.GPIO06.IO29221
LSIO.GPIO06.IO30222
LSIO.GPIO06.IO31223

iMX6, iMX6ULL, iMX7, iMX8M Mini/Plus

The i.MX 6/6ULL/7/8M Mini/8M Plus modules have GPIO controllers which can control up to 32 GPIOs. The GPIO names are formed "GPIO<controller>_IO<gpio>" or "gpio<controller>.IO[<gpio>]" with controller in 1..7 and gpio in 00..31. E.g. a GPIO function could be named GPIO2_IO04 or gpio2.IO04, depending on the processor.

The numeric value is calculated as follows:

32 x (controller- 1) + gpio

E.g. GPIO1_IO00 becomes 0, GPIO2_IO04 becomes 36

Note that not all GPIO controllers provide all 32 possible GPIOs, so the list has gaps.

You must find the correspondence between GPIO and the edge connector pin (X1) that you want to use in the CoM datasheet. A good place to start is the SoC Function List:

iMX6, iMX6ULL, iMX7, iMX8M Mini/Plus GPIO table
GpioNumeric Representation
GPIO1_IO000
GPIO1_IO011
GPIO1_IO022
GPIO1_IO033
GPIO1_IO044
GPIO1_IO055
GPIO1_IO066
GPIO1_IO077
GPIO1_IO088
GPIO1_IO099
GPIO1_IO1010
GPIO1_IO1111
GPIO1_IO1212
GPIO1_IO1313
GPIO1_IO1414
GPIO1_IO1515
GPIO1_IO1616
GPIO1_IO1717
GPIO1_IO1818
GPIO1_IO1919
GPIO1_IO2020
GPIO1_IO2121
GPIO1_IO2222
GPIO1_IO2323
GPIO1_IO2424
GPIO1_IO2525
GPIO1_IO2626
GPIO1_IO2727
GPIO1_IO2828
GPIO1_IO2929
GPIO1_IO3030
GPIO1_IO3131
GPIO2_IO0032
GPIO2_IO0133
GPIO2_IO0234
GPIO2_IO0335
GPIO2_IO0436
GPIO2_IO0537
GPIO2_IO0638
GPIO2_IO0739
GPIO2_IO0840
GPIO2_IO0941
GPIO2_IO1042
GPIO2_IO1143
GPIO2_IO1244
GPIO2_IO1345
GPIO2_IO1446
GPIO2_IO1547
GPIO2_IO1648
GPIO2_IO1749
GPIO2_IO1850
GPIO2_IO1951
GPIO2_IO2052
GPIO2_IO2153
GPIO2_IO2254
GPIO2_IO2355
GPIO2_IO2456
GPIO2_IO2557
GPIO2_IO2658
GPIO2_IO2759
GPIO2_IO2860
GPIO2_IO2961
GPIO2_IO3062
GPIO2_IO3163
GPIO3_IO0064
GPIO3_IO0165
GPIO3_IO0266
GPIO3_IO0367
GPIO3_IO0468
GPIO3_IO0569
GPIO3_IO0670
GPIO3_IO0771
GPIO3_IO0872
GPIO3_IO0973
GPIO3_IO1074
GPIO3_IO1175
GPIO3_IO1276
GPIO3_IO1377
GPIO3_IO1478
GPIO3_IO1579
GPIO3_IO1680
GPIO3_IO1781
GPIO3_IO1882
GPIO3_IO1983
GPIO3_IO2084
GPIO3_IO2185
GPIO3_IO2286
GPIO3_IO2387
GPIO3_IO2488
GPIO3_IO2589
GPIO3_IO2690
GPIO3_IO2791
GPIO3_IO2892
GPIO3_IO2993
GPIO3_IO3094
GPIO3_IO3195
GPIO4_IO05101
GPIO4_IO06102
GPIO4_IO07103
GPIO4_IO08104
GPIO4_IO09105
GPIO4_IO10106
GPIO4_IO11107
GPIO4_IO12108
GPIO4_IO13109
GPIO4_IO14110
GPIO4_IO15111
GPIO4_IO16112
GPIO4_IO17113
GPIO4_IO18114
GPIO4_IO19115
GPIO4_IO20116
GPIO4_IO21117
GPIO4_IO22118
GPIO4_IO23119
GPIO4_IO24120
GPIO4_IO25121
GPIO4_IO26122
GPIO4_IO27123
GPIO4_IO28124
GPIO4_IO29125
GPIO4_IO30126
GPIO4_IO31127
GPIO5_IO00128
GPIO5_IO02130
GPIO5_IO04132
GPIO5_IO05133
GPIO5_IO06134
GPIO5_IO07135
GPIO5_IO08136
GPIO5_IO09137
GPIO5_IO10138
GPIO5_IO11139
GPIO5_IO12140
GPIO5_IO13141
GPIO5_IO14142
GPIO5_IO15143
GPIO5_IO16144
GPIO5_IO17145
GPIO5_IO18146
GPIO5_IO19147
GPIO5_IO20148
GPIO5_IO21149
GPIO5_IO22150
GPIO5_IO23151
GPIO5_IO24152
GPIO5_IO25153
GPIO5_IO26154
GPIO5_IO27155
GPIO5_IO28156
GPIO5_IO29157
GPIO5_IO30158
GPIO5_IO31159
GPIO6_IO00160
GPIO6_IO01161
GPIO6_IO02162
GPIO6_IO03163
GPIO6_IO04164
GPIO6_IO05165
GPIO6_IO06166
GPIO6_IO07167
GPIO6_IO08168
GPIO6_IO09169
GPIO6_IO10170
GPIO6_IO11171
GPIO6_IO14174
GPIO6_IO15175
GPIO6_IO16176
GPIO6_IO17177
GPIO6_IO18178
GPIO6_IO19179
GPIO6_IO20180
GPIO6_IO21181
GPIO6_IO22182
GPIO6_IO23183
GPIO6_IO24184
GPIO6_IO25185
GPIO6_IO26186
GPIO6_IO27187
GPIO6_IO28188
GPIO6_IO29189
GPIO6_IO30190
GPIO6_IO31191
GPIO7_IO00192
GPIO7_IO01193
GPIO7_IO02194
GPIO7_IO03195
GPIO7_IO04196
GPIO7_IO05197
GPIO7_IO06198
GPIO7_IO07199
GPIO7_IO08200
GPIO7_IO09201
GPIO7_IO10202
GPIO7_IO11203
GPIO7_IO12204
GPIO7_IO13205

Apalis TK1

The Tegra CPU defines GPIOs with an alphanumeric term, e.g. A1 or T5 (GPIO-Q.01).

The numeric value is calculated as follows:

8 x (Character - 'A') + Digit

So A0 becomes 0, A7 becomes 7, B0 becomes 8, ...

The Linux kernel defines macros in arch/arm/mach-tegra/gpio-names.h for each GPIO.

Apalis TK1 GPIO table

The following table lists all assignments of Tegra GPIO to their numeric representation.
GpioNumeric Representation
A00
A11
A22
A33
A44
A55
A66
A77
B08
B19
B210
B311
B412
B513
B614
B715
C016
C117
C218
C319
C420
C521
C622
C723
D024
D125
D226
D327
D428
D529
D630
D731
E032
E133
E234
E335
E436
E537
E638
E739
F040
F141
F242
F343
F444
F545
F646
F747
G048
G149
G250
G351
G452
G553
G654
G755
H056
H157
H258
H359
H460
H561
H662
H763
I064
I165
I266
I367
I468
I569
I670
I771
J072
J173
J274
J375
J476
J577
J678
J779
K080
K181
K282
K383
K484
K585
K686
K787
L088
L189
L290
L391
L492
L593
L694
L795
M096
M197
M298
M399
M4100
M5101
M6102
M7103
N0104
N1105
N2106
N3107
N4108
N5109
N6110
N7111
O0112
O1113
O2114
O3115
O4116
O5117
O6118
O7119
P0120
P1121
P2122
P3123
P4124
P5125
P6126
P7127
Q0128
Q1129
Q2130
Q3131
Q4132
Q5133
Q6134
Q7135
R0136
R1137
R2138
R3139
R4140
R5141
R6142
R7143
S0144
S1145
S2146
S3147
S4148
S5149
S6150
S7151
T0152
T1153
T2154
T3155
T4156
T5157
T6158
T7159
U0160
U1161
U2162
U3163
U4164
U5165
U6166
U7167
V0168
V1169
V2170
V3171
V4172
V5173
V6174
V7175
W0176
W1177
W2178
W3179
W4180
W5181
W6182
W7183
X0184
X1185
X2186
X3187
X4188
X5189
X6190
X7191
Y0192
Y1193
Y2194
Y3195
Y4196
Y5197
Y6198
Y7199
Z0200
Z1201
Z2202
Z3203
Z4204
Z5205
Z6206
Z7207
AA0208
AA1209
AA2210
AA3211
AA4212
AA5213
AA6214
AA7215
BB0216
BB1217
BB2218
BB3219
BB4220
BB5221
Additionaly on T30
GpioNumeric Representation
BB6222
BB7223
CC0224
CC1225
CC2226
CC3227
CC4228
CC5229
CC6230
CC7231
DD0232
DD1233
DD2234
DD3235
DD4236
DD5237
DD6238
DD7239
EE0240
EE1241
EE2242
EE3243
Additionaly on TK1
GpioNumeric Representation
EE4244
EE5245
EE6246
EE7247
FF0248
FF1249
FF2250
Send Feedback!