aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-17 08:46:42 -0400
committerOlof Johansson <olof@lixom.net>2017-04-19 10:08:17 -0400
commit4e7adc294ef319d0e57e4b8638af7800be1b0a88 (patch)
tree04eb02bf5b70f7f6f8510a9c5673e260a59a329c
parentd37c74a570bf0c20fd0d1a78950714e7c47f37ce (diff)
arm: spear6xx: switch spear600-evb to the new flash partition DT binding
This commit moves spear600-evb.dts to use the new flash partition Device Tree binding documented in Documentation/devicetree/bindings/mtd/partition.txt. As this Device Tree binding document says: "For backwards compatibility partitions as direct subnodes of the mtd device are supported. This use is discouraged." Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/spear600-evb.dts54
1 files changed, 29 insertions, 25 deletions
diff --git a/arch/arm/boot/dts/spear600-evb.dts b/arch/arm/boot/dts/spear600-evb.dts
index 32a44b6560f5..f36603fffbaa 100644
--- a/arch/arm/boot/dts/spear600-evb.dts
+++ b/arch/arm/boot/dts/spear600-evb.dts
@@ -58,34 +58,38 @@
58 clock-rate = <50000000>; 58 clock-rate = <50000000>;
59 59
60 flash@f8000000 { 60 flash@f8000000 {
61 #address-cells = <1>;
62 #size-cells = <1>;
63 reg = <0xf8000000 0x800000>; 61 reg = <0xf8000000 0x800000>;
64 st,smi-fast-mode; 62 st,smi-fast-mode;
65 63
66 partition@0 { 64 partitions {
67 label = "xloader"; 65 compatible = "fixed-partitions";
68 reg = <0x0 0x10000>; 66 #address-cells = <1>;
69 }; 67 #size-cells = <1>;
70 partition@10000 { 68
71 label = "u-boot"; 69 partition@0 {
72 reg = <0x10000 0x50000>; 70 label = "xloader";
73 }; 71 reg = <0x0 0x10000>;
74 partition@60000 { 72 };
75 label = "environment"; 73 partition@10000 {
76 reg = <0x60000 0x10000>; 74 label = "u-boot";
77 }; 75 reg = <0x10000 0x50000>;
78 partition@70000 { 76 };
79 label = "dtb"; 77 partition@60000 {
80 reg = <0x70000 0x10000>; 78 label = "environment";
81 }; 79 reg = <0x60000 0x10000>;
82 partition@80000 { 80 };
83 label = "linux"; 81 partition@70000 {
84 reg = <0x80000 0x310000>; 82 label = "dtb";
85 }; 83 reg = <0x70000 0x10000>;
86 partition@390000 { 84 };
87 label = "rootfs"; 85 partition@80000 {
88 reg = <0x390000 0x0>; 86 label = "linux";
87 reg = <0x80000 0x310000>;
88 };
89 partition@390000 {
90 label = "rootfs";
91 reg = <0x390000 0x0>;
92 };
89 }; 93 };
90 }; 94 };
91}; 95};