arm64: dts: Add watchdog device node for Spreadtrum SC9860
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 28 Feb 2018 10:47:08 +0000 (18:47 +0800)
committerArnd Bergmann <arnd@arndb.de>
Wed, 7 Mar 2018 14:27:10 +0000 (15:27 +0100)
Add the watchdog device node for Spreadtrum SC9860 platform to
watch the system's stability.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/sprd/whale2.dtsi

index 3dc6389..f2cdf4d 100644 (file)
                                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>;
+                       };
                };
        };