Commit 482a8f3f authored by Vipin Kumar's avatar Vipin Kumar Committed by Viresh Kumar

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: default avatarShiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: default avatarVipin Kumar <vipin.kumar@st.com>
Signed-off-by: default avatarVipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 7db083e0
...@@ -120,6 +120,31 @@ dma@eb000000 { ...@@ -120,6 +120,31 @@ dma@eb000000 {
fsmc: flash@b0000000 { fsmc: flash@b0000000 {
status = "okay"; status = "okay";
partition@0 {
label = "xloader";
reg = <0x0 0x80000>;
};
partition@80000 {
label = "u-boot";
reg = <0x80000 0x140000>;
};
partition@1C0000 {
label = "environment";
reg = <0x1C0000 0x40000>;
};
partition@200000 {
label = "dtb";
reg = <0x200000 0x40000>;
};
partition@240000 {
label = "linux";
reg = <0x240000 0xC00000>;
};
partition@E40000 {
label = "rootfs";
reg = <0xE40000 0x0>;
};
}; };
gmac0: eth@e2000000 { gmac0: eth@e2000000 {
...@@ -146,15 +171,23 @@ partition@0 { ...@@ -146,15 +171,23 @@ partition@0 {
}; };
partition@10000 { partition@10000 {
label = "u-boot"; label = "u-boot";
reg = <0x10000 0x40000>; reg = <0x10000 0x50000>;
};
partition@60000 {
label = "environment";
reg = <0x60000 0x10000>;
};
partition@70000 {
label = "dtb";
reg = <0x70000 0x10000>;
}; };
partition@50000 { partition@80000 {
label = "linux"; label = "linux";
reg = <0x50000 0x2c0000>; reg = <0x80000 0x310000>;
}; };
partition@310000 { partition@390000 {
label = "rootfs"; label = "rootfs";
reg = <0x310000 0x4f0000>; reg = <0x390000 0x0>;
}; };
}; };
}; };
......
...@@ -128,6 +128,31 @@ dma@eb000000 { ...@@ -128,6 +128,31 @@ dma@eb000000 {
fsmc: flash@b0000000 { fsmc: flash@b0000000 {
status = "okay"; status = "okay";
partition@0 {
label = "xloader";
reg = <0x0 0x200000>;
};
partition@200000 {
label = "u-boot";
reg = <0x200000 0x200000>;
};
partition@400000 {
label = "environment";
reg = <0x400000 0x100000>;
};
partition@500000 {
label = "dtb";
reg = <0x500000 0x100000>;
};
partition@600000 {
label = "linux";
reg = <0x600000 0xC00000>;
};
partition@1200000 {
label = "rootfs";
reg = <0x1200000 0x0>;
};
}; };
gmac0: eth@e2000000 { gmac0: eth@e2000000 {
...@@ -154,15 +179,23 @@ partition@0 { ...@@ -154,15 +179,23 @@ partition@0 {
}; };
partition@10000 { partition@10000 {
label = "u-boot"; label = "u-boot";
reg = <0x10000 0x40000>; reg = <0x10000 0x50000>;
};
partition@60000 {
label = "environment";
reg = <0x60000 0x10000>;
};
partition@70000 {
label = "dtb";
reg = <0x70000 0x10000>;
}; };
partition@50000 { partition@80000 {
label = "linux"; label = "linux";
reg = <0x50000 0x2c0000>; reg = <0x80000 0x310000>;
}; };
partition@310000 { partition@390000 {
label = "rootfs"; label = "rootfs";
reg = <0x310000 0x4f0000>; reg = <0x390000 0x0>;
}; };
}; };
}; };
......
...@@ -100,15 +100,23 @@ partition@0 { ...@@ -100,15 +100,23 @@ partition@0 {
}; };
partition@10000 { partition@10000 {
label = "u-boot"; label = "u-boot";
reg = <0x10000 0x40000>; reg = <0x10000 0x50000>;
}; };
partition@50000 { partition@60000 {
label = "environment";
reg = <0x60000 0x10000>;
};
partition@70000 {
label = "dtb";
reg = <0x70000 0x10000>;
};
partition@80000 {
label = "linux"; label = "linux";
reg = <0x50000 0x2c0000>; reg = <0x80000 0x310000>;
}; };
partition@310000 { partition@390000 {
label = "rootfs"; label = "rootfs";
reg = <0x310000 0x4f0000>; reg = <0x390000 0x0>;
}; };
}; };
}; };
......
...@@ -114,15 +114,23 @@ partition@0 { ...@@ -114,15 +114,23 @@ partition@0 {
}; };
partition@10000 { partition@10000 {
label = "u-boot"; label = "u-boot";
reg = <0x10000 0x40000>; reg = <0x10000 0x50000>;
}; };
partition@50000 { partition@60000 {
label = "environment";
reg = <0x60000 0x10000>;
};
partition@70000 {
label = "dtb";
reg = <0x70000 0x10000>;
};
partition@80000 {
label = "linux"; label = "linux";
reg = <0x50000 0x2c0000>; reg = <0x80000 0x310000>;
}; };
partition@310000 { partition@390000 {
label = "rootfs"; label = "rootfs";
reg = <0x310000 0x4f0000>; reg = <0x390000 0x0>;
}; };
}; };
}; };
......
...@@ -118,15 +118,23 @@ partition@0 { ...@@ -118,15 +118,23 @@ partition@0 {
}; };
partition@10000 { partition@10000 {
label = "u-boot"; label = "u-boot";
reg = <0x10000 0x40000>; reg = <0x10000 0x50000>;
}; };
partition@50000 { partition@60000 {
label = "environment";
reg = <0x60000 0x10000>;
};
partition@70000 {
label = "dtb";
reg = <0x70000 0x10000>;
};
partition@80000 {
label = "linux"; label = "linux";
reg = <0x50000 0x2c0000>; reg = <0x80000 0x310000>;
}; };
partition@310000 { partition@390000 {
label = "rootfs"; label = "rootfs";
reg = <0x310000 0x4f0000>; reg = <0x390000 0x0>;
}; };
}; };
}; };
......
...@@ -49,15 +49,23 @@ partition@0 { ...@@ -49,15 +49,23 @@ partition@0 {
}; };
partition@10000 { partition@10000 {
label = "u-boot"; label = "u-boot";
reg = <0x10000 0x40000>; reg = <0x10000 0x50000>;
}; };
partition@50000 { partition@60000 {
label = "environment";
reg = <0x60000 0x10000>;
};
partition@70000 {
label = "dtb";
reg = <0x70000 0x10000>;
};
partition@80000 {
label = "linux"; label = "linux";
reg = <0x50000 0x2c0000>; reg = <0x80000 0x310000>;
}; };
partition@310000 { partition@390000 {
label = "rootfs"; label = "rootfs";
reg = <0x310000 0x4f0000>; reg = <0x390000 0x0>;
}; };
}; };
}; };
......
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