linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] SPEAr: Add SMI NOR partition info in dts files
@ 2012-05-03 10:37 Viresh Kumar
  2012-05-03 10:37 ` [PATCH 2/2] SPEAr: Update defconfigs Viresh Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Viresh Kumar @ 2012-05-03 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds NOR partitions in all SPEAr boards dts files.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
---
Arnd,

I will have it in my pull request for SPEAr13xx. These mails are only for
review.

 arch/arm/boot/dts/spear1310-evb.dts |   25 +++++++++++++++++++++++++
 arch/arm/boot/dts/spear1340-evb.dts |   25 +++++++++++++++++++++++++
 arch/arm/boot/dts/spear300-evb.dts  |   25 +++++++++++++++++++++++++
 arch/arm/boot/dts/spear310-evb.dts  |   20 ++++++++++++++++++--
 arch/arm/boot/dts/spear320-evb.dts  |   25 +++++++++++++++++++++++++
 arch/arm/boot/dts/spear600-evb.dts  |   29 +++++++++++++++++++++++++++++
 6 files changed, 147 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts
index 12cce81..c090833 100644
--- a/arch/arm/boot/dts/spear1310-evb.dts
+++ b/arch/arm/boot/dts/spear1310-evb.dts
@@ -121,6 +121,31 @@
 
 		smi: flash at ea000000 {
 			status = "okay";
+			clock-rate=<50000000>;
+
+			flash at e6000000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0xe6000000 0x800000>;
+				st,smi-fast-mode;
+
+				partition at 0 {
+					label = "xloader";
+					reg = <0x0 0x10000>;
+				};
+				partition at 10000 {
+					label = "u-boot";
+					reg = <0x10000 0x40000>;
+				};
+				partition at 50000 {
+					label = "linux";
+					reg = <0x50000 0x2c0000>;
+				};
+				partition at 310000 {
+					label = "rootfs";
+					reg = <0x310000 0x230000>;
+				};
+			};
 		};
 
 		spi0: spi at e0100000 {
diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts
index e52b23f..0bf9d8f 100644
--- a/arch/arm/boot/dts/spear1340-evb.dts
+++ b/arch/arm/boot/dts/spear1340-evb.dts
@@ -133,6 +133,31 @@
 
 		smi: flash at ea000000 {
 			status = "okay";
+			clock-rate=<50000000>;
+
+			flash at e6000000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0xe6000000 0x800000>;
+				st,smi-fast-mode;
+
+				partition at 0 {
+					label = "xloader";
+					reg = <0x0 0x10000>;
+				};
+				partition at 10000 {
+					label = "u-boot";
+					reg = <0x10000 0x40000>;
+				};
+				partition at 50000 {
+					label = "linux";
+					reg = <0x50000 0x2c0000>;
+				};
+				partition at 310000 {
+					label = "rootfs";
+					reg = <0x310000 0x230000>;
+				};
+			};
 		};
 
 		spi0: spi at e0100000 {
diff --git a/arch/arm/boot/dts/spear300-evb.dts b/arch/arm/boot/dts/spear300-evb.dts
index 910e264..cb66ba2 100644
--- a/arch/arm/boot/dts/spear300-evb.dts
+++ b/arch/arm/boot/dts/spear300-evb.dts
@@ -87,6 +87,31 @@
 
 		smi: flash at fc000000 {
 			status = "okay";
+			clock-rate=<50000000>;
+
+			flash at f8000000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0xf8000000 0x800000>;
+				st,smi-fast-mode;
+
+				partition at 0 {
+					label = "xloader";
+					reg = <0x0 0x10000>;
+				};
+				partition at 10000 {
+					label = "u-boot";
+					reg = <0x10000 0x40000>;
+				};
+				partition at 50000 {
+					label = "linux";
+					reg = <0x50000 0x2c0000>;
+				};
+				partition at 310000 {
+					label = "rootfs";
+					reg = <0x310000 0x230000>;
+				};
+			};
 		};
 
 		spi0: spi at d0100000 {
diff --git a/arch/arm/boot/dts/spear310-evb.dts b/arch/arm/boot/dts/spear310-evb.dts
index eb9f19e..12ac5ed 100644
--- a/arch/arm/boot/dts/spear310-evb.dts
+++ b/arch/arm/boot/dts/spear310-evb.dts
@@ -103,11 +103,27 @@
 			clock-rate=<50000000>;
 
 			flash at f8000000 {
-				label = "m25p64";
-				reg = <0xf8000000 0x800000>;
 				#address-cells = <1>;
 				#size-cells = <1>;
+				reg = <0xf8000000 0x800000>;
 				st,smi-fast-mode;
+
+				partition at 0 {
+					label = "xloader";
+					reg = <0x0 0x10000>;
+				};
+				partition at 10000 {
+					label = "u-boot";
+					reg = <0x10000 0x40000>;
+				};
+				partition at 50000 {
+					label = "linux";
+					reg = <0x50000 0x2c0000>;
+				};
+				partition at 310000 {
+					label = "rootfs";
+					reg = <0x310000 0x230000>;
+				};
 			};
 		};
 
diff --git a/arch/arm/boot/dts/spear320-evb.dts b/arch/arm/boot/dts/spear320-evb.dts
index 96280fe..a2115aa 100644
--- a/arch/arm/boot/dts/spear320-evb.dts
+++ b/arch/arm/boot/dts/spear320-evb.dts
@@ -110,6 +110,31 @@
 
 		smi: flash at fc000000 {
 			status = "okay";
+			clock-rate=<50000000>;
+
+			flash at f8000000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0xf8000000 0x800000>;
+				st,smi-fast-mode;
+
+				partition at 0 {
+					label = "xloader";
+					reg = <0x0 0x10000>;
+				};
+				partition at 10000 {
+					label = "u-boot";
+					reg = <0x10000 0x40000>;
+				};
+				partition at 50000 {
+					label = "linux";
+					reg = <0x50000 0x2c0000>;
+				};
+				partition at 310000 {
+					label = "rootfs";
+					reg = <0x310000 0x230000>;
+				};
+			};
 		};
 
 		spi0: spi at d0100000 {
diff --git a/arch/arm/boot/dts/spear600-evb.dts b/arch/arm/boot/dts/spear600-evb.dts
index 790a7a8..1872cb0 100644
--- a/arch/arm/boot/dts/spear600-evb.dts
+++ b/arch/arm/boot/dts/spear600-evb.dts
@@ -33,6 +33,35 @@
 			status = "okay";
 		};
 
+		smi: flash at fc000000 {
+			status = "okay";
+			clock-rate=<50000000>;
+
+			flash at f8000000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0xf8000000 0x800000>;
+				st,smi-fast-mode;
+
+				partition at 0 {
+					label = "xloader";
+					reg = <0x0 0x10000>;
+				};
+				partition at 10000 {
+					label = "u-boot";
+					reg = <0x10000 0x40000>;
+				};
+				partition at 50000 {
+					label = "linux";
+					reg = <0x50000 0x2c0000>;
+				};
+				partition at 310000 {
+					label = "rootfs";
+					reg = <0x310000 0x230000>;
+				};
+			};
+		};
+
 		apb {
 			serial at d0000000 {
 				status = "okay";
-- 
1.7.9

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-04  3:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 10:37 [PATCH 1/2] SPEAr: Add SMI NOR partition info in dts files Viresh Kumar
2012-05-03 10:37 ` [PATCH 2/2] SPEAr: Update defconfigs Viresh Kumar
2012-05-03 11:02 ` [PATCH 1/2] SPEAr: Add SMI NOR partition info in dts files Arnd Bergmann
2012-05-03 11:11   ` Stefan Roese
2012-05-04  2:41 ` walimis
2012-05-04  3:52   ` Viresh Kumar

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).