]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed-g4: Add gpio controller to devicetree
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 6 Dec 2016 03:53:44 +0000 (14:53 +1100)
committerJoel Stanley <joel@jms.id.au>
Tue, 10 Jan 2017 10:55:15 +0000 (21:55 +1100)
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi

index b00dfc7a3bf77292f7a42e2981ecf8b51acd7023..20b75667286f9a7e870a958ef5bf507d4d3c7a03 100644 (file)
@@ -822,6 +822,16 @@ sram@1e720000 {
                                reg = <0x1e720000 0x8000>;      // 32K
                        };
 
+                       gpio: gpio@1e780000 {
+                               #gpio-cells = <2>;
+                               gpio-controller;
+                               compatible = "aspeed,ast2400-gpio";
+                               reg = <0x1e780000 0x1000>;
+                               interrupts = <20>;
+                               gpio-ranges = <&pinctrl 0 0 220>;
+                               interrupt-controller;
+                       };
+
                        timer: timer@1e782000 {
                                compatible = "aspeed,ast2400-timer";
                                reg = <0x1e782000 0x90>;