diff mbox series

[U-Boot,4/5] dt: bcm63158: add watchdog

Message ID 1548957459-4765-4-git-send-email-philippe.reynes@softathome.com
State Accepted
Commit 2f4a686f217756d99556fef1e7756946d7566deb
Delegated to: Tom Rini
Headers show
Series [U-Boot,1/5] bcm63158: add initial support | expand

Commit Message

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

Comments

Tom Rini Feb. 10, 2019, 1:10 p.m. UTC | #1
On Thu, Jan 31, 2019 at 06:57:38PM +0100, Philippe Reynes wrote:

> This commit add watchdog and sysreset watchdog
> in the bcm63158 device tree.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
index be68205..6a3fbc9 100644
--- a/arch/arm/dts/bcm63158.dtsi
+++ b/arch/arm/dts/bcm63158.dtsi
@@ -81,5 +81,22 @@ 
 
 			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>;
+		};
 	};
 };