]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: dts: Add required properties for rs485 support for KD240
authorManikanta Guntupalli <manikanta.guntupalli@amd.com>
Tue, 19 Mar 2024 11:27:33 +0000 (12:27 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 25 Mar 2024 14:18:00 +0000 (15:18 +0100)
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>
Link: https://lore.kernel.org/r/56e4e135ad796afd1370c3dfa2643c143ba758ee.1710847646.git.michal.simek@amd.com
arch/arm/dts/zynqmp-sck-kd-g-revA.dtso

index 5202b7c4819825ec058a91159d0992f83b12b869..1727a1cc15c16a4b965518cc085d5092f0b887fc 100644 (file)
 
 &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>;