From: Soren Brinkmann <soren.brinkmann@xilinx.com>
Date: Tue, 22 Nov 2016 00:12:05 +0000 (-0800)
Subject: arm64: zynqmp: PM: Add IRQ
X-Git-Tag: v2025.01-rc5-pxa1908~5344^2~58
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=19ee402d089622602e19de0357fed9b529f1662e;p=u-boot.git

arm64: zynqmp: PM: Add IRQ

PM callbacks are delivered to the NS OS. Let the PM driver handle the
IRQ and retrieve callback data from the secure HW.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index fc34033f94..70d28a3679 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -265,6 +265,8 @@
 	firmware {
 		compatible = "xlnx,zynqmp-pm";
 		method = "smc";
+		interrupt-parent = <&gic>;
+		interrupts = <0 35 4>;
 	};
 
 	timer {