Accessing GPIOs in Jetson TX1

Hello,

I need to access the GPIOs in Jetson TX1 through C code, for that I need to know the mapping between GPIOs(J21 extension header) on the Development board and the Linux Kernel (sysfs). Can anyone help by providing documentation or by a comment.

Thank you in advance.

hello ngatkesh,

you may refer to pinmux spreadsheets.
please also check https://www.jetsonhacks.com/nvidia-jetson-tx1-j21-header-pinout/ for Jetson TX1 J21 layouts.
thanks