ARM64: zynqmp: Add interrupt-controller property to gpio nodes
authorMichal Simek <michal.simek@xilinx.com>
Mon, 23 Nov 2015 12:26:15 +0000 (13:26 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 13 Apr 2016 16:29:04 +0000 (18:29 +0200)
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>
arch/arm/dts/zynqmp.dtsi

index b68fb1a..4850608 100644 (file)
                        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>;