Commit af5ec6ab authored by Mark Jackson's avatar Mark Jackson Committed by Tony Lindgren
Browse files

ARM: dts: am335x-nano: Enable RS485 mode for UART3 & 4



UART3 & 4 are both RS485 ports.
So we need to configure and enable this by default.

Signed-off-by: default avatarMark Jackson <mpfj@newflow.co.uk>
Message-Id: <20221130140547.295859-3-mpfj@newflow.co.uk>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent bd08103e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -187,12 +187,22 @@ &uart2 {
&uart3 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart3_pins>;
	rts-gpio = <&gpio2 17 GPIO_ACTIVE_HIGH>;
	rs485-rts-active-high;
	rs485-rx-during-tx;
	rs485-rts-delay = <1 1>;
	linux,rs485-enabled-at-boot-time;
	status = "okay";
};

&uart4 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart4_pins>;
	rts-gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
	rs485-rts-active-high;
	rs485-rx-during-tx;
	rs485-rts-delay = <1 1>;
	linux,rs485-enabled-at-boot-time;
	status = "okay";
};