RS485 with GPIO on iMX8


I am trying to use an iMX8 on a board that was designed for the iMX7, therefor I have to control the RS485 with a GPIO and not with the RTS line.

I added the required rts-gpio property, but it doesnt work:

/* Colibri UART_C */
&lpuart2 {	
	rts-gpios = <&gpio0 22 0>;
	status = "okay";

Does the iMX8 kernel don’t support the gpio feature for RS485?

Hi @gandi

Unfortunately the RS485 driver of the iMX8 can’t handle RTS line with GPIOs with the current kernel.

Why did you upgrade to iMX8? What is your application?

Best regards,