Hi all,
I’m trying to use gpio, but i cant find the proper gpio numbers.
I found 488 is GPIO-G/LCD_TE0/PIN29 , but i cant seem to find the rest.
Any help?
thanks
Hi all,
I’m trying to use gpio, but i cant find the proper gpio numbers.
I found 488 is GPIO-G/LCD_TE0/PIN29 , but i cant seem to find the rest.
Any help?
thanks
The documentation seem to be sparse on this topic too, but here are some more pins and their numbers, First pair is useful in device tree, the second in the schematic and the last in sysfs
gpio:pin HiNum Con Pin LinuxIONum
26:0 208 LS 23 296
21:1 169 LS 25 337
21:2 170 LS 27 338
21:3 171 LS 24 339
1:7 13 LS 31 501
3:5 29 LS 30 485
3:7 31 LS 34 487
4:0 32 LS 33 472
6:5 53 LS 32 461
looks like:
HiNum = gpio *8 + pin - 2;
LinuxIONum = (63-gpio)*8 + pin;