mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [PATCH v2 5/8] ARM: socfpga: socrates: add qspi flash
Date: Thu, 28 May 2015 17:56:04 +0200	[thread overview]
Message-ID: <1432828567-14037-6-git-send-email-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <1432828567-14037-1-git-send-email-s.trumtrar@pengutronix.de>

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/dts/socfpga_cyclone5_socrates.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 7fa5e63076d4..125ad1b8502d 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -62,3 +62,23 @@
 &mmc {
 	status = "okay";
 };
+
+&qspi {
+	status = "okay";
+
+	flash: flash@0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "n25q00";
+		reg = <0>;
+		spi-max-frequency = <100000000>;
+		m25p,fast-read;
+		cdns,page-size = <256>;
+		cdns,block-size = <16>;
+		cdns,read-delay = <4>;
+		cdns,tshsl-ns = <50>;
+		cdns,tsd2d-ns = <50>;
+		cdns,tchsh-ns = <4>;
+		cdns,tslch-ns = <4>;
+	};
+};
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2015-05-28 15:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28 15:55 [PATCH v2 0/8] Socfpga: QSPI support Steffen Trumtrar
2015-05-28 15:56 ` [PATCH v2 1/8] mtd: spi-nor: add SPI-NOR framework Steffen Trumtrar
2015-05-28 15:56 ` [PATCH v2 2/8] mtd: spi-nor: add cadence quadspi driver Steffen Trumtrar
2015-05-28 15:56 ` [PATCH v2 3/8] ARM: dts: socfpga: add qspi node Steffen Trumtrar
2015-05-28 15:56 ` [PATCH v2 4/8] ARM: socfpga: socdk add qspi flash Steffen Trumtrar
2015-05-28 15:56 ` Steffen Trumtrar [this message]
2015-05-28 15:56 ` [PATCH v2 6/8] ARM: socfpga: sockit: " Steffen Trumtrar
2015-05-28 15:56 ` [PATCH v2 7/8] ARM: socfpga: xload: support qspi bootsource Steffen Trumtrar
2015-05-28 15:56 ` [PATCH v2 8/8] mtd: m25p80: use the SPI nor framework Steffen Trumtrar
2015-06-16  5:48   ` Antony Pavlov
2015-06-17  6:05     ` Sascha Hauer
2015-05-29  7:25 ` [PATCH v2 0/8] Socfpga: QSPI support Sascha Hauer
2015-05-29  7:49   ` Steffen Trumtrar

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=1432828567-14037-6-git-send-email-s.trumtrar@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@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