arm64: zynqmp: List lpd watchdog in dtsi
authorMichal Simek <michal.simek@xilinx.com>
Wed, 18 Jul 2018 07:25:43 +0000 (09:25 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Oct 2019 11:37:03 +0000 (13:37 +0200)
There are use cases where lpd watchdog can be configured for APU use. By
design this IP should be listed in zynqmp.dtsi to make sure that node is
properly enabled by DTG.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-clk-ccf.dtsi
arch/arm/dts/zynqmp-clk.dtsi
arch/arm/dts/zynqmp.dtsi

index bd0f8eb22c5f62779c29102464c4369a93a00b12..998298cc9bee8a662bbf177497328f01bf93d7ae 100644 (file)
        clocks = <&zynqmp_clk WDT>;
 };
 
+&lpd_watchdog {
+       clocks = <&zynqmp_clk LPD_WDT>;
+};
+
 &xilinx_ams {
        clocks = <&zynqmp_clk AMS_REF>;
 };
index c70f85a43020975153d0425e693fe923034c3aaa..9ef55ad0d18ecd06f5ed130e97d8d1c76878c2fd 100644 (file)
        clocks = <&clk100>;
 };
 
+&lpd_watchdog {
+       clocks = <&clk250>;
+};
+
 &xilinx_drm {
        clocks = <&drm_clock>;
 };
index 435b1e1ca6e6c7abf616f17ab9771b97cb73bfb2..b453941baf0517cacbe2e3e157130f4b2820258f 100644 (file)
                        reset-on-timeout;
                };
 
+               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>;
+               };
+
                xilinx_ams: ams@ffa50000 {
                        compatible = "xlnx,zynqmp-ams";
                        status = "disabled";