diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-07-18 09:25:43 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-10-24 13:37:03 +0200 |
commit | 2038e46f487483f277dda4dc2c3da9e34780642a (patch) | |
tree | 0e13b58329374c839db4c8fb9cb39ec956aac529 /arch/arm/dts | |
parent | 332996ce1846d0d26046d9d700755f6045d7d40c (diff) |
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 <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/zynqmp-clk-ccf.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/dts/zynqmp-clk.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/dts/zynqmp.dtsi | 9 |
3 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-clk-ccf.dtsi b/arch/arm/dts/zynqmp-clk-ccf.dtsi index bd0f8eb22c..998298cc9b 100644 --- a/arch/arm/dts/zynqmp-clk-ccf.dtsi +++ b/arch/arm/dts/zynqmp-clk-ccf.dtsi @@ -272,6 +272,10 @@ clocks = <&zynqmp_clk WDT>; }; +&lpd_watchdog { + clocks = <&zynqmp_clk LPD_WDT>; +}; + &xilinx_ams { clocks = <&zynqmp_clk AMS_REF>; }; diff --git a/arch/arm/dts/zynqmp-clk.dtsi b/arch/arm/dts/zynqmp-clk.dtsi index c70f85a430..9ef55ad0d1 100644 --- a/arch/arm/dts/zynqmp-clk.dtsi +++ b/arch/arm/dts/zynqmp-clk.dtsi @@ -223,6 +223,10 @@ clocks = <&clk100>; }; +&lpd_watchdog { + clocks = <&clk250>; +}; + &xilinx_drm { clocks = <&drm_clock>; }; diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 435b1e1ca6..b453941baf 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -980,6 +980,15 @@ 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"; |