Commit cf438f51 authored by Peter Rosin's avatar Peter Rosin Committed by Alexandre Belloni

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: 0e432389 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 7981190f
......@@ -216,29 +216,34 @@ at91bootstrap@0 {
reg = <0x0 0x40000>;
};
bootloader@40000 {
label = "bootloader";
reg = <0x40000 0x80000>;
barebox@40000 {
label = "barebox";
reg = <0x40000 0x60000>;
};
bootloaderenv@c0000 {
label = "bootloader env";
reg = <0xc0000 0xc0000>;
bareboxenv@c0000 {
label = "bareboxenv";
reg = <0xc0000 0x40000>;
};
dtb@180000 {
label = "device tree";
reg = <0x180000 0x80000>;
bareboxenv2@100000 {
label = "bareboxenv2";
reg = <0x100000 0x40000>;
};
oftree@180000 {
label = "oftree";
reg = <0x180000 0x20000>;
};
kernel@200000 {
label = "kernel";
reg = <0x200000 0x600000>;
reg = <0x200000 0x500000>;
};
rootfs@800000 {
label = "rootfs";
reg = <0x800000 0x0f800000>;
reg = <0x800000 0x1f800000>;
};
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment