From: Andrew Jeffery <andrew@aj.id.au>
To: Joel Stanley <joel@jms.id.au>
Cc: Russell King <linux@armlinux.org.uk>,
Mark Rutland <mark.rutland@arm.com>,
Rob Herring <robh+dt@kernel.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Jeremy Kerr <jk@ozlabs.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Andrew Jeffery <andrew@aj.id.au>
Subject: [PATCH v2 7/7] aspeed-g5: Add gpio controller to devicetree
Date: Fri, 19 Aug 2016 22:17:05 +0930 [thread overview]
Message-ID: <20160819124705.24633-8-andrew@aj.id.au> (raw)
In-Reply-To: <20160819124705.24633-1-andrew@aj.id.au>
Signed-off-by: Andrew Jeffery <andrew@aj.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@1e780000 {
+ #gpio-cells = <2>;
+ gpio-controller;
+ compatible = "aspeed,ast2500-gpio";
+ reg = <0x1e780000 0x1000>;
+ interrupts = <20>;
+ gpio-ranges = <&pinctrl 0 0 220>;
+ };
+
timer: timer@1e782000 {
compatible = "aspeed,ast2400-timer";
reg = <0x1e782000 0x90>;
--
2.9.3
prev parent reply other threads:[~2016-08-19 12:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 12:46 [PATCH v2 0/7] aspeed: Integrate pinctrl and gpio drivers Andrew Jeffery
2016-08-19 12:46 ` [PATCH v2 1/7] mach-aspeed: Select pinctrl drivers Andrew Jeffery
[not found] ` <20160819124705.24633-1-andrew-zrmu5oMJ5Fs@public.gmane.org>
2016-08-19 12:47 ` [PATCH v2 2/7] mach-aspeed: Select GPIO driver Andrew Jeffery
2016-08-19 12:47 ` [PATCH v2 3/7] aspeed-g4: Add syscon and pin controller nodes Andrew Jeffery
2016-08-19 12:47 ` [PATCH v2 4/7] palmetto: Request relevant mux functions in devicetree Andrew Jeffery
2016-08-19 12:47 ` [PATCH v2 5/7] aspeed-g4: Add gpio controller to devicetree Andrew Jeffery
2016-08-19 12:47 ` [PATCH v2 6/7] aspeed-g5: Add syscon and pin controller nodes Andrew Jeffery
2016-08-19 12:47 ` Andrew Jeffery [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160819124705.24633-8-andrew@aj.id.au \
--to=andrew@aj.id.au \
--cc=benh@kernel.crashing.org \
--cc=devicetree@vger.kernel.org \
--cc=jk@ozlabs.org \
--cc=joel@jms.id.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).