Forum Discussion
Jeet14
Frequent Contributor
2 years agoHi,
GPIO number you can get it with the boot log and the device tree gpio@<address>.
E.g. In the boot log you will see the below-
gpiochip_find_base: found new base at 480
gpio gpiochip0: (/soc/gpio@0xf9000270): added GPIO chardev (254:0)
gpio gpiochip0: registered GPIOs 480 to 511 on /soc/gpio@0xf9000270
In the device tree you will see the gpio@<address>
*.dts file is having the node--> gpio@0xf9000270 with 32 bit.
Regards
Tiwari