diff options
author | Vipin Kumar <vipin.kumar@st.com> | 2012-07-04 23:51:47 -0400 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2012-11-26 05:22:54 -0500 |
commit | 482a8f3f53e9bc7a52ef54f6cd40bcf2c270e2f5 (patch) | |
tree | 35913c61886127100c9f737f2278fa7c257e3abf /arch | |
parent | 7db083e0e1b70b0300eeb5945538e725c018f8e0 (diff) |
ARM: SPEAr: DT: Update partition info for MTD devices
This patch enhances partition information of MTD devices like fsmc-nand and
spear-smi.
Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/spear1310-evb.dts | 43 | ||||
-rw-r--r-- | arch/arm/boot/dts/spear1340-evb.dts | 43 | ||||
-rw-r--r-- | arch/arm/boot/dts/spear300-evb.dts | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/spear310-evb.dts | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/spear320-evb.dts | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/spear600-evb.dts | 18 |
6 files changed, 128 insertions, 30 deletions
diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts index 3448d60117e..010e21deb86 100644 --- a/arch/arm/boot/dts/spear1310-evb.dts +++ b/arch/arm/boot/dts/spear1310-evb.dts | |||
@@ -120,6 +120,31 @@ | |||
120 | 120 | ||
121 | fsmc: flash@b0000000 { | 121 | fsmc: flash@b0000000 { |
122 | status = "okay"; | 122 | status = "okay"; |
123 | |||
124 | partition@0 { | ||
125 | label = "xloader"; | ||
126 | reg = <0x0 0x80000>; | ||
127 | }; | ||
128 | partition@80000 { | ||
129 | label = "u-boot"; | ||
130 | reg = <0x80000 0x140000>; | ||
131 | }; | ||
132 | partition@1C0000 { | ||
133 | label = "environment"; | ||
134 | reg = <0x1C0000 0x40000>; | ||
135 | }; | ||
136 | partition@200000 { | ||
137 | label = "dtb"; | ||
138 | reg = <0x200000 0x40000>; | ||
139 | }; | ||
140 | partition@240000 { | ||
141 | label = "linux"; | ||
142 | reg = <0x240000 0xC00000>; | ||
143 | }; | ||
144 | partition@E40000 { | ||
145 | label = "rootfs"; | ||
146 | reg = <0xE40000 0x0>; | ||
147 | }; | ||
123 | }; | 148 | }; |
124 | 149 | ||
125 | gmac0: eth@e2000000 { | 150 | gmac0: eth@e2000000 { |
@@ -146,15 +171,23 @@ | |||
146 | }; | 171 | }; |
147 | partition@10000 { | 172 | partition@10000 { |
148 | label = "u-boot"; | 173 | label = "u-boot"; |
149 | reg = <0x10000 0x40000>; | 174 | reg = <0x10000 0x50000>; |
175 | }; | ||
176 | partition@60000 { | ||
177 | label = "environment"; | ||
178 | reg = <0x60000 0x10000>; | ||
179 | }; | ||
180 | partition@70000 { | ||
181 | label = "dtb"; | ||
182 | reg = <0x70000 0x10000>; | ||
150 | }; | 183 | }; |
151 | partition@50000 { | 184 | partition@80000 { |
152 | label = "linux"; | 185 | label = "linux"; |
153 | reg = <0x50000 0x2c0000>; | 186 | reg = <0x80000 0x310000>; |
154 | }; | 187 | }; |
155 | partition@310000 { | 188 | partition@390000 { |
156 | label = "rootfs"; | 189 | label = "rootfs"; |
157 | reg = <0x310000 0x4f0000>; | 190 | reg = <0x390000 0x0>; |
158 | }; | 191 | }; |
159 | }; | 192 | }; |
160 | }; | 193 | }; |
diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts index 1fc558424d9..b16f7569bf5 100644 --- a/arch/arm/boot/dts/spear1340-evb.dts +++ b/arch/arm/boot/dts/spear1340-evb.dts | |||
@@ -128,6 +128,31 @@ | |||
128 | 128 | ||
129 | fsmc: flash@b0000000 { | 129 | fsmc: flash@b0000000 { |
130 | status = "okay"; | 130 | status = "okay"; |
131 | |||
132 | partition@0 { | ||
133 | label = "xloader"; | ||
134 | reg = <0x0 0x200000>; | ||
135 | }; | ||
136 | partition@200000 { | ||
137 | label = "u-boot"; | ||
138 | reg = <0x200000 0x200000>; | ||
139 | }; | ||
140 | partition@400000 { | ||
141 | label = "environment"; | ||
142 | reg = <0x400000 0x100000>; | ||
143 | }; | ||
144 | partition@500000 { | ||
145 | label = "dtb"; | ||
146 | reg = <0x500000 0x100000>; | ||
147 | }; | ||
148 | partition@600000 { | ||
149 | label = "linux"; | ||
150 | reg = <0x600000 0xC00000>; | ||
151 | }; | ||
152 | partition@1200000 { | ||
153 | label = "rootfs"; | ||
154 | reg = <0x1200000 0x0>; | ||
155 | }; | ||
131 | }; | 156 | }; |
132 | 157 | ||
133 | gmac0: eth@e2000000 { | 158 | gmac0: eth@e2000000 { |
@@ -154,15 +179,23 @@ | |||
154 | }; | 179 | }; |
155 | partition@10000 { | 180 | partition@10000 { |
156 | label = "u-boot"; | 181 | label = "u-boot"; |
157 | reg = <0x10000 0x40000>; | 182 | reg = <0x10000 0x50000>; |
183 | }; | ||
184 | partition@60000 { | ||
185 | label = "environment"; | ||
186 | reg = <0x60000 0x10000>; | ||
187 | }; | ||
188 | partition@70000 { | ||
189 | label = "dtb"; | ||
190 | reg = <0x70000 0x10000>; | ||
158 | }; | 191 | }; |
159 | partition@50000 { | 192 | partition@80000 { |
160 | label = "linux"; | 193 | label = "linux"; |
161 | reg = <0x50000 0x2c0000>; | 194 | reg = <0x80000 0x310000>; |
162 | }; | 195 | }; |
163 | partition@310000 { | 196 | partition@390000 { |
164 | label = "rootfs"; | 197 | label = "rootfs"; |
165 | reg = <0x310000 0x4f0000>; | 198 | reg = <0x390000 0x0>; |
166 | }; | 199 | }; |
167 | }; | 200 | }; |
168 | }; | 201 | }; |
diff --git a/arch/arm/boot/dts/spear300-evb.dts b/arch/arm/boot/dts/spear300-evb.dts index 1e7c7a8e212..b3265f6f595 100644 --- a/arch/arm/boot/dts/spear300-evb.dts +++ b/arch/arm/boot/dts/spear300-evb.dts | |||
@@ -100,15 +100,23 @@ | |||
100 | }; | 100 | }; |
101 | partition@10000 { | 101 | partition@10000 { |
102 | label = "u-boot"; | 102 | label = "u-boot"; |
103 | reg = <0x10000 0x40000>; | 103 | reg = <0x10000 0x50000>; |
104 | }; | 104 | }; |
105 | partition@50000 { | 105 | partition@60000 { |
106 | label = "environment"; | ||
107 | reg = <0x60000 0x10000>; | ||
108 | }; | ||
109 | partition@70000 { | ||
110 | label = "dtb"; | ||
111 | reg = <0x70000 0x10000>; | ||
112 | }; | ||
113 | partition@80000 { | ||
106 | label = "linux"; | 114 | label = "linux"; |
107 | reg = <0x50000 0x2c0000>; | 115 | reg = <0x80000 0x310000>; |
108 | }; | 116 | }; |
109 | partition@310000 { | 117 | partition@390000 { |
110 | label = "rootfs"; | 118 | label = "rootfs"; |
111 | reg = <0x310000 0x4f0000>; | 119 | reg = <0x390000 0x0>; |
112 | }; | 120 | }; |
113 | }; | 121 | }; |
114 | }; | 122 | }; |
diff --git a/arch/arm/boot/dts/spear310-evb.dts b/arch/arm/boot/dts/spear310-evb.dts index b00544e0cd5..b30fa0e6001 100644 --- a/arch/arm/boot/dts/spear310-evb.dts +++ b/arch/arm/boot/dts/spear310-evb.dts | |||
@@ -114,15 +114,23 @@ | |||
114 | }; | 114 | }; |
115 | partition@10000 { | 115 | partition@10000 { |
116 | label = "u-boot"; | 116 | label = "u-boot"; |
117 | reg = <0x10000 0x40000>; | 117 | reg = <0x10000 0x50000>; |
118 | }; | 118 | }; |
119 | partition@50000 { | 119 | partition@60000 { |
120 | label = "environment"; | ||
121 | reg = <0x60000 0x10000>; | ||
122 | }; | ||
123 | partition@70000 { | ||
124 | label = "dtb"; | ||
125 | reg = <0x70000 0x10000>; | ||
126 | }; | ||
127 | partition@80000 { | ||
120 | label = "linux"; | 128 | label = "linux"; |
121 | reg = <0x50000 0x2c0000>; | 129 | reg = <0x80000 0x310000>; |
122 | }; | 130 | }; |
123 | partition@310000 { | 131 | partition@390000 { |
124 | label = "rootfs"; | 132 | label = "rootfs"; |
125 | reg = <0x310000 0x4f0000>; | 133 | reg = <0x390000 0x0>; |
126 | }; | 134 | }; |
127 | }; | 135 | }; |
128 | }; | 136 | }; |
diff --git a/arch/arm/boot/dts/spear320-evb.dts b/arch/arm/boot/dts/spear320-evb.dts index 70c3498b16a..5b73d9c805d 100644 --- a/arch/arm/boot/dts/spear320-evb.dts +++ b/arch/arm/boot/dts/spear320-evb.dts | |||
@@ -118,15 +118,23 @@ | |||
118 | }; | 118 | }; |
119 | partition@10000 { | 119 | partition@10000 { |
120 | label = "u-boot"; | 120 | label = "u-boot"; |
121 | reg = <0x10000 0x40000>; | 121 | reg = <0x10000 0x50000>; |
122 | }; | 122 | }; |
123 | partition@50000 { | 123 | partition@60000 { |
124 | label = "environment"; | ||
125 | reg = <0x60000 0x10000>; | ||
126 | }; | ||
127 | partition@70000 { | ||
128 | label = "dtb"; | ||
129 | reg = <0x70000 0x10000>; | ||
130 | }; | ||
131 | partition@80000 { | ||
124 | label = "linux"; | 132 | label = "linux"; |
125 | reg = <0x50000 0x2c0000>; | 133 | reg = <0x80000 0x310000>; |
126 | }; | 134 | }; |
127 | partition@310000 { | 135 | partition@390000 { |
128 | label = "rootfs"; | 136 | label = "rootfs"; |
129 | reg = <0x310000 0x4f0000>; | 137 | reg = <0x390000 0x0>; |
130 | }; | 138 | }; |
131 | }; | 139 | }; |
132 | }; | 140 | }; |
diff --git a/arch/arm/boot/dts/spear600-evb.dts b/arch/arm/boot/dts/spear600-evb.dts index 1119c22c9a8..16e4de46c7b 100644 --- a/arch/arm/boot/dts/spear600-evb.dts +++ b/arch/arm/boot/dts/spear600-evb.dts | |||
@@ -49,15 +49,23 @@ | |||
49 | }; | 49 | }; |
50 | partition@10000 { | 50 | partition@10000 { |
51 | label = "u-boot"; | 51 | label = "u-boot"; |
52 | reg = <0x10000 0x40000>; | 52 | reg = <0x10000 0x50000>; |
53 | }; | 53 | }; |
54 | partition@50000 { | 54 | partition@60000 { |
55 | label = "environment"; | ||
56 | reg = <0x60000 0x10000>; | ||
57 | }; | ||
58 | partition@70000 { | ||
59 | label = "dtb"; | ||
60 | reg = <0x70000 0x10000>; | ||
61 | }; | ||
62 | partition@80000 { | ||
55 | label = "linux"; | 63 | label = "linux"; |
56 | reg = <0x50000 0x2c0000>; | 64 | reg = <0x80000 0x310000>; |
57 | }; | 65 | }; |
58 | partition@310000 { | 66 | partition@390000 { |
59 | label = "rootfs"; | 67 | label = "rootfs"; |
60 | reg = <0x310000 0x4f0000>; | 68 | reg = <0x390000 0x0>; |
61 | }; | 69 | }; |
62 | }; | 70 | }; |
63 | }; | 71 | }; |