Skip to contentSkip to conversation

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

PATCH Superseded Marek Vasut 3 participants 3 messages Mar 5, 2023 – Mar 30, 2023

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx: Add WDT 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]

---
 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..06ad98bccf6 100644
@@ -8,6 +8,12 @@
 	aliases {
 		eeprom0 = &eeprom0;
 	};
+
+	wdt-reboot {
+		compatible = "wdt-reboot";
+		wdt = <&wdog1>;
+		u-boot,dm-spl;
+	};
 };
 
 &fec {
@@ -25,3 +31,7 @@
 	gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
 	enable-active-high;
 };
+
+&wdog1 {
+	u-boot,dm-spl;
+};
Signature · 1 line
2.39.2
#2 lore raw
In reply to Marek Vasut

Hi Marek,

Quoted 21 lines · Marek Vasut

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]

---
  arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi | 10 ++++++++++
  1 file changed, 10 insertions(+)
arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi +0 -0
index 190567ab7ba..06ad98bccf6 100644

arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi line 16

Quoted 9 lines
arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi +6 -0
@@ -8,6 +8,12 @@
  	aliases {
  		eeprom0 = &eeprom0;
  	};
+
+	wdt-reboot {
+		compatible = "wdt-reboot";
+		wdt = <&wdog1>;
+		u-boot,dm-spl;
+	}

I cannot merge it, u-boot,dm-spl is not allowed anymore (see https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/604593), switched to bootph-pre-ram ?

Same is for the other patch of yours:

http://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Best regards,
Stefano
;

Quoted 11 lines
arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi +4 -0
  };
 
  &fec {
@@ -25,3 +31,7 @@
  	gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
  	enable-active-high;
  };
+
+&wdog1 {
+	u-boot,dm-spl;
+};
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]
=====================================================================