From: b32955@freescale.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: mx28evk: add gpmi-nand dt support
Date: Fri, 20 Apr 2012 17:24:18 +0800 [thread overview]
Message-ID: <1334913859-5314-3-git-send-email-b32955@freescale.com> (raw)
In-Reply-To: <1334913859-5314-1-git-send-email-b32955@freescale.com>
add gpmi-nand device tree support, and add proper clock for it.
Signed-off-by: Huang Shijie <b32955@freescale.com>
---
arch/arm/boot/dts/imx28.dtsi | 9 +++++----
arch/arm/mach-mxs/clock-mx28.c | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index dd209a3..2804a43 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -63,15 +63,16 @@
};
bch at 8000a000 {
+ compatible = "fsl,imx28-bch";
reg = <0x8000a000 2000>;
interrupts = <41>;
- status = "disabled";
};
- gpmi at 8000c000 {
+ gpmi-nand at 8000c000 {
+ compatible = "fsl,imx28-gpmi-nand";
reg = <0x8000c000 2000>;
- interrupts = <42 88>;
- status = "disabled";
+ interrupts = <88>;
+ dma_channel = <4>;
};
ssp at 80010000 {
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c
index 8401854..6fe6737 100644
--- a/arch/arm/mach-mxs/clock-mx28.c
+++ b/arch/arm/mach-mxs/clock-mx28.c
@@ -617,7 +617,6 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("duart", NULL, uart_clk)
_REGISTER_CLOCK("imx28-fec.0", NULL, fec_clk)
_REGISTER_CLOCK("imx28-fec.1", NULL, fec_clk)
- _REGISTER_CLOCK("imx28-gpmi-nand", NULL, gpmi_clk)
_REGISTER_CLOCK("mxs-auart.0", NULL, uart_clk)
_REGISTER_CLOCK("mxs-auart.1", NULL, uart_clk)
_REGISTER_CLOCK("mxs-auart.2", NULL, uart_clk)
@@ -649,6 +648,7 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("mxs-saif.0", NULL, saif0_clk)
_REGISTER_CLOCK("mxs-saif.1", NULL, saif1_clk)
/* for DT */
+ _REGISTER_CLOCK("8000c000.gpmi-nand", NULL, gpmi_clk)
_REGISTER_CLOCK("80074000.serial", NULL, uart_clk)
_REGISTER_CLOCK("800f0000.ethernet", NULL, fec_clk)
_REGISTER_CLOCK("800f4000.ethernet", NULL, fec_clk)
--
1.7.0.4
next prev parent reply other threads:[~2012-04-20 9:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-20 9:24 [PATCH 0/3] add gpmi-nand dt support for mx6q-arm2 and imx28evk Huang Shijie
2012-04-20 9:24 ` [PATCH 1/3] ARM: mx6q-arm2: add gpmi-nand dt support Huang Shijie
2012-04-23 5:35 ` Shawn Guo
2012-04-20 9:24 ` Huang Shijie [this message]
2012-04-23 5:38 ` [PATCH 2/3] ARM: mx28evk: " Shawn Guo
2012-04-20 9:24 ` [PATCH 3/3] mtd: gpmi: add device tree support for mx6q-arm2 and mx28evk Huang Shijie
2012-04-23 6:43 ` Shawn Guo
2012-04-23 8:10 ` Huang Shijie
2012-04-23 13:05 ` Shawn Guo
2012-04-23 5:26 ` [PATCH 0/3] add gpmi-nand dt support for mx6q-arm2 and imx28evk Shawn Guo
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=1334913859-5314-3-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).