From: Michal Simek Date: Wed, 18 Jul 2018 07:25:43 +0000 (+0200) Subject: arm64: zynqmp: List lpd watchdog in dtsi X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6475f1405b80dafa0e87e9bdb4f8a761e59e7786;p=thirdparty%2Fu-boot.git arm64: zynqmp: List lpd watchdog in dtsi 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 --- diff --git a/arch/arm/dts/zynqmp-clk-ccf.dtsi b/arch/arm/dts/zynqmp-clk-ccf.dtsi index a02ad793036..af0b9dc0e00 100644 --- a/arch/arm/dts/zynqmp-clk-ccf.dtsi +++ b/arch/arm/dts/zynqmp-clk-ccf.dtsi @@ -267,6 +267,10 @@ clocks = <&clk 75>; }; +&lpd_watchdog { + clocks = <&clk 75>; +}; + &xilinx_ams { clocks = <&clk 70>; }; diff --git a/arch/arm/dts/zynqmp-clk.dtsi b/arch/arm/dts/zynqmp-clk.dtsi index e62ccf74f61..486f7cbe7c7 100644 --- a/arch/arm/dts/zynqmp-clk.dtsi +++ b/arch/arm/dts/zynqmp-clk.dtsi @@ -225,6 +225,10 @@ clocks = <&clk250>; }; +&lpd_watchdog { + clocks = <&clk250>; +}; + &zynqmp_dpsub { clocks = <&dp_aclk>, <&dp_aud_clk>, <&drm_clock>; }; diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index fb196a153d9..e35f027ac02 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -1083,6 +1083,15 @@ 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";