WE have made below changes in device tree to disable RTS /CTS of UART-A in imx7d
but we are unable to get any output on SODIMM pin 27 and sodimm pin 25 when acces as GPIO
IN device tree we have disabled as below
&uart1 {
pinctrl-names = "default";
//pinctrl-0 = <&pinctrl_uart1 &pinctrl_uart1_ctrl1 &pinctrl_uart1_ctrl2>;
pinctrl-0 = <&pinctrl_uart1>;
assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>;
assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
/delete-property/fsl,uart-has-rtscts;
fsl,dte-mode;
};
and pinctrl_uart1: uart1-grp {
fsl,pins = <
MX7D_PAD_UART1_TX_DATA__UART1_DTE_RX 0x79
MX7D_PAD_UART1_RX_DATA__UART1_DTE_TX 0x79
//MX7D_PAD_SAI2_TX_BCLK__UART1_DTE_CTS 0x79 -- commented
//MX7D_PAD_SAI2_TX_SYNC__UART1_DTE_RTS 0x79 -- commented
>;
};
and declared both pins as GPIO
MX7D_PAD_SAI2_TX_SYNC__GPIO6_IO19 0x74 // SODIMM 25
MX7D_PAD_SAI2_TX_BCLK__GPIO6_IO20 0x74 // SODIMM 27
WHEN WE EXPORT and change the gpio value it has no effect on the pin physically
but in
cat /sys/kernel/debug/gpio if shows 1,o as set through gpio commands
PLease help us to solve this issue