linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: b41219@freescale.com (Xiaochun Li)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: dts: vf610-twr: Add SPI NOR support
Date: Fri, 21 Jun 2013 18:10:32 +0800	[thread overview]
Message-ID: <1371809432-29541-1-git-send-email-b41219@freescale.com> (raw)

vf610-twr has a s25fl129p1 SPI NOR flash connected to QuadSpi0.

Add support for it.

Signed-off-by: Xiaochun Li <b41219@freescale.com>
---
 arch/arm/boot/dts/vf610-twr.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index b3905f5..202cf1d 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -55,3 +55,23 @@
 	pinctrl-0 = <&pinctrl_uart1_1>;
 	status = "okay";
 };
+
+&qspi0 {
+	fsl,spi-num-chipselects = <1>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_qspi0_1>;
+	status = "okay";
+
+	flash: s25fl129p1 at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "spansion,s25fl129p1";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
+
+		partition at 0 {
+			label = "s25fl129p1";
+			reg = <0x0 0x1000000>;
+		};
+	};
+};
-- 
1.8.0

             reply	other threads:[~2013-06-21 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 10:10 Xiaochun Li [this message]
2013-06-24  4:12 ` [PATCH 1/2] ARM: dts: vf610-twr: Add SPI NOR support 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=1371809432-29541-1-git-send-email-b41219@freescale.com \
    --to=b41219@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).