[PATCH linux dev-4.7 03/14] aspeed: dt: Mark GPIO controller as interrupt-controller

Andrew Jeffery andrew at aj.id.au
Fri Feb 3 14:57:05 AEDT 2017


This brings the devicetree into line with the mainline bindings.

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 arch/arm/boot/dts/aspeed-g4.dtsi | 1 +
 arch/arm/boot/dts/aspeed-g5.dtsi | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index 7c78eb1c01ff..28408a2e2ad5 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -851,6 +851,7 @@
 				compatible = "aspeed,ast2400-gpio";
 				reg = <0x1e780000 0x1000>;
 				interrupts = <20>;
+				interrupt-controller;
 				gpio-ranges = <&pinctrl 0 0 220>;
 			};
 
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 7b1297b7f3da..14e03d8d35dc 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -1016,6 +1016,7 @@
 				compatible = "aspeed,ast2500-gpio";
 				reg = <0x1e780000 0x1000>;
 				interrupts = <20>;
+				interrupt-controller;
 				gpio-ranges = <&pinctrl 0 0 220>;
 			};
 
-- 
2.9.3



More information about the openbmc mailing list