]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt: bcm63158: add watchdog
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 31 Jan 2019 17:57:38 +0000 (18:57 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 9 Feb 2019 12:51:00 +0000 (07:51 -0500)
This commit add watchdog and sysreset watchdog
in the bcm63158 device tree.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/arm/dts/bcm63158.dtsi

index be68205dc6d3237e41615c28904fbbb1dd9bbd21..6a3fbc90939b22cdba221b1d601293fce511e453 100644 (file)
 
                        status = "disabled";
                };
+
+               wdt1: watchdog@ff800480 {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0x0 0xff800480 0x0 0x14>;
+                       clocks = <&periph_osc>;
+               };
+
+               wdt2: watchdog@ff8004c0 {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0x0 0xff8004c0 0x0 0x14>;
+                       clocks = <&periph_osc>;
+               };
+
+               wdt-reboot {
+                       compatible = "wdt-reboot";
+                       wdt = <&wdt1>;
+               };
        };
 };