the GPIO3_PAA.02
#define TEGRA_AON_GPIO_PORT_AA 5
#define TEGRA_AON_GPIO(port, offset)
((TEGRA_AON_GPIO_PORT_##port * 8) + offset)//256-319
the GPIO3_PAA.02 → ( 8 * 5) + 256 + 2 = 298
i
echo 298 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio298/direction
cat /sys/class/gpio/gpio298/value
i can’t get the correct value. the value is always 1.