[PATCH] arm64: zynqmp: dts: Add required properties for rs485 support for KD240

From: Manikanta Guntupalli manikanta.guntupalli@amd.com
Add "rts-gpios" and "linux,rs485-enabled-at-boot-time" properties to uartps node to support RS485 on KD240.
Signed-off-by: Manikanta Guntupalli manikanta.guntupalli@amd.com Signed-off-by: Michal Simek michal.simek@amd.com ---
arch/arm/dts/zynqmp-sck-kd-g-revA.dtso | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso index 5202b7c48198..1727a1cc15c1 100644 --- a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso +++ b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso @@ -356,6 +356,8 @@
&uart0 { status = "okay"; + rts-gpios = <&gpio 72 GPIO_ACTIVE_HIGH>; + linux,rs485-enabled-at-boot-time; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart0_default>; assigned-clock-rates = <100000000>;

On 3/19/24 12:27, Michal Simek wrote:
From: Manikanta Guntupalli manikanta.guntupalli@amd.com
Add "rts-gpios" and "linux,rs485-enabled-at-boot-time" properties to uartps node to support RS485 on KD240.
Signed-off-by: Manikanta Guntupalli manikanta.guntupalli@amd.com Signed-off-by: Michal Simek michal.simek@amd.com
arch/arm/dts/zynqmp-sck-kd-g-revA.dtso | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso index 5202b7c48198..1727a1cc15c1 100644 --- a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso +++ b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso @@ -356,6 +356,8 @@
&uart0 { status = "okay";
- rts-gpios = <&gpio 72 GPIO_ACTIVE_HIGH>;
- linux,rs485-enabled-at-boot-time; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart0_default>; assigned-clock-rates = <100000000>;
Applied. M
participants (1)
-
Michal Simek