From: Shaveta Leekha <shaveta@freescale.com>
To: <linux-kernel@vger.kernel.org>, <linux-gpio@vger.kernel.org>
Cc: <r64188@freescale.com>, <gnurou@gmail.com>,
<linus.walleij@linaro.org>,
Shaveta Leekha <shaveta@freescale.com>
Subject: [PATCH 3/3] arm/dts/ls1021a: Add GPIO controller nodes
Date: Thu, 30 Jul 2015 12:57:19 +0530 [thread overview]
Message-ID: <1438241239-15178-3-git-send-email-shaveta@freescale.com> (raw)
In-Reply-To: <1438241239-15178-1-git-send-email-shaveta@freescale.com>
Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
---
Tested on Freescale SDK 1.8, as LS1021aQDS support is not yet complete in upstream
arch/arm/boot/dts/ls1021a.dtsi | 47 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 71ea37d..2630b59 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -60,6 +60,11 @@
serial4 = &lpuart4;
serial5 = &lpuart5;
sysclk = &sysclk;
+ gpio0 = &gpio1;
+ gpio1 = &gpio2;
+ gpio2 = &gpio3;
+ gpio3 = &gpio4;
+
};
cpus {
@@ -332,6 +337,48 @@
status = "disabled";
};
+
+ gpio1: gpio@2300000 {
+ compatible = "fsl,ls1021a-gpio";
+ reg = <0x0 0x2300000 0x0 0x10000>;
+ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpio2: gpio@2310000 {
+ compatible = "fsl,ls1021a-gpio";
+ reg = <0x0 0x2310000 0x0 0x10000>;
+ interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpio3: gpio@2320000 {
+ compatible = "fsl,ls1021a-gpio";
+ reg = <0x0 0x2320000 0x0 0x10000>;
+ interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpio4: gpio@2330000 {
+ compatible = "fsl,ls1021a-gpio";
+ reg = <0x0 0x2330000 0x0 0x10000>;
+ interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+
wdog0: watchdog@2ad0000 {
compatible = "fsl,imx21-wdt";
reg = <0x0 0x2ad0000 0x0 0x10000>;
--
1.7.7.4
next prev parent reply other threads:[~2015-07-30 7:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 7:27 [PATCH 1/3] drivers/gpio: Port gpio driver to ls1021a-qds platform Shaveta Leekha
2015-07-30 7:27 ` [PATCH 2/3] drivers/gpio/Kconfig: enable GPIO configs for LS1021A SoC Shaveta Leekha
2015-07-30 7:27 ` Shaveta Leekha [this message]
2015-08-03 8:10 ` [PATCH 3/3] arm/dts/ls1021a: Add GPIO controller nodes Linus Walleij
2015-08-03 8:12 ` Linus Walleij
2015-08-03 8:07 ` [PATCH 1/3] drivers/gpio: Port gpio driver to ls1021a-qds platform Linus Walleij
2015-08-13 7:46 ` Alexander Stein
2015-08-17 13:44 ` Linus Walleij
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=1438241239-15178-3-git-send-email-shaveta@freescale.com \
--to=shaveta@freescale.com \
--cc=gnurou@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=r64188@freescale.com \
/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
all inboxes | Powered by JetHome®