Skip to contentSkip to conversation

ARM: dts: stm32: Pull UART4 RX high on AV96

PATCH New Marek Vasut 2 participants 3 messages Aug 22, 2020 – Sep 9, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32: Pull UART4 RX high on AV96

There is no dedicated pull resistor on the AV96 UART4 (console UART) pin. In case there is no UART adapter installed on the AV96, the line is floating and can trigger reception of garbage characters, which in turn can abort U-Boot autoboot. Add default pull up to mitigate this problem.

Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>
---
 arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi +2 -0
index cb92fc9c14..1ae57e1854 100644
@@ -75,6 +75,8 @@
 	};
 	pins2 {
 		u-boot,dm-pre-reloc;
+		/delete-property/ bias-disable;
+		bias-pull-up;
 	};
 };
 
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 ARM: dts: stm32: Pull UART4 RX high on AV96

Quoted 9 lines · Marek Vasut

There is no dedicated pull resistor on the AV96 UART4 (console UART) pin. In case there is no UART adapter installed on the AV96, the line is floating and can trigger reception of garbage characters, which in turn can abort U-Boot autoboot. Add default pull up to mitigate this problem.

Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>

Bump, also AV96 PLL4.

#2 lore raw

PATCH 1/1 ARM: dts: stm32: Pull UART4 RX high on AV96

In reply to Marek Vasut

Hi Marek,

Quoted 30 lines

From: Marek Vasut <[email protected]>
Sent: samedi 22 ao?t 2020 22:46

There is no dedicated pull resistor on the AV96 UART4 (console UART) pin. In case there is no UART adapter installed on the AV96, the line is floating and can trigger reception of garbage characters, which in turn can abort U-Boot autoboot. Add default pull up to mitigate this problem.

Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>
---
 arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi +2 -1
index cb92fc9c14..1ae57e1854 100644
@@ -75,6 +75,8 @@
 	};
 	pins2 {
 		u-boot,dm-pre-reloc;
+		/delete-property/ bias-disable;
+		bias-pull-up;
 	};
 };
 
--
Quoted 1 line

2.28.0

Applied to u-boot-stm/master, thanks!

Thanks

Patrick