Hello @srinivas_123
I hope you are doing very well!
It appears you did not modified your device tree, you can add the following to your device tree:
&gpio3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio3>;
status = "okay";
};
Then, inside of the &iomuxc:
pinctrl_gpio3: gpio3grp {
fsl,pins = <
MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x40000
MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x40000
MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21 0x40000
MX8MP_IOMUXC_SAI5_MCLK__GPIO3_IO25 0x40000
>;
};
Then, you will be able to change the state of the pines with your code
Best regards,
Salas.