GPIO number calculation for tegra234-gpio-aon port

I was going through Identifying the GPIO Number link.

The GPIO number calculation section was explained with an example for SOC_GPIO08, as shown in the below screen shot.

At the starting point of this section it was mentioned that there are two Jetson GPIO ports as shown in the below screen shot. It looks for the example SOC_GPIO08 pin, based on GPIO3_PB.00 (Port B) the gpio port was concluded as tegra234-gpio.

Anywhere it was mentioned about tegra234-gpio-aon ports and offset mapping. Looking for an example for tegra234-gpio-aon port.

The calculation doesn’t really matter.
You can just refer to the debugfs for GPIO to know the number of the pin you want to use.

cat /sys/kernel/debug/gpio

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