root@imx8qxpmek:/sys/class/gpio# ls
export gpiochip128 gpiochip224 gpiochip472 gpiochip96
gpio32 gpiochip160 gpiochip32 gpiochip480 unexport
gpiochip0 gpiochip192 gpiochip464 gpiochip64
root@imx8qxpmek:/sys/class/gpio#
1 in the above linux-imx got gpio pin addresss
2every board u must chk board user guides and reference manuals
3 for control gpio pin , we got 3 ways : bare metal, devices driver, and linux kernel applications, depend on what u want
Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore