GPIO Mappings
Last updated
Last updated
Sadly it is not trivial to get the correct GPIO numbers that easy, this is why we try to provide a full list of GPIO Mappings on the following pages.
As new compute modules are released, new GPIO Mapping tables are needed and sometimes software updates also can change this mapping (we saw some problems with Jetpack 5.0).
The following chapter on how to calculate GPIOs is provided if you encounter any problems with our GPIO mapping tables
Pleas first check if your compute module is included in the provided tables
The above list should include every GPIO mapping there is. This “how to” may help you find errors we did in our documentation or to calculate GPIOs for upcoming compute modules or software changes.
The basic formula:
The GPIOletter is located between [GPIO3_P] and [.digit]
GPIOname | GPIOletter | GPIOletter (referenced) |
---|---|---|
This letter needs to be referenced to a number.
This number is individual to every Jetson module and can be found in the “tegra-gpio.h” (name may differ depending on module).
The Table is included at the end of this guide.
The GPIOdigit is easiest to get and can be extracted directly from the name.
GPIO3_PO.[GPIOdigit]
The Jetson module has 2 GPIO-Chips with a given offset. Each Chip provides a specific amount of GPIO's that are divided into several segments. The segments are differentiated by using letters.
Calculating GPIO number GPIO3_PK.04 for Jetson AGX Xavier:
These tables are extracted from the “tegra-gpio.h” file for the specific module:
GPIOname | GPIOdigit |
---|---|
GPIOname | GPIOoffset key | GPIOoffset (referenced) |
---|---|---|
Alpha Key | Value | Offset | Note |
---|---|---|---|
Alpha Key | Value | Offset | Note |
---|---|---|---|
Alpha Key | Value | Offset | Note |
---|---|---|---|
Alpha Key | Value | Offset |
---|---|---|
Alpha Key | Value | Offset | Note |
---|---|---|---|
Alpha Key | Value | Offset | Note |
---|---|---|---|
Alpha Key | Value | Offset | Note |
---|---|---|---|
Alpha Key | Value | Offset | Note |
---|---|---|---|
GPIO3_PK.04
4
GPIO3_PCC.07
7
GPIO3_PK.04
K.
288 (for AGX Xavier)
GPIO3_PCC.07
CC
248 (for AGX Xavier)
A.
0
288
B.
1
288
C.
2
288
D.
3
288
E.
4
288
F.
5
288
G.
6
288
H.
7
288
I.
8
288
J.
9
288
K.
10
288
L.
11
288
M.
12
288
N.
13
288
O.
14
288
P.
15
288
Q.
16
288
R.
17
288
S.
18
288
T.
19
288
U.
20
288
V.
21
288
W.
22
288
X.
23
288
Y.
24
288
Z.
25
288
AA
0
248
AON GPIO
BB
1
248
AON GPIO
CC
2
248
AON GPIO
DD
3
248
AON GPIO
EE
4
248
AON GPIO
FF
26
288
GG
27
288
A.
0
334
B.
1
334
C.
2
334
D.
3
334
E.
4
334
F.
5
334
G.
6
334
H.
7
334
I.
8
334
J.
9
334
K.
10
334
L.
11
334
M.
12
334
N.
13
334
O.
14
334
P.
15
334
Q.
16
334
R.
17
334
S.
18
334
T.
19
334
U.
20
334
V.
21
334
W.
22
334
X.
23
334
Y.
24
334
Z.
25
334
AA
0
307
AON GPIO
AC
TBD
334
AD
TBD
334
AE
TBD
334
AF
TBD
334
AG
TBD
334
BB
1
307
AON GPIO
CC
2
307
AON GPIO
DD
3
307
AON GPIO
EE
4
307
AON GPIO
FF
26
307
AON GPIO
GG
27
307
N GPIO
A.
0
288
B.
1
288
C.
2
288
D.
3
288
E.
4
288
F.
5
288
G.
6
288
H.
7
288
I.
8
288
J.
9
288
K.
10
288
L.
11
288
M.
12
288
N.
13
288
O.
14
288
P.
15
288
Q.
16
288
R.
17
288
S.
18
288
T.
19
288
U.
20
288
V.
21
288
W.
22
288
X.
23
288
Y.
24
288
Z.
25
288
AA
0
248
AON GPIO
BB
1
248
AON GPIO
CC
2
248
AON GPIO
DD
3
248
AON GPIO
EE
4
248
AON GPIO
FF
26
288
GG
27
288
A.
0
0
B.
1
0
C.
2
0
D.
3
0
E.
4
0
F.
5
0
G.
6
0
H.
7
0
I.
8
0
J.
9
0
K.
10
0
L.
11
0
M.
12
0
N.
13
0
O.
14
0
P.
15
0
Q.
16
0
R.
17
0
S.
18
0
T.
19
0
U.
20
0
V.
21
0
W.
22
0
X.
23
0
Y.
24
0
Z.
25
0
AA
26
0
BB
27
0
CC
28
0
DD
29
0
EE
30
0
FF
31
0
A.
0
320
B.
1
320
C.
2
320
D.
3
320
E.
4
320
F.
5
320
G.
6
320
H.
7
320
I.
8
320
J.
9
320
K.
10
320
L.
11
320
M.
12
320
N.
13
320
O.
14
320
P.
15
320
Q.
16
320
R.
17
320
S.
18
320
T.
19
320
U.
20
320
V.
21
320
W.
22
320
X.
23
320
Y.
24
320
Z.
25
320
AA
0
256
AON GPIO
BB
1
256
AON GPIO
CC
2
256
AON GPIO
DD
3
256
AON GPIO
EE
4
256
AON GPIO
FF
26
320
GG
27
320
A.
0
348
B.
1
348
C.
2
348
D.
3
348
E.
4
348
F.
5
348
G.
6
348
H.
7
348
I.
8
348
J.
9
348
K.
10
348
L.
11
348
M.
12
348
N.
13
348
P.
14
348
Q.
15
348
R.
16
348
S.
17
348
T.
18
348
U.
19
348
V.
20
348
W.
21
348
X.
22
348
Y.
23
348
Z.
24
348
AA
25
316
AON GPIO
AC
26
316
AON GPIO
AD
27
316
AON GPIO
AE
28
316
AON GPIO
AF
29
316
AON GPIO
AG
30
316
AON GPIO
BB
31
316
AON GPIO
CC
32
316
AON GPIO
DD
33
316
AON GPIO
EE
34
316
AON GPIO
GG
35
316
AON GPIO
HH
36
316
AON GPIO
A.
0
320
B.
1
320
C.
2
320
D.
3
320
E.
4
320
F.
5
320
G.
6
320
H.
7
320
I.
8
320
J.
9
320
K.
10
320
L.
11
320
M.
12
320
N.
13
320
O.
14
320
P.
15
320
Q.
16
320
R.
17
320
S.
0
256
AON GPIO
T.
18
320
U.
1
256
AON GPIO
V.
2
256
AON GPIO
W.
3
256
AON GPIO
X.
19
320
Y.
20
320
Z.
4
256
AON GPIO
AA
5
256
AON GPIO
BB
21
320
CC
22
320
DD
23
320
EE
6
256
AON GPIO
FF
7
256
AON GPIO
A.
0
0
B.
1
0
C.
2
0
D.
3
0
E.
4
0
F.
5
0
G.
6
0
H.
7
0
I.
8
0
J.
9
0
K.
10
0
L.
11
0
M.
12
0
N.
13
0
O.
14
0
P.
15
0
Q.
16
0
R.
17
0
S.
18
0
T.
19
0
U.
20
0
V.
21
0
W.
22
0
X.
23
0
Y.
24
0
Z.
25
0
AA
26
0
BB
27
0
CC
28
0
DD
29
0
EE
30
0
FF
31
0
GPIO3_PK.04
K.
10 (for AGX Xavier)
GPIO3_PCC.07
CC
2 (for AGX Xavier)