]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM
authorMarek Vasut <marex@denx.de>
Mon, 3 Apr 2023 22:39:37 +0000 (00:39 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Apr 2023 07:35:39 +0000 (09:35 +0200)
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>
arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi

index 190567ab7ba19718af28013813c3d6479d936af6..740a24d96ec649971c221d96df3b040cd8e45920 100644 (file)
@@ -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;
+};