How can I invert logic of RTS pin on apalis-uart2? For now the RTS pin works, but when I send something the logical state is low, while the reading the serial port is logical high.
An RTS signal polarity controlled by Device Tree UART property rs485-rts-active-low: drive RTS low when sending (default is high).
Please check fsl-imx-uart.txt and rs485.txt for details.