Hi,
I am trying to make some changes to pin modes on some of the P8/P9 connector pins. I am using the latest Debian 11.7 software image with 5.10 linux kernel. My modifications are as follows:
- Define changes in dra7_pmx_core block:
cape_pins_default: cape_pins_default {
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x36DC, PIN_OUTPUT | MUX_MODE0) /* B13: P9.30: mcasp1_axr10.on /
DRA7XX_CORE_IOPAD(0x36E0, PIN_INPUT | MUX_MODE0) / A12: P9.28: mcasp1_axr11.on */
…
>;
};
2 . Add the following and link it to new pin definitions
cape_pins: cape_pins {
compatible = “gpio-leds”;
pinctrl-names = “cape_pins”;
pinctrl-0 = <&cape_pins_default>;
};
- Rebuild debian image and run sudo dpkg -i on bbai.
However, upon running ./show-pins the desired pins are stuck at the default values. For example, P9_30:
P9.30 183 fast rx down 14 gpio 4.12 << lo P9_15 (pinmux_P9_30_default_pin)
Any assistance would be greatly appreciated,
Regard,
Jared