Part Number: AM5728
Tool/software: Linux
Hello,
We are trying to configure gpio bank5 and offset 0 & 1(gpio5_0, gpio5_1) in our project and it is set in our device tree as follows.
gpio5_pins_default: gpio5_pins_default{
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x36AC, PIN_INPUT | MUX_MODE14 ) /* (B14) mcasp1_aclkr.gpio5_0 */
DRA7XX_CORE_IOPAD(0x36B0, PIN_INPUT | MUX_MODE14 ) /* (J14) mcasp1_fsr.gpio5_1 */
>;
};
&gpio5 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&gpio5_pins_default>;
};
On linux we see the
root@x:sys/kernel/debug# cat gpio
gpiochip1: GPIOs 0-31, parent: platform/4805b000.gpio, gpio:
gpio-0 ( |sysfs ) in hi
gpio-12 ( |sysfs ) out lo
I understand Gpio bank5 is enabled but the pins I have configured doesn't seem to show up (Ex gpiobank5_1 is configured as input and don't see it in sysfs I see gpio-12).
Could you please have a look at our device and let us know if it OK?
Thanks,
Swapna