dt: bcm6838: add watchdog
authorPhilippe Reynes <philippe.reynes@softathome.com>
Mon, 28 Jan 2019 14:37:29 +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 bcm6838 device tree.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/mips/dts/brcm,bcm6838.dtsi

index 77d6a8e214212ea95a38fe2243779ac7168a8c3b..b6f95591476d8ac32901d4ad258dc92948130300 100644 (file)
                        status = "disabled";
                };
 
+               wdt0: watchdog@14e002d0 {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0x14e002d0 0xc>;
+                       clocks = <&periph_osc>;
+               };
+
+               wdt1: watchdog@14e002dc {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0x14e002dc 0xc>;
+                       clocks = <&periph_osc>;
+               };
+
+               wdt-reboot {
+                       compatible = "wdt-reboot";
+                       wdt = <&wdt0>;
+               };
+
                leds: led-controller@14e00f00 {
                        compatible = "brcm,bcm6328-leds";
                        reg = <0x14e00f00 0x28>;