[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160819124705.24633-8-andrew@aj.id.au>
Date: Fri, 19 Aug 2016 22:17:05 +0930
From: Andrew Jeffery <andrew@...id.au>
To: Joel Stanley <joel@....id.au>
Cc: Russell King <linux@...linux.org.uk>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Jeremy Kerr <jk@...abs.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Andrew Jeffery <andrew@...id.au>
Subject: [PATCH v2 7/7] aspeed-g5: Add gpio controller to devicetree
Signed-off-by: Andrew Jeffery <andrew@...id.au>
---
Since v1:
* Use aspeed,ast2500-gpio compatible string
arch/arm/boot/dts/aspeed-g5.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index ae5871a11a70..318e1deafe30 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -280,6 +280,15 @@
reg = <0x1e720000 0x9000>; // 36K
};
+ gpio: gpio@...80000 {
+ #gpio-cells = <2>;
+ gpio-controller;
+ compatible = "aspeed,ast2500-gpio";
+ reg = <0x1e780000 0x1000>;
+ interrupts = <20>;
+ gpio-ranges = <&pinctrl 0 0 220>;
+ };
+
timer: timer@...82000 {
compatible = "aspeed,ast2400-timer";
reg = <0x1e782000 0x90>;
--
2.9.3
Powered by blists - more mailing lists