ARM: dts: aspeed: Add #interrupt-cells property to gpio controllers
authorMark Walton <mark.walton@serialtek.com>
Fri, 14 Dec 2018 12:07:07 +0000 (12:07 +0000)
committerJoel Stanley <joel@jms.id.au>
Thu, 17 Jan 2019 02:14:44 +0000 (13:14 +1100)
Allows the GPIO controller to be used as an interrupt parent.

of_irq_find_parent() skips interrupt controller nodes that do
not have the #interrupt-cells property.

Signed-off-by: Mark Walton <mark.walton@serialtek.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 69f6b9d..9549f86 100644 (file)
                                gpio-ranges = <&pinctrl 0 0 220>;
                                clocks = <&syscon ASPEED_CLK_APB>;
                                interrupt-controller;
+                               #interrupt-cells = <2>;
                        };
 
                        timer: timer@1e782000 {
index d107459..a1999f3 100644 (file)
                                gpio-ranges = <&pinctrl 0 0 220>;
                                clocks = <&syscon ASPEED_CLK_APB>;
                                interrupt-controller;
+                               #interrupt-cells = <2>;
                        };
 
                        timer: timer@1e782000 {