Part Number: AM6442
Tool/software:
Hello TI,
We want to understand GPIO mapping on AM6442, Let me put with small situation,
Now we want to use the pin U20 as GPIO from userspace, From user space we see there 4 groups as given below,
root@am64xx-evm:~# gpiodetect
gpiochip0 [0-0038] (8 lines)
gpiochip1 [1-0022] (24 lines)
gpiochip2 [600000.gpio] (87 lines)
gpiochip3 [601000.gpio] (88 lines)
root@am64xx-evm:~#
root@am64xx-evm:~# cat /sys/class/gpio/gpiochip512/base
512
root@am64xx-evm:~# cat /sys/class/gpio/gpiochip520/base
520
root@am64xx-evm:~# cat /sys/class/gpio/gpiochip544/base
544
root@am64xx-evm:~# cat /sys/class/gpio/gpiochip631/base
631
root@am64xx-evm:~#
Example: we want to understand, U20 will come under which group? if we have to use sysfs node then we need to add base address, so we are not sure which gpiochip will have U20 pin and what will be the number for this.
Is there any UserGuide or GPIO spread sheet to understand more on this?
Thank you,
Prtahibha
