diff mbox series

[U-Boot,V2,3/6] dt: bcm6838: add watchdog

Message ID 1548166395-22068-3-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 bcm6838 device tree.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
---
 arch/mips/dts/brcm,bcm6838.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

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

Patch

diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi
index 77d6a8e..b6f9559 100644
--- a/arch/mips/dts/brcm,bcm6838.dtsi
+++ b/arch/mips/dts/brcm,bcm6838.dtsi
@@ -73,6 +73,23 @@ 
 			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>;