diff mbox series

[RESEND,5/7] arm64: dts: Add watchdog device node for Spreadtrum SC9860

Message ID acb44a00b26bb65fa358608170e440833994c8ab.1519814593.git.baolin.wang@linaro.org
State Accepted
Commit 4f681369b98636c0563b4f106f7dd5312af7ebe2
Headers show
Series [RESEND,1/7] arm64: dts: Add hwspinlock node for Spreadtrum SC9860 | expand

Commit Message

(Exiting) Baolin Wang Feb. 28, 2018, 10:47 a.m. UTC
Add the watchdog device node for Spreadtrum SC9860 platform to
watch the system's stability.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>

---
 arch/arm64/boot/dts/sprd/whale2.dtsi |    9 +++++++++
 1 file changed, 9 insertions(+)

-- 
1.7.9.5
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 3dc6389..f2cdf4d 100644
--- a/arch/arm64/boot/dts/sprd/whale2.dtsi
+++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
@@ -141,6 +141,15 @@ 
 				compatible = "sprd,sc9860-pinctrl";
 				reg = <0 0x402a0000 0 0x10000>;
 			};
+
+			watchdog@40310000 {
+				compatible = "sprd,sp9860-wdt";
+				reg = <0 0x40310000 0 0x1000>;
+				interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
+				timeout-sec = <12>;
+				clock-names = "enable";
+				clocks = <&aon_gate CLK_APCPU_WDG_EB>;
+			};
 		};
 	};