diff options
author | Mark Jackson <mpfj@newflow.co.uk> | 2022-11-30 14:05:44 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2023-01-19 10:30:52 +0200 |
commit | af5ec6ab2e6c920a568ba09f961c3d429741c5c9 (patch) | |
tree | bb568b9d637a5e12626a22917081f9f45bed0051 /arch/arm/boot/dts/am335x-nano.dts | |
parent | bd08103e93a441f6a0ae6149efe9099bba5beb56 (diff) |
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: Mark Jackson <mpfj@newflow.co.uk>
Message-Id: <20221130140547.295859-3-mpfj@newflow.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-nano.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-nano.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 05cbfe24f778..cecc2afaeff4 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -187,12 +187,22 @@ &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"; }; |