linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: linuxppc-dev@ozlabs.org
Subject: [PATCH 04/11] powerpc/85xx: Update SPI binding to match binding spec for P1020RDB
Date: Sat, 22 Oct 2011 16:20:45 -0500	[thread overview]
Message-ID: <1319318452-27036-4-git-send-email-galak@kernel.crashing.org> (raw)
In-Reply-To: <1319318452-27036-3-git-send-email-galak@kernel.crashing.org>

The SPI node is out of date with regards to the binding for fsl-espi and
driver support.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/boot/dts/p1020rdb.dts |   30 +++++++++++++-----------------
 arch/powerpc/boot/dts/p1020si.dtsi |    5 ++---
 2 files changed, 15 insertions(+), 20 deletions(-)

diff --git a/arch/powerpc/boot/dts/p1020rdb.dts b/arch/powerpc/boot/dts/p1020rdb.dts
index 8b1a7ee..b31e7ec 100644
--- a/arch/powerpc/boot/dts/p1020rdb.dts
+++ b/arch/powerpc/boot/dts/p1020rdb.dts
@@ -149,49 +149,45 @@
 		};
 
 		spi@7000 {
-
-			fsl_m25p80@0 {
+			flash@0 {
 				#address-cells = <1>;
 				#size-cells = <1>;
-				compatible = "fsl,espi-flash";
+				compatible = "spansion,s25sl12801";
 				reg = <0>;
-				linux,modalias = "fsl_m25p80";
-				modal = "s25sl128b";
-				spi-max-frequency = <50000000>;
-				mode = <0>;
+				spi-max-frequency = <40000000>; /* input clock */
 
-				partition@0 {
+				partition@u-boot {
 					/* 512KB for u-boot Bootloader Image */
 					reg = <0x0 0x00080000>;
-					label = "SPI (RO) U-Boot Image";
+					label = "u-boot";
 					read-only;
 				};
 
-				partition@80000 {
+				partition@dtb {
 					/* 512KB for DTB Image */
 					reg = <0x00080000 0x00080000>;
-					label = "SPI (RO) DTB Image";
+					label = "dtb";
 					read-only;
 				};
 
-				partition@100000 {
+				partition@kernel {
 					/* 4MB for Linux Kernel Image */
 					reg = <0x00100000 0x00400000>;
-					label = "SPI (RO) Linux Kernel Image";
+					label = "kernel";
 					read-only;
 				};
 
-				partition@500000 {
+				partition@fs {
 					/* 4MB for Compressed RFS Image */
 					reg = <0x00500000 0x00400000>;
-					label = "SPI (RO) Compressed RFS Image";
+					label = "file system";
 					read-only;
 				};
 
-				partition@900000 {
+				partition@jffs-fs {
 					/* 7MB for JFFS2 based RFS */
 					reg = <0x00900000 0x00700000>;
-					label = "SPI (RW) JFFS2 RFS";
+					label = "file system jffs2";
 				};
 			};
 		};
diff --git a/arch/powerpc/boot/dts/p1020si.dtsi b/arch/powerpc/boot/dts/p1020si.dtsi
index 58f6b30..25e10cf 100644
--- a/arch/powerpc/boot/dts/p1020si.dtsi
+++ b/arch/powerpc/boot/dts/p1020si.dtsi
@@ -112,14 +112,13 @@
 		};
 
 		spi@7000 {
-			cell-index = <0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
-			compatible = "fsl,espi";
+			compatible = "fsl,p1020-espi", "fsl,mpc8536-espi";
 			reg = <0x7000 0x1000>;
 			interrupts = <59 0x2>;
 			interrupt-parent = <&mpic>;
-			mode = "cpu";
+			fsl,espi-num-chipselects = <4>;
 		};
 
 		gpio: gpio-controller@f000 {
-- 
1.7.3.4

  reply	other threads:[~2011-10-22 21:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-22 21:20 [PATCH 01/11] powerpc/85xx: Add 'fsl, pq3-gpio' compatiable for GPIO driver Kumar Gala
2011-10-22 21:20 ` [PATCH 02/11] powerpc/85xx: Simplify P1020RDB CAMP dts using includes Kumar Gala
2011-10-22 21:20   ` [PATCH 03/11] powerpc/85xx: Rework PCI nodes on P1020RDB Kumar Gala
2011-10-22 21:20     ` Kumar Gala [this message]
2011-10-22 21:20       ` [PATCH 05/11] powerpc/85xx: Update P1020 SEC3.3 node to match actual SoC HW Kumar Gala
2011-10-22 21:20         ` [PATCH 06/11] powerpc/85xx: Add ethernet magic packet property to P1020 device tree Kumar Gala
2011-10-22 21:20           ` [PATCH 07/11] powerpc/85xx: p1020si.dtsi update interrupt handling Kumar Gala
2011-10-22 21:20             ` [PATCH 08/11] powerpc/85xx: create dts components to build up an SoC Kumar Gala
2011-10-22 21:20               ` [PATCH 09/11] powerpc/85xx: Rework P1020 SoC device tree Kumar Gala
2011-10-22 21:20                 ` [PATCH 10/11] powerpc/85xx: Rework P1020RDB " Kumar Gala
2011-10-22 21:20                   ` [PATCH 11/11] powerpc/85xx: Add P1020RDB 36-bit address map " Kumar Gala
2011-10-25 22:19           ` [PATCH 06/11] powerpc/85xx: Add ethernet magic packet property to P1020 " Scott Wood
2011-10-26  3:35             ` Kumar Gala
2011-10-26 16:02               ` Scott Wood
2011-10-23 14:37     ` [PATCH 03/11] powerpc/85xx: Rework PCI nodes on P1020RDB Tabi Timur-B04825
2011-10-24 14:02       ` Kumar Gala
2011-10-24 14:05         ` Timur Tabi
2011-11-03 17:59 ` [PATCH 01/11] powerpc/85xx: Add 'fsl, pq3-gpio' compatiable for GPIO driver Kumar Gala
2011-11-10 16:06 Kumar Gala
2011-11-10 16:07 ` [PATCH 02/11] powerpc/85xx: Simplify P1020RDB CAMP dts using includes Kumar Gala
2011-11-10 16:07   ` [PATCH 03/11] powerpc/85xx: Rework PCI nodes on P1020RDB Kumar Gala
2011-11-10 16:07     ` [PATCH 04/11] powerpc/85xx: Update SPI binding to match binding spec for P1020RDB Kumar Gala

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=1319318452-27036-4-git-send-email-galak@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.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).