linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: shc_work@mail.ru (Alexander Shiyan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/6] ARM: dts: imx27-phytec-phycore-som: Add WEIM node
Date: Tue,  2 Jul 2013 20:02:26 +0400	[thread overview]
Message-ID: <1372780949-31897-3-git-send-email-shc_work@mail.ru> (raw)
In-Reply-To: <1372780949-31897-1-git-send-email-shc_work@mail.ru>

This patch adds WEIM node for Phytec PCM-038 module.
Migrate existing on-module NOR-flash as children of WEIM CS0.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
index 76edf59..92765ee 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
+++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
@@ -52,15 +52,6 @@
 			};
 		};
 	};
-
-	nor_flash at c0000000 {
-		compatible = "cfi-flash";
-		bank-width = <2>;
-		reg = <0xc0000000 0x02000000>;
-		linux,mtd-name = "physmap-flash.0";
-		#address-cells = <1>;
-		#size-cells = <1>;
-	};
 };
 
 &cspi1 {
@@ -177,3 +168,17 @@
 	nand-ecc-mode = "hw";
 	status = "okay";
 };
+
+&weim {
+	status = "okay";
+
+	nor: nor at c0000000 {
+		compatible = "cfi-flash";
+		reg = <0 0x00000000 0x02000000>;
+		bank-width = <2>;
+		linux,mtd-name = "physmap-flash.0";
+		fsl,weim-cs-timing = <0x22c2cf00 0x75000d01 0x00000900>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+	};
+};
-- 
1.8.1.5

  parent reply	other threads:[~2013-07-02 16:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 16:02 [PATCH 1/6] ARM: dts: i.MX27: Move IIM node under AIPI2 bus Alexander Shiyan
2013-07-02 16:02 ` [PATCH 2/6] ARM: dts: i.MX27: Add WEIM node Alexander Shiyan
2013-07-02 16:02 ` Alexander Shiyan [this message]
2013-07-02 16:02 ` [PATCH 4/6] ARM: dts: imx27-phytec-phycore-som: Add SRAM node Alexander Shiyan
2013-07-02 16:02 ` [PATCH 5/6] ARM: dts: imx27-phytec-phycore-rdk: Add CAN node Alexander Shiyan
2013-07-02 16:02 ` [PATCH 6/6] ARM: dts: imx27-phytec-phycore-som: Using labels for reusing UART, I2C and FEC Alexander Shiyan
2013-07-04  6:56 ` [PATCH 1/6] ARM: dts: i.MX27: Move IIM node under AIPI2 bus 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=1372780949-31897-3-git-send-email-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --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).