AnsweredAssumed Answered

dts of rs485 configuration

Question asked by qjwang wang on Aug 28, 2018
Latest reply on Aug 28, 2018 by igorpadykov

iMX6Q processor 

linux kernel 4.9.88

I will use CTS_B pin as RS485 direction control pin,Could you also help about the dts configuration part?

Sorry that it’s the first time I configure UART.

uart1: serial@02020000 {
                                        compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
                                        reg = <0x02020000 0x4000>;
                                        interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
                                        clocks = <&clks IMX6QDL_CLK_UART_IPG>,
                                                 <&clks IMX6QDL_CLK_UART_SERIAL>;
                                        clock-names = "ipg", "per";
                                        dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
                                        dma-names = "rx", "tx";
                                        status = "disabled";
                                };

Outcomes