ARM: dts: vf: Fix memory node duplication

Boards based on vf500/vf600 have duplicate memory nodes:

- One coming from the board dts file: memory@

- One coming from the vf500.dtsi/vf610m4.dtsi files.

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

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Fabio Estevam 2018-11-30 22:44:52 -02:00 committed by Shawn Guo
parent d7f3894f0e
commit f535d10098
11 changed files with 9 additions and 2 deletions

View File

@ -47,6 +47,7 @@
compatible = "toradex,vf610-colibri_vf50", "fsl,vf500";
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x8000000>;
};

View File

@ -10,7 +10,6 @@
#size-cells = <1>;
chosen { };
aliases { };
memory { device_type = "memory"; };
cpus {
#address-cells = <1>;

View File

@ -16,6 +16,7 @@
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x8000000>;
};

View File

@ -47,6 +47,7 @@
compatible = "toradex,vf610-colibri_vf61", "fsl,vf610";
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x10000000>;
};
};

View File

@ -20,6 +20,7 @@
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x10000000>;
};

View File

@ -14,6 +14,7 @@
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x8000000>;
};

View File

@ -16,6 +16,7 @@
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>;
};

View File

@ -50,6 +50,7 @@
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>;
};

View File

@ -24,6 +24,7 @@
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>;
};

View File

@ -55,6 +55,7 @@
};
memory@8c000000 {
device_type = "memory";
reg = <0x8c000000 0x3000000>;
};
};

View File

@ -50,7 +50,6 @@
#size-cells = <1>;
chosen { };
aliases { };
memory { device_type = "memory"; };
};
&mscm_ir {