Commit 4e7adc29 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Olof Johansson
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent d37c74a5
Loading
Loading
Loading
Loading
+29 −25
Original line number Diff line number Diff line
@@ -58,11 +58,14 @@
	clock-rate = <50000000>;

	flash@f8000000 {
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0xf8000000 0x800000>;
		st,smi-fast-mode;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "xloader";
				reg = <0x0 0x10000>;
@@ -89,6 +92,7 @@
			};
		};
	};
};

&uart0 {
	status = "okay";