ARM: zynq: DT: Add interrupt-controller property to GPIO
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Fri, 23 Oct 2015 16:25:31 +0000 (09:25 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 14 Dec 2015 08:30:03 +0000 (09:30 +0100)
GPIO can be used as interrupt-controller. Add the missing properties to
the GPIO node.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/boot/dts/zynq-7000.dtsi

index 1a5220e05109022dda87912a0145666176f670e0..fe1a5d0cf03b522c42f78cbc70b64126ba85b6dc 100644 (file)
                        #gpio-cells = <2>;
                        clocks = <&clkc 42>;
                        gpio-controller;
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
                        interrupt-parent = <&intc>;
                        interrupts = <0 20 4>;
                        reg = <0xe000a000 0x1000>;