Jetson Xavier NX GPIO Header J12 PINOUT

By default, I2C and UART pins are assigned. All other pins (except power and ground) are assigned as GPIO. Pins labeled with other functions below are suggested functions.

Sysfs GPIONamePinPinNameSysfs GPIO
Jetson Xavier NX J12 Header
 3.3 VDC
Power
1
2
5.0 VDC
Power
 
 I2C1_SDA
I2C Bus 8
3
4
5.0 VDC
Power
 
 I2C1_SCL
I2C Bus 8
5
6
GND 
 gpio148GPIO9
AUDIO_MCLK 
7
8
UART1_TX
/dev/ttyTHS0
 
 GND
9
10
UART1_RX
/dev/ttyTHS0
 
 gpio140UART1_RTS
11
12
I2S0_SCLK gpio157
 gpio192 SPI1_SCK
13
14
GND 
 gpio20GPIO12
Alt: PWM
15
16
 SPI1_CS1 gpio196
 3.3 VDC
Power
17
18
 SPI1_CS0  gpio195
 gpio205SPI0_MOSI
19
20
GND 
 gpio204SPI0_MISO
21
22
 SPI1_MISO  gpio193
 gpio203 SPI0_SCK 
23
24
 SPI0_CS0  gpio206
 GND
25
26
 SPI0_CS1  gpio207
 I2C0_SDA
I2C Bus 1
27
28
I2C0_SCL
I2C Bus 1
 
 gpio133GPIO01
29
30
GND 
 gpio134 GPIO11

31
32
 GPIO07
Alt: PWM 
 gpio136
 gpio105 GPIO13
Alt: PWM 
33
34
GND 
 gpio160 I2S0_FS 
35
36
 UART1_CTS  gpio141
 gpio194 SPI1_MOSI
37
38
I2S0_SDIN gpio159
 GND
39
40
 I2S0_SDOUT  gpio158
Jetson Xavier NX – Pin 1 is on the outside edge

Notes

Last update 6-16-20 – Preliminary

  • 6-16-2020 – Preliminary.
  • Pin 32 – When configured as PWM:
    • PWM chip sysfs directory: /sys/devices/32f0000.pwm
    • PWM ID within PWM chip: 0
  • Pin 33 – When configured as PWM:
    • PWM chip sysfs directory: /sys/devices/3280000.pwm
    • PWM ID within PWM chip: 0