ARM64: dts: rockchip: add wdt0 for rk3399
authorJianqun Xu <jay.xu@rock-chips.com>
Thu, 17 Mar 2016 06:58:14 +0000 (14:58 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 17 Mar 2016 07:20:01 +0000 (15:20 +0800)
There are two watchdogs in ALIVE named WDT0 and WDT1, and
one watchdog in PMU named WDT2.

WDT0 can drive CRU to generate global software reset.

Change-Id: Ide47e7e69572d2f2a537b590dc75010cf0f56c51
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index fe4429a7eba3c9930a67b21c6f0c1dcb80c43747..8a5194bac8ec2820204817d199fe25435089e755 100644 (file)
                reg = <0x0 0xff770000 0x0 0x10000>;
        };
 
+       wdt0: watchdog@ff840000 {
+               compatible = "snps,dw-wdt";
+               reg = <0x0 0xff840000 0x0 0x100>;
+               clocks = <&cru PCLK_WDT>;
+               interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
+               status = "disabled";
+       };
+
        spdif: spdif@ff870000 {
                compatible = "rockchip,rk3399-spdif";
                reg = <0x0 0xff870000 0x0 0x1000>;