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 6a577e1383c15709ca215d03644a7e0934a4b249..3ca7e4ee51b54015b5ffcf7412987a567ed6ab40 100644 (file)
 &watchdog0 {
        clocks = <&zynqmp_clk WDT>;
 };
+
+&lpd_watchdog {
+       clocks = <&zynqmp_clk LPD_WDT>;
+};
index 533c19b80283c04edca6a039ea335b72dec021cb..467f92c2044baa0b13c8688b9aae8b17c5d71747 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>;
+               };
        };
 };