ARM: dts: aspeed: Add #interrupt-cells property to gpio controllers
Subsystems (2)
PATCH 1/1 ARM: dts: aspeed: Add #interrupt-cells property to gpio controllers
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 <[email protected]>
--- arch/arm/boot/dts/aspeed-g4.dtsi | 1 + arch/arm/boot/dts/aspeed-g5.dtsi | 1 + 2 files changed, 2 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +1 -0
@@ -197,6 +197,7 @@ gpio-ranges = <&pinctrl 0 0 220>; clocks = <&syscon ASPEED_CLK_APB>; interrupt-controller; + #interrupt-cells = <2>; }; timer: timer at 1e782000 {
arch/arm/boot/dts/aspeed-g5.dtsi +1 -0
@@ -250,6 +250,7 @@ gpio-ranges = <&pinctrl 0 0 220>; clocks = <&syscon ASPEED_CLK_APB>; interrupt-controller; + #interrupt-cells = <2>; }; timer: timer at 1e782000 {
Signature · 1 line
2.20.0
Quoted 7 lines · Mark Walton
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 <[email protected]>
Thanks, applied to the aspeed tree for 5.1.
Cheers,
Joel