ARM: SPEAr: DT: Update partition info for MTD devices
authorVipin Kumar <vipin.kumar@st.com>
Thu, 5 Jul 2012 03:51:47 +0000 (11:51 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 26 Nov 2012 10:22:54 +0000 (15:52 +0530)
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>
arch/arm/boot/dts/spear1310-evb.dts
arch/arm/boot/dts/spear1340-evb.dts
arch/arm/boot/dts/spear300-evb.dts
arch/arm/boot/dts/spear310-evb.dts
arch/arm/boot/dts/spear320-evb.dts
arch/arm/boot/dts/spear600-evb.dts

index 3448d60117ec2ee1bc6c996d5ec84b99e6d34329..010e21deb8670dcc639a993a7ef8115279df6679 100644 (file)
 
                fsmc: flash@b0000000 {
                        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 {
                                };
                                partition@10000 {
                                        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";
-                                       reg = <0x50000 0x2c0000>;
+                                       reg = <0x80000 0x310000>;
                                };
-                               partition@310000 {
+                               partition@390000 {
                                        label = "rootfs";
-                                       reg = <0x310000 0x4f0000>;
+                                       reg = <0x390000 0x0>;
                                };
                        };
                };
index 1fc558424d96e78a86fdfa71fd4d1a9cf049c2dc..b16f7569bf5b1655fb71169d295b663281d3ee42 100644 (file)
 
                fsmc: flash@b0000000 {
                        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 {
                                };
                                partition@10000 {
                                        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";
-                                       reg = <0x50000 0x2c0000>;
+                                       reg = <0x80000 0x310000>;
                                };
-                               partition@310000 {
+                               partition@390000 {
                                        label = "rootfs";
-                                       reg = <0x310000 0x4f0000>;
+                                       reg = <0x390000 0x0>;
                                };
                        };
                };
index 1e7c7a8e2123f63b3f671d4f5fcb8bd2fe1f8dd1..b3265f6f5958a2157915b13500348f7b08b80d4d 100644 (file)
                                };
                                partition@10000 {
                                        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";
-                                       reg = <0x50000 0x2c0000>;
+                                       reg = <0x80000 0x310000>;
                                };
-                               partition@310000 {
+                               partition@390000 {
                                        label = "rootfs";
-                                       reg = <0x310000 0x4f0000>;
+                                       reg = <0x390000 0x0>;
                                };
                        };
                };
index b00544e0cd5d18e313eaf6807dc4c8a18294548b..b30fa0e600103d2f6a6e15ef3452cd3e260106f2 100644 (file)
                                };
                                partition@10000 {
                                        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";
-                                       reg = <0x50000 0x2c0000>;
+                                       reg = <0x80000 0x310000>;
                                };
-                               partition@310000 {
+                               partition@390000 {
                                        label = "rootfs";
-                                       reg = <0x310000 0x4f0000>;
+                                       reg = <0x390000 0x0>;
                                };
                        };
                };
index 70c3498b16a4b42a066186879a44229261526716..5b73d9c805d9ca9aeccacc0402cc7fac8acf0f2e 100644 (file)
                                };
                                partition@10000 {
                                        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";
-                                       reg = <0x50000 0x2c0000>;
+                                       reg = <0x80000 0x310000>;
                                };
-                               partition@310000 {
+                               partition@390000 {
                                        label = "rootfs";
-                                       reg = <0x310000 0x4f0000>;
+                                       reg = <0x390000 0x0>;
                                };
                        };
                };
index 1119c22c9a829479b716263d1faf3b5db0c7c601..16e4de46c7b88c8785d8367741f15097888faffc 100644 (file)
                                };
                                partition@10000 {
                                        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";
-                                       reg = <0x50000 0x2c0000>;
+                                       reg = <0x80000 0x310000>;
                                };
-                               partition@310000 {
+                               partition@390000 {
                                        label = "rootfs";
-                                       reg = <0x310000 0x4f0000>;
+                                       reg = <0x390000 0x0>;
                                };
                        };
                };