Commit 32018d15 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

ARM: dts: imx28: Fix memory node duplication



Boards based on imx28 have duplicate memory nodes:

- One coming from the board dts file: memory@

- One coming from the imx28.dtsi file.

Fix the duplication by removing the memory node from the dtsi file
and by adding 'device_type = "memory";' in the board dts.

Reported-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b629e835
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
	compatible = "armadeus,imx28-apf28", "fsl,imx28";

	memory@40000000 {
		device_type = "memory";
		reg = <0x40000000 0x08000000>;
	};

+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
	compatible = "bluegiga,apx4devkit", "fsl,imx28";

	memory@40000000 {
		device_type = "memory";
		reg = <0x40000000 0x04000000>;
	};

+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
	compatible = "crystalfontz,cfa10036", "fsl,imx28";

	memory@40000000 {
		device_type = "memory";
		reg = <0x40000000 0x08000000>;
	};

+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
	compatible = "i2se,duckbill-2-485", "i2se,duckbill-2", "fsl,imx28";

	memory@40000000 {
		device_type = "memory";
		reg = <0x40000000 0x08000000>;
	};

+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
	compatible = "i2se,duckbill-2-enocean", "i2se,duckbill-2", "fsl,imx28";

	memory@40000000 {
		device_type = "memory";
		reg = <0x40000000 0x08000000>;
	};

Loading