aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-04-04 00:39:37 +0200
committerStefano Babic <sbabic@denx.de>2023-04-04 09:35:39 +0200
commit240a274f0fc01e04902be6909d506c430935f8a7 (patch)
treea043a2364b517ba13fa168cad8979dc36920370d
parentc03eaf23bba56aed6c2b77fcff290650963a626d (diff)
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 . Reviewed-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r--arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
index 190567ab7b..740a24d96e 100644
--- a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
+++ b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
@@ -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;
+};