arm64: dts: rockchip: fix the address map for WDT0 and WDT1
authorXing Zheng <zhengxing@rock-chips.com>
Fri, 26 Aug 2016 06:22:30 +0000 (14:22 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 26 Aug 2016 11:38:37 +0000 (13:38 +0200)
Due to incorrect description in the TRM, the WDTs base address
should be fixed and swap them like this:
WDT0 - 0xff848000
WDT1 - 0xff840000

And, it is right that only WDT0 can generate global software reset.
We will update the TRM to fix it.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index bc86e8c..f0f52c1 100644 (file)
                };
        };
 
-       watchdog@ff840000 {
+       watchdog@ff848000 {
                compatible = "snps,dw-wdt";
-               reg = <0x0 0xff840000 0x0 0x100>;
+               reg = <0x0 0xff848000 0x0 0x100>;
                clocks = <&cru PCLK_WDT>;
                interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
        };