]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt: bcm6858: add watchdog
authorPhilippe Reynes <philippe.reynes@softathome.com>
Mon, 28 Jan 2019 14:37:30 +0000 (15:37 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 9 Feb 2019 12:50:50 +0000 (07:50 -0500)
This commit add watchdog and sysreset watchdog
in the bcm6858 device tree.

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

index d78d34d2135f1514fad5f558f38ac1891e83671e..23b80c67a64a6db77569c86851220693a0c736bc 100644 (file)
 
                        status = "disabled";
                };
+
+               wdt1: watchdog@ff802780 {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0x0 0xff802780 0x0 0x14>;
+                       clocks = <&periph_osc>;
+               };
+
+               wdt2: watchdog@ff8027c0 {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0x0 0xff8027c0 0x0 0x14>;
+                       clocks = <&periph_osc>;
+               };
+
+               wdt-reboot {
+                       compatible = "wdt-reboot";
+                       wdt = <&wdt1>;
+               };
        };
 };