]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 b68fb1a4a5fed909caa2ea9194e1034282c9031d..48506086f5bbea3ae2604538410d7bc06b2ce3f8 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>;