This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM57xx pin mux issue in SDK v2.0

Hello,

I have modified am57xx-evm.dts file to access PRU gpio pins. I have noticed that after modification in device tree file, I can not access the pins as a PRU GPIO. When I have read the pin mux registers using devmem2 utility, I come to know that the value of the pinmux registers are not as per my modification.

DTS file changes are as below:

&dra7_pmx_core {
        pru_cape_bone_pins: pru_cape_bone_pins {
                pinctrl-single,pins = <
                        0x374 (PIN_OUTPUT | MUX_MODE13)
                        0x378 (PIN_OUTPUT | MUX_MODE13)
                        0x37C (PIN_OUTPUT | MUX_MODE13)
                >;
        };

};

&epwmss0 {
        status = "disabled";
};

&epwmss1{
        status = "disabled";
        ehrpwm1: ehrpwm@48440200{
                status = "disabled";
        };

};

&epwmss2{
        status = "disabled";
};

&pruss2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pru_cape_bone_pins>;
};

Please note that I have disable pwm, because the same pins are used for the PWM in current implementation. I want to know that is there any other modification require to change the pinmux value, after updating in dts file?