]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
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>
Wed, 22 Aug 2018 10:42:15 +0000 (12:42 +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 a02ad793036f672fb5ac627d65abd15b77d15490..af0b9dc0e0092e589861bf61af8b309cb4b552c6 100644 (file)
        clocks = <&clk 75>;
 };
 
+&lpd_watchdog {
+       clocks = <&clk 75>;
+};
+
 &xilinx_ams {
        clocks = <&clk 70>;
 };
index e62ccf74f61b5d9d80c33f1056d18b5a9bc714a0..486f7cbe7c7ca00d06f6ec95ab56e6099078b4c4 100644 (file)
        clocks = <&clk250>;
 };
 
+&lpd_watchdog {
+       clocks = <&clk250>;
+};
+
 &zynqmp_dpsub {
        clocks = <&dp_aclk>, <&dp_aud_clk>, <&drm_clock>;
 };
index fb196a153d9eb456164f827e51331f67fb517fc3..e35f027ac0239c8f58b3951ce0908a853b8394b4 100644 (file)
                        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>;
+               };
+
                xilinx_ams: ams@ffa50000 {
                        compatible = "xlnx,zynqmp-ams";
                        status = "disabled";