Skip to contentSkip to conversation

ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM

PATCH New Marek Vasut 2 participants 2 messages Apr 3, 2023 – Apr 4, 2023

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

PATCH v3 1/1 ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM

Add WDT reboot bindings on DH i.MX6 DHSOM to permit the platform to reboot via WDT in U-Boot. These are custom U-Boot bindings, hence they are placed in -u-boot.dtsi .

---
Cc: Andreas Geisreiter <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: [email protected]
---
V2: Update subject, add 'reboot' word to make it clearer
V3: Rebase on current u-boot master and add changes which landed in
U-Boot upstream since the last submission, i.e. s@u-boot,dm-spl@bootph-pre-ram@

---
 arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi +10 -0
index 190567ab7ba..740a24d96ec 100644
@@ -8,6 +8,12 @@
 	aliases {
 		eeprom0 = &eeprom0;
 	};
+
+	wdt-reboot {
+		compatible = "wdt-reboot";
+		wdt = <&wdog1>;
+		bootph-pre-ram;
+	};
 };
 
 &fec {
@@ -25,3 +31,7 @@
 	gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
 	enable-active-high;
 };
+
+&wdog1 {
+	bootph-pre-ram;
+};
Signature · 1 line
2.39.2
#1 lore raw

PATCH v3 1/1 ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM

Quoted 5 lines

Add WDT reboot bindings on DH i.MX6 DHSOM to permit the platform to reboot via WDT in U-Boot. These are custom U-Boot bindings, hence they are placed in -u-boot.dtsi .

Applied to u-boot-imx, next, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================