diff mbox series

arm64: zynqmp: dts: Add required properties for rs485 support for KD240

Message ID 56e4e135ad796afd1370c3dfa2643c143ba758ee.1710847646.git.michal.simek@amd.com
State Accepted
Commit 9df352222ed430ef98f41eefc3a8640e889f6288
Delegated to: Michal Simek
Headers show
Series arm64: zynqmp: dts: Add required properties for rs485 support for KD240 | expand

Commit Message

Michal Simek March 19, 2024, 11:27 a.m. UTC
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(+)

Comments

Michal Simek March 25, 2024, 2:18 p.m. UTC | #1
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
diff mbox series

Patch

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>;