diff mbox series

[U-Boot,V2,4/6] dt: bcm6858: add watchdog

Message ID 1548166395-22068-4-git-send-email-philippe.reynes@softathome.com
State Superseded
Delegated to: Tom Rini
Headers show
Series [U-Boot,V2,1/6] watchdog: bcm6345: switch to raw I/O functions | expand

Commit Message

Philippe REYNES Jan. 22, 2019, 2:13 p.m. UTC
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 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Changelog:
v2:
- add a commit message (thanks Marek)
diff mbox series

Patch

diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi
index d78d34d..23b80c6 100644
--- a/arch/arm/dts/bcm6858.dtsi
+++ b/arch/arm/dts/bcm6858.dtsi
@@ -81,5 +81,22 @@ 
 
 			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>;
+		};
 	};
 };