To add RS485 support to the UART on a Freescale iMX6 (SABRELITE) with kernel 3.10.17 apply the following patch.
Remember to set the appropriate GPIO for RTS signal in the Device Tree.
Piazza Varsavia 14
24128 Bergamo (BG)
Phone: +39 035-255235