[PATCH] arm64: zynqmp: dts: Add required properties for rs485 support for KD240
Michal Simek
michal.simek at amd.com
Mon Mar 25 15:18:07 CET 2024
On 3/19/24 12:27, Michal Simek wrote:
> From: Manikanta Guntupalli <manikanta.guntupalli at 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 at amd.com>
> Signed-off-by: Michal Simek <michal.simek at 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
More information about the U-Boot
mailing list