Orin SysFs Pin Mapping for GPIO

Hello, I am trying to control the gpio’s on the new orin dev kit and need the pin mapping for the sysfs on the 40 pin header. Is there any documentation for this?

hello royn,

these should helps, Jetson AGX Orin Developer Kit User Guide - Hardware Layout | NVIDIA Developer
or… NVIDIA Jetson AGX Orin GPIO Header Pinout - JetsonHacks

I have already looked at those links previously and they do not provide the specific information to the sysfs pin mapping.

roy

hello royn,

may I know what’s the actual use-case?
are you going to check the hardware pins correspond to its GPIO numbers?
for example,
please refer to developer guide, Identifying the GPIO Number to check this via sysnodes.

Our use case is to control an led or device from gpio using python. I checked the link you sent and found gpio8 (soc_gpio22) gpio3_PQ.02 which is displayed as gpio 450 when running the command cat /sys/kernel/debug/gpio | grep PQ.02. I used the pinmux table downloaded from your site which is for orin but is named jeston_xavier_nx_pinmux_configuration. GPIO8 is on the 40 pin header as a standard gpio. After exporting the gpio, setting as output and setting value to 1, we still read 0V on gpio8 (pin 16) on the 40 pin header.

Do you have a working python example to turn on and off any one of the gpio’s on the 40 pin header.

Thks
roy

hello royn,

you’re downloading incorrect file, please use this, Jetson AGX Orin Series Pinmux since you’re working with AGX Orin platform.

Hello,

Ok that pinmux table helped me to get it working. Thks.

roy

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.