linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: b32955@freescale.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] ARM: imx6q: add DT node for gpmi-nand
Date: Thu, 24 May 2012 18:50:58 +0800	[thread overview]
Message-ID: <1337856659-24812-4-git-send-email-b32955@freescale.com> (raw)
In-Reply-To: <1337856659-24812-1-git-send-email-b32955@freescale.com>

Add DT node for gpmi-nand.
Also enable the gpmi-nand for mx6q-arm2 board.

Signed-off-by: Huang Shijie <b32955@freescale.com>
---
 arch/arm/boot/dts/imx6q-arm2.dts |    4 ++++
 arch/arm/boot/dts/imx6q.dtsi     |   12 ++++++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts
index db4c609..15f9e0b 100644
--- a/arch/arm/boot/dts/imx6q-arm2.dts
+++ b/arch/arm/boot/dts/imx6q-arm2.dts
@@ -22,6 +22,10 @@
 	};
 
 	soc {
+		gpmi-nand at 00112000 {
+			status = "okay";
+		};
+
 		aips-bus at 02100000 { /* AIPS2 */
 			ethernet at 02188000 {
 				phy-mode = "rgmii";
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index cccac33..979d9f9 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -92,6 +92,18 @@
 			reg = <0x00110000 0x2000>;
 		};
 
+		gpmi-nand at 00112000 {
+			compatible = "fsl,imx6q-gpmi-nand";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
+			reg-names = "gpmi-nand", "bch";
+			interrupts = <0 13 0x04>, <0 15 0x04>;
+			interrupt-names = "gpmi-dma", "bch";
+			fsl,gpmi-dma-channel = <0>;
+			status = "disabled";
+		};
+
 		timer at 00a00600 {
 			compatible = "arm,cortex-a9-twd-timer";
 			reg = <0x00a00600 0x20>;
-- 
1.7.0.4

  parent reply	other threads:[~2012-05-24 10:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-24 10:50 [PATCH 1/5] ARM: imx6q: add DT node for apbh-dma Huang Shijie
2012-05-24 10:50 ` [PATCH 2/5] ARM: imx6q: add clock " Huang Shijie
2012-05-24 17:30   ` Sascha Hauer
2012-05-25  2:07     ` Huang Shijie
2012-05-25  2:41       ` Shawn Guo
2012-05-25  6:47       ` Sascha Hauer
2012-05-24 10:50 ` [PATCH 3/5] dma: mxs-dma: enable apbh-dma for imx6q Huang Shijie
2012-05-25  2:36   ` Shawn Guo
2012-05-24 10:50 ` Huang Shijie [this message]
2012-05-25  2:50   ` [PATCH 4/5] ARM: imx6q: add DT node for gpmi-nand Shawn Guo
2012-05-24 10:50 ` [PATCH 5/5] ARM: imx6q: add clocks " Huang Shijie
2012-05-25  2:31 ` [PATCH 1/5] ARM: imx6q: add DT node for apbh-dma Shawn Guo
2012-05-25 15:09   ` Huang Shijie

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=1337856659-24812-4-git-send-email-b32955@freescale.com \
    --to=b32955@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.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).