aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2018-01-18 06:46:14 -0500
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-02-13 11:15:14 -0500
commitcf438f51c6af8c4d0030d681d14c3a59f0ec5d93 (patch)
tree11b67ac03143e460e2cd5a693f0ecfd060a5f3f7
parent7981190fb5dd710dea08c2613cee3d05e795ca5e (diff)
ARM: dts: at91: nattis: use up-to-date mtd partitions
The nattis currently relies on the cmdline to correctly configure the MTD partition table, and the one given in the device tree is simply ignored. Which is fortunate, since the device tree partition table is bonkers and does not match reality. So, in order to avoid confusion, fix the device tree partition table to match what is expected (i.e. what is normally provided on the cmdline). In particular, the rootfs partition should be mtd6. Fixes: 0e4323899973 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power") Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--arch/arm/boot/dts/at91-nattis-2-natte-2.dts27
1 files changed, 16 insertions, 11 deletions
diff --git a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
index c457eff25911..f94c0613fb0d 100644
--- a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
+++ b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
@@ -216,29 +216,34 @@
216 reg = <0x0 0x40000>; 216 reg = <0x0 0x40000>;
217 }; 217 };
218 218
219 bootloader@40000 { 219 barebox@40000 {
220 label = "bootloader"; 220 label = "barebox";
221 reg = <0x40000 0x80000>; 221 reg = <0x40000 0x60000>;
222 }; 222 };
223 223
224 bootloaderenv@c0000 { 224 bareboxenv@c0000 {
225 label = "bootloader env"; 225 label = "bareboxenv";
226 reg = <0xc0000 0xc0000>; 226 reg = <0xc0000 0x40000>;
227 }; 227 };
228 228
229 dtb@180000 { 229 bareboxenv2@100000 {
230 label = "device tree"; 230 label = "bareboxenv2";
231 reg = <0x180000 0x80000>; 231 reg = <0x100000 0x40000>;
232 };
233
234 oftree@180000 {
235 label = "oftree";
236 reg = <0x180000 0x20000>;
232 }; 237 };
233 238
234 kernel@200000 { 239 kernel@200000 {
235 label = "kernel"; 240 label = "kernel";
236 reg = <0x200000 0x600000>; 241 reg = <0x200000 0x500000>;
237 }; 242 };
238 243
239 rootfs@800000 { 244 rootfs@800000 {
240 label = "rootfs"; 245 label = "rootfs";
241 reg = <0x800000 0x0f800000>; 246 reg = <0x800000 0x1f800000>;
242 }; 247 };
243 }; 248 };
244}; 249};