aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-05-01 08:39:22 -0400
committerArnd Bergmann <arnd@arndb.de>2012-05-12 15:50:04 -0400
commit30a0d03776ff2d7ee5ec72d515d8e3cc6d2f0c62 (patch)
tree3f7815caaf4684834a996cd225cd92cf1289b56e
parent30551c0108e0d2fed48778a6bbd52843088bcb7b (diff)
SPEAr: Add SMI NOR partition info in dts files
This patch adds NOR partitions in all SPEAr boards dts files. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/boot/dts/spear300-evb.dts25
-rw-r--r--arch/arm/boot/dts/spear310-evb.dts20
-rw-r--r--arch/arm/boot/dts/spear320-evb.dts25
-rw-r--r--arch/arm/boot/dts/spear600-evb.dts29
4 files changed, 97 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/spear300-evb.dts b/arch/arm/boot/dts/spear300-evb.dts
index 6a79d69775b5..bf491a332145 100644
--- a/arch/arm/boot/dts/spear300-evb.dts
+++ b/arch/arm/boot/dts/spear300-evb.dts
@@ -49,6 +49,31 @@
49 49
50 smi: flash@fc000000 { 50 smi: flash@fc000000 {
51 status = "okay"; 51 status = "okay";
52 clock-rate=<50000000>;
53
54 flash@f8000000 {
55 #address-cells = <1>;
56 #size-cells = <1>;
57 reg = <0xf8000000 0x800000>;
58 st,smi-fast-mode;
59
60 partition@0 {
61 label = "xloader";
62 reg = <0x0 0x10000>;
63 };
64 partition@10000 {
65 label = "u-boot";
66 reg = <0x10000 0x40000>;
67 };
68 partition@50000 {
69 label = "linux";
70 reg = <0x50000 0x2c0000>;
71 };
72 partition@310000 {
73 label = "rootfs";
74 reg = <0x310000 0x4f0000>;
75 };
76 };
52 }; 77 };
53 78
54 spi0: spi@d0100000 { 79 spi0: spi@d0100000 {
diff --git a/arch/arm/boot/dts/spear310-evb.dts b/arch/arm/boot/dts/spear310-evb.dts
index c86af33f700e..f7ecb0c1c6e8 100644
--- a/arch/arm/boot/dts/spear310-evb.dts
+++ b/arch/arm/boot/dts/spear310-evb.dts
@@ -42,11 +42,27 @@
42 clock-rate=<50000000>; 42 clock-rate=<50000000>;
43 43
44 flash@f8000000 { 44 flash@f8000000 {
45 label = "m25p64";
46 reg = <0xf8000000 0x800000>;
47 #address-cells = <1>; 45 #address-cells = <1>;
48 #size-cells = <1>; 46 #size-cells = <1>;
47 reg = <0xf8000000 0x800000>;
49 st,smi-fast-mode; 48 st,smi-fast-mode;
49
50 partition@0 {
51 label = "xloader";
52 reg = <0x0 0x10000>;
53 };
54 partition@10000 {
55 label = "u-boot";
56 reg = <0x10000 0x40000>;
57 };
58 partition@50000 {
59 label = "linux";
60 reg = <0x50000 0x2c0000>;
61 };
62 partition@310000 {
63 label = "rootfs";
64 reg = <0x310000 0x4f0000>;
65 };
50 }; 66 };
51 }; 67 };
52 68
diff --git a/arch/arm/boot/dts/spear320-evb.dts b/arch/arm/boot/dts/spear320-evb.dts
index d43de712e863..8fb59d805be3 100644
--- a/arch/arm/boot/dts/spear320-evb.dts
+++ b/arch/arm/boot/dts/spear320-evb.dts
@@ -49,6 +49,31 @@
49 49
50 smi: flash@fc000000 { 50 smi: flash@fc000000 {
51 status = "okay"; 51 status = "okay";
52 clock-rate=<50000000>;
53
54 flash@f8000000 {
55 #address-cells = <1>;
56 #size-cells = <1>;
57 reg = <0xf8000000 0x800000>;
58 st,smi-fast-mode;
59
60 partition@0 {
61 label = "xloader";
62 reg = <0x0 0x10000>;
63 };
64 partition@10000 {
65 label = "u-boot";
66 reg = <0x10000 0x40000>;
67 };
68 partition@50000 {
69 label = "linux";
70 reg = <0x50000 0x2c0000>;
71 };
72 partition@310000 {
73 label = "rootfs";
74 reg = <0x310000 0x4f0000>;
75 };
76 };
52 }; 77 };
53 78
54 spi0: spi@d0100000 { 79 spi0: spi@d0100000 {
diff --git a/arch/arm/boot/dts/spear600-evb.dts b/arch/arm/boot/dts/spear600-evb.dts
index 790a7a8a5ccd..1119c22c9a82 100644
--- a/arch/arm/boot/dts/spear600-evb.dts
+++ b/arch/arm/boot/dts/spear600-evb.dts
@@ -33,6 +33,35 @@
33 status = "okay"; 33 status = "okay";
34 }; 34 };
35 35
36 smi: flash@fc000000 {
37 status = "okay";
38 clock-rate=<50000000>;
39
40 flash@f8000000 {
41 #address-cells = <1>;
42 #size-cells = <1>;
43 reg = <0xf8000000 0x800000>;
44 st,smi-fast-mode;
45
46 partition@0 {
47 label = "xloader";
48 reg = <0x0 0x10000>;
49 };
50 partition@10000 {
51 label = "u-boot";
52 reg = <0x10000 0x40000>;
53 };
54 partition@50000 {
55 label = "linux";
56 reg = <0x50000 0x2c0000>;
57 };
58 partition@310000 {
59 label = "rootfs";
60 reg = <0x310000 0x4f0000>;
61 };
62 };
63 };
64
36 apb { 65 apb {
37 serial@d0000000 { 66 serial@d0000000 {
38 status = "okay"; 67 status = "okay";