[PATCH 11/13] ARM: dts: imx7-mba7: enable RS485 on UART7

Matthias Schiffer matthias.schiffer at ew.tq-group.com
Fri Sep 18 07:29:40 EDT 2020


The UART7 interface is connected to a full-duplex RS485 transceiver.

Signed-off-by: Matthias Schiffer <matthias.schiffer at ew.tq-group.com>
---
 arch/arm/boot/dts/imx7-mba7.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi
index f1e50bcd21a5..cd29844bc76b 100644
--- a/arch/arm/boot/dts/imx7-mba7.dtsi
+++ b/arch/arm/boot/dts/imx7-mba7.dtsi
@@ -593,6 +593,9 @@
 	assigned-clocks = <&clks IMX7D_UART7_ROOT_SRC>;
 	assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
 	uart-has-rtscts;
+	linux,rs485-enabled-at-boot-time;
+	rs485-rts-active-low;
+	rs485-rx-during-tx;
 	status = "okay";
 };
 
-- 
2.17.1




More information about the linux-arm-kernel mailing list