From: b44548@freescale.com (Chao Fu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/4] ARM:dts:vf610-twr:Enable DSPI0 devices and Flash at26df081a
Date: Wed, 24 Jul 2013 13:32:21 +0800	[thread overview]
Message-ID: <1374643943-3324-3-git-send-email-b44548@freescale.com> (raw)
In-Reply-To: <1374643943-3324-1-git-send-email-b44548@freescale.com>
From: Chao Fu <B44548@freescale.com>
This patch enables DSPI0 and at26df081a flash device for Vybrid VF610 TOWER board.
Signed-off-by: Chao Fu <b44548@freescale.com>
---
Changes in v2: 
Remove item spi-num-chipselects. 
 arch/arm/boot/dts/vf610-twr.dts | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index b3905f5..ff943fc 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -36,6 +36,27 @@
 
 };
 
+&dspi0 {
+	bus-num = <0>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_dspi0_1>;
+	status = "okay";
+
+	sflash: at26df081a at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "atmel,at26df081a";
+		spi-max-frequency = <16000000>;
+		spi-cpol;
+		spi-cpha;
+		dspi,ctar-dbr = <0>;
+		dspi,ctar-pbr = <0>;
+		reg = <0>;
+		linux,modalias = "m25p80";
+		modal = "at26df081a";
+	};
+};
+
 &fec0 {
 	phy-mode = "rmii";
 	pinctrl-names = "default";
-- 
1.8.0
next prev parent reply	other threads:[~2013-07-24  5:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24  5:32 [PATCH v2 0/4]Add Freescale DSPI driver for Vybrid VF610 platform Chao Fu
2013-07-24  5:32 ` [PATCH v2 1/4] ARM:dts: vf610: Add DSPI nodes Chao Fu
2013-07-24  5:32 ` Chao Fu [this message]
2013-07-24  5:32 ` [PATCH v2 3/4] Documentation: DT: Add DSPI driver Chao Fu
2013-07-24 10:20   ` Mark Brown
2013-07-24  5:32 ` [PATCH v2 4/4] spi:Add Freescale DSPI driver for Vybrid VF610 platform Chao Fu
2013-07-26  7:21   ` Sascha Hauer
2013-07-28 18:41     ` Mark Brown
2013-08-07  7:58       ` Fu Chao-B44548
2013-08-08  6:54     ` Fu Chao-B44548
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=1374643943-3324-3-git-send-email-b44548@freescale.com \
    --to=b44548@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).