arm64: dts: zynqmp: Add missing lpd watchdog node
authorMichal Simek <michal.simek@xilinx.com>
Thu, 21 Jan 2021 10:26:58 +0000 (11:26 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 1 Feb 2021 09:36:35 +0000 (10:36 +0100)
Xilinx ZynqMP SoC has FPD (Full Power Domain) and LPD (Low Power Domain)
watchdogs. There are cases where also LPD WDT should be used by Arm cores
that's why list it with disabled status.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/0489a1d5528614f1d570ea153d38b813f0c1eb9f.1611224800.git.michal.simek@xilinx.com
arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 6a577e1..3ca7e4e 100644 (file)
 &watchdog0 {
        clocks = <&zynqmp_clk WDT>;
 };
+
+&lpd_watchdog {
+       clocks = <&zynqmp_clk LPD_WDT>;
+};
index 533c19b..467f92c 100644 (file)
                        reg = <0x0 0xfd4d0000 0x0 0x1000>;
                        timeout-sec = <10>;
                };
+
+               lpd_watchdog: watchdog@ff150000 {
+                       compatible = "cdns,wdt-r1p2";
+                       status = "disabled";
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 52 1>;
+                       reg = <0x0 0xff150000 0x0 0x1000>;
+                       timeout-sec = <10>;
+               };
        };
 };