Commit f535d100 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Reviewed-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent d7f3894f
......@@ -47,6 +47,7 @@ / {
compatible = "toradex,vf610-colibri_vf50", "fsl,vf500";
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x8000000>;
};
......
......@@ -10,7 +10,6 @@ / {
#size-cells = <1>;
chosen { };
aliases { };
memory { device_type = "memory"; };
cpus {
#address-cells = <1>;
......
......@@ -16,6 +16,7 @@ chosen {
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x8000000>;
};
......
......@@ -47,6 +47,7 @@ / {
compatible = "toradex,vf610-colibri_vf61", "fsl,vf610";
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x10000000>;
};
};
......
......@@ -20,6 +20,7 @@ chosen {
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x10000000>;
};
......
......@@ -14,6 +14,7 @@ chosen {
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x8000000>;
};
......
......@@ -16,6 +16,7 @@ chosen {
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>;
};
......
......@@ -50,6 +50,7 @@ chosen {
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>;
};
......
......@@ -24,6 +24,7 @@ chosen {
};
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>;
};
......
......@@ -55,6 +55,7 @@ chosen {
};
memory@8c000000 {
device_type = "memory";
reg = <0x8c000000 0x3000000>;
};
};
......
......@@ -50,7 +50,6 @@ / {
#size-cells = <1>;
chosen { };
aliases { };
memory { device_type = "memory"; };
};
&mscm_ir {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment