PinMux Changes in Device Tree BBAI

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:

  1. 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 /
    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>;

  1. 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,

1 Like

How are you configuring your uEnv file ?
And run the script (under /opt/tools/scripts folder) and place the results here,

I haven’t made any changes to uEnv.txt file. I do not have that script with this software image. Here is my name -a output:
Linux BeagleBone 5.10.168-ti-r68 #1xross SMP PREEMPT Tue Aug 29 09:22:18 AEST 2023 armv7l GNU/Linux

You should declare the overlay in your uEnv
As an overlay