summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-11-23 13:26:15 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-04-13 18:29:04 +0200
commit7c38ca36cbfd149e6b9c970c0c6fd39b73ee24a6 (patch)
treef99cd0fd070af8cd133592b3ec13573c011c9d41 /arch
parent908690098c1836055ee98bde045308ca2ae5d56e (diff)
downloadblackbird-obmc-uboot-7c38ca36cbfd149e6b9c970c0c6fd39b73ee24a6.tar.gz
blackbird-obmc-uboot-7c38ca36cbfd149e6b9c970c0c6fd39b73ee24a6.zip
ARM64: zynqmp: Add interrupt-controller property to gpio nodes
GPIO driver supports an input interrupt that's why gpio node itself can be labeled as interrupt controller. Reported-by: John Linn <linnj@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/zynqmp.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index b68fb1a4a5..48506086f5 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -581,6 +581,8 @@
compatible = "xlnx,zynqmp-gpio-1.0";
status = "disabled";
#gpio-cells = <0x2>;
+ #interrupt-cells = <2>;
+ interrupt-controller;
interrupt-parent = <&gic>;
interrupts = <0 16 4>;
reg = <0x0 0xff0a0000 0x1000>;
OpenPOWER on IntegriCloud