arm64: dts: ls1028a: fix watchdog device node
authorChuanhua Han <chuanhua.han@nxp.com>
Tue, 28 May 2019 12:45:06 +0000 (20:45 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 5 Jun 2019 07:17:22 +0000 (15:17 +0800)
ls1028a platform uses sp805 watchdog, and use 1/16 platform clock as
timer clock, this patch fix device tree node.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 5cfb5a21e29e1380fa117282dd5aa2625ab4543c..8ba1e03555612e4173ad28e2c8d9b953244a3e1a 100644 (file)
                        #interrupt-cells = <2>;
                };
 
-               wdog0: watchdog@23c0000 {
-                       compatible = "fsl,ls1028a-wdt", "fsl,imx21-wdt";
-                       reg = <0x0 0x23c0000 0x0 0x10000>;
-                       interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clockgen 4 1>;
-                       big-endian;
-                       status = "disabled";
-               };
-
                usb0: usb@3100000 {
                        compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
                        reg = <0x0 0x3100000 0x0 0x10000>;
                                     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               cluster1_core0_watchdog: watchdog@c000000 {
+                       compatible = "arm,sp805", "arm,primecell";
+                       reg = <0x0 0xc000000 0x0 0x1000>;
+                       clocks = <&clockgen 4 15>, <&clockgen 4 15>;
+                       clock-names = "apb_pclk", "wdog_clk";
+               };
+
+               cluster1_core1_watchdog: watchdog@c010000 {
+                       compatible = "arm,sp805", "arm,primecell";
+                       reg = <0x0 0xc010000 0x0 0x1000>;
+                       clocks = <&clockgen 4 15>, <&clockgen 4 15>;
+                       clock-names = "apb_pclk", "wdog_clk";
+               };
+
                sai1: audio-controller@f100000 {
                        #sound-dai-cells = <0>;
                        compatible = "fsl,vf610-sai";