From: b32955@freescale.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 6/6] ARM: dts: imx6qdl-sabreauto: enable the WEIM NOR
Date: Tue, 28 May 2013 14:20:12 +0800 [thread overview]
Message-ID: <1369722012-6915-7-git-send-email-b32955@freescale.com> (raw)
In-Reply-To: <1369722012-6915-1-git-send-email-b32955@freescale.com>
Enable the WEIM NOR for imx6q{dl}-sabreauto boards.
For the pin conflict with SPI NOR, its status is set to "disabled".
Signed-off-by: Huang Shijie <b32955@freescale.com>
---
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index a4466e6..e994011 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -58,3 +58,22 @@
wp-gpios = <&gpio1 13 0>;
status = "okay";
};
+
+&weim {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_weim_nor_1 &pinctrl_weim_cs0_1>;
+ #address-cells = <2>;
+ #size-cells = <1>;
+ ranges = <0 0 0x08000000 0x08000000>;
+ status = "disabled"; /* pin conflict with SPI NOR */
+
+ nor at 0,0 {
+ compatible = "cfi-flash";
+ reg = <0 0 0x02000000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ bank-width = <2>;
+ fsl,weim-cs-timing = <0x00620081 0x00000001 0x1c022000
+ 0x0000c000 0x1404a38e 0x00000000>;
+ };
+};
--
1.7.1
prev parent reply other threads:[~2013-05-28 6:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 6:20 [PATCH v4 0/6] ARM: imx6q{dl}: add the WEIM driver Huang Shijie
2013-05-28 6:20 ` [PATCH v4 1/6] drivers: bus: add a new driver for WEIM Huang Shijie
2013-05-28 6:43 ` Sascha Hauer
2013-05-28 6:50 ` Shawn Guo
2013-06-06 15:09 ` Shawn Guo
2013-06-06 15:26 ` Arnd Bergmann
2013-06-06 18:57 ` Arnd Bergmann
2013-05-28 6:20 ` [PATCH v4 2/6] ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM Huang Shijie
2013-05-28 6:20 ` [PATCH v4 3/6] ARM: dts: imx6qdl: add more information for WEIM Huang Shijie
2013-05-28 6:20 ` [PATCH v4 4/6] ARM: dts: imx6q: add pinctrls for WEIM NOR Huang Shijie
2013-05-28 6:20 ` [PATCH v4 5/6] ARM: dts: imx6dl: " Huang Shijie
2013-05-28 6:20 ` Huang Shijie [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=1369722012-6915-7-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).