arm64: dts: hi3660: enable watchdog
authorLeo Yan <leo.yan@linaro.org>
Mon, 14 Aug 2017 09:50:49 +0000 (17:50 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Wed, 16 Aug 2017 08:32:12 +0000 (09:32 +0100)
This patch is to add watchdog binding for Hi3660 on Hikey960 board.

Cc: Guodong Xu <guodong.xu@linaro.org>
Cc: Zhong Kaihua <zhongkaihua@huawei.com>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi

index 545d435d11b39ade14ff8f12482f6cc57ba13f44..b7a90d632959d95b0dee0cc93e37037700194b2d 100644 (file)
                                     &sdio_cfg_func>;
                        status = "disabled";
                };
+
+               watchdog0: watchdog@e8a06000 {
+                       compatible = "arm,sp805-wdt", "arm,primecell";
+                       reg = <0x0 0xe8a06000 0x0 0x1000>;
+                       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&crg_ctrl HI3660_OSC32K>;
+                       clock-names = "apb_pclk";
+               };
+
+               watchdog1: watchdog@e8a07000 {
+                       compatible = "arm,sp805-wdt", "arm,primecell";
+                       reg = <0x0 0xe8a07000 0x0 0x1000>;
+                       interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&crg_ctrl HI3660_OSC32K>;
+                       clock-names = "apb_pclk";
+               };
        };
 };