cant get the RTS line working on STM32MP1 in linux (stm32mp157c-dk2)
I configured UART7 and USART3 to work with RTS in linux (for A7) - I generated the DTS and checked to use the correct pins (according to schematics) to make sure are mapped to the Arduino connector (UART7) amd RPI GPIO like connector
The UART7 & USART3 are getting mapped correctly to /dev/ttySTM1 & /dev/ttySTM2 and work as expected but the RTS line doesn't toggle.
I wrote a small program which is opening the /dev/ttySTM1 & /dev/ttySTM2 and I'm forcing the RTS line but nothing happens (monitoring the lines with the logic analyzer)
any idea why RTS is not working?
The relevant sections from device tree below
*******
uart7_pins_mx: uart7_mx-0 {
pins1 {
pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */
bias-disable;
};
pins2 {
pinmux = <STM32_PINMUX('E', 8, AF7)>, /* UART7_TX */
<STM32_PINMUX('E', 9, AF7)>; /* UART7_RTS */
bias-disable;
drive-push-pull;
slew-rate = <0>;
};
};
************
usart3_pins_mx: usart3_mx-0 {
pins1 {
pinmux = <STM32_PINMUX('B', 12, AF8)>; /* USART3_RX */
bias-disable;
};
pins2 {
pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */
<STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */
bias-disable;
drive-push-pull;
slew-rate = <0>;
};
********
