summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorManikanta Guntupalli <manikanta.guntupalli@amd.com>2024-07-18 12:15:23 +0200
committerMichal Simek <michal.simek@amd.com>2024-08-05 16:10:36 +0200
commit1e49d7f50e4a816b27d7728792e01fd845980c9a (patch)
tree4516e1cd5b397347a9a39197f0aa4a0f92b4b3b0 /arch
parentb0e686ea68cdc8d53954a654f58a1dd75f7a7bb0 (diff)
downloadu-boot-1e49d7f50e4a816b27d7728792e01fd845980c9a.tar.gz
u-boot-1e49d7f50e4a816b27d7728792e01fd845980c9a.tar.bz2
u-boot-1e49d7f50e4a816b27d7728792e01fd845980c9a.zip
arm64: zynqmp: dts: Add rts delay property for rs485 mode on KD240
Add "rs485-rts-delay" property to uartps node with delay_rts_before_send and delay_rts_after_send values as 10ms for rs485 mode on KD240. 10ms rts delay values have been chosen based on testing with rs485 temperature sensor (which is part of the kit) as safe minimum value for reliable operation at a baud rate of 9600. Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/0e0c4c067236e11f661c1d067017e1ca975c9ddb.1721297721.git.michal.simek@amd.com
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/zynqmp-sck-kd-g-revA.dtso1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
index 1727a1cc15..4de29d5d3f 100644
--- a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
+++ b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
@@ -358,6 +358,7 @@
status = "okay";
rts-gpios = <&gpio 72 GPIO_ACTIVE_HIGH>;
linux,rs485-enabled-at-boot-time;
+ rs485-rts-delay = <10 10>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart0_default>;
assigned-clock-rates = <100000000>;