I am working with a Verdin AM62 on the Mallow carrier board and configured the pin SODIMM_48 / GPMC0_OEn_REn.GPIO0_33 as GPIO output in my device tree (stellihorn.dts).
My current setup in the DTS:
&mcasp1 {
status = "disabled";
};
&main_pmx0 {
backup_battery_pins: pinmux-backup-battery {
pinctrl-single,pins = <
AM62X_IOPAD(0x0088, PIN_OUTPUT, 7) /* (L24) GPMC0_OEn_REn.GPIO0_33 */
>;
};
};
On my system I have three GPIO controllers:
gpiochip0 [4201000.gpio] (24 lines)
gpiochip1 [600000.gpio] (92 lines)
gpiochip2 [601000.gpio] (52 lines)
The pin in question corresponds to gpiochip1 line 1.
Using gpioset --mode=signal gpiochip1 1=1 or the gpio-hog configuration, I would expect to see the I/O voltage (~VIO) at the pin. However, I always measure only ~0.5 V, both when setting the pin high or low.
I have verified that:
gpioinfoshows the line as unused input if not forced,- pinmux is set to mode 7 (GPIO),
- behavior does not change whether I configure the pad as
PIN_OUTPUT_PULLDOWNorPIN_OUTPUT.
So it looks like the pin is not actually drivable as GPIO.
Questions:
- Is this pin (GPIO0_33 / SODIMM_48) really available as a usable GPIO on the Verdin AM62 modules, or does it have hardware/power rail limitations that prevent it from being used as an output?
- If it should be available, are there any additional steps or configurations needed to properly enable it?
Thanks!