From: Michal Simek Date: Thu, 7 Apr 2016 08:54:08 +0000 (+0200) Subject: ARM: zynq: Add interrupt-controller property to gpio nodes X-Git-Tag: v2016.05-rc2~64^2~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58fab4cd9ceb9556eaa7c18a2390b321c35d05aa;p=oweals%2Fu-boot.git ARM: zynq: 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 Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index 2d786f0fd1..a352bc8711 100644 --- a/arch/arm/dts/zynq-7000.dtsi +++ b/arch/arm/dts/zynq-7000.dtsi @@ -96,8 +96,10 @@ gpio0: gpio@e000a000 { compatible = "xlnx,zynq-gpio-1.0"; #gpio-cells = <2>; + #interrupt-cells = <2>; clocks = <&clkc 42>; gpio-controller; + interrupt-controller; interrupt-parent = <&intc>; interrupts = <0 20 4>; reg = <0xe000a000 0x1000>;