ARM: dts: imx6qdl: Fix memory node duplication

Boards based on imx6qdl have duplicate memory nodes:
- One coming from the board device tree file: memory@
- One coming from the imx6qdl.dtsi file.

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

Converted using the following command:
perl -p0777i -e 's/memory\@10000000 \{\n/memory\@10000000 \{\n\t\tdevice_type = \"memory\";\n/m' `find ./arch/arm/boot/dts -name "imx6*"``

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Marco Franchi 2018-12-05 16:10:03 -02:00 committed by Shawn Guo
parent 69bf2fec50
commit 404c0c9314
73 changed files with 72 additions and 2 deletions

View File

@ -55,6 +55,7 @@
compatible = "armadeus,imx6dl-apf6dev", "armadeus,imx6dl-apf6", "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};
};

View File

@ -49,6 +49,7 @@
compatible = "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -49,6 +49,7 @@
compatible = "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -28,6 +28,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -17,6 +17,7 @@
compatible = "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -55,6 +55,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};

View File

@ -23,6 +23,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};

View File

@ -17,6 +17,7 @@
compatible = "phytec,imx6dl-pfla02", "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};
};

View File

@ -17,6 +17,7 @@
compatible = "rex,imx6dl-rex-basic", "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};
};

View File

@ -16,6 +16,7 @@
compatible = "riot,imx6s-riotboard", "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -49,6 +49,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};

View File

@ -50,6 +50,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};

View File

@ -13,6 +13,7 @@
compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};
};

View File

@ -13,6 +13,7 @@
compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};
};

View File

@ -13,6 +13,7 @@
compatible = "wand,imx6dl-wandboard", "fsl,imx6dl";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};
};

View File

@ -55,6 +55,7 @@
compatible = "armadeus,imx6q-apf6dev", "armadeus,imx6q-apf6", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};
};

View File

@ -19,6 +19,7 @@
compatible = "fsl,imx6q-arm2", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};

View File

@ -47,6 +47,7 @@
/ {
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -51,6 +51,7 @@
compatible = "compulab,cm-fx6", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};

View File

@ -23,6 +23,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};

View File

@ -19,6 +19,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -48,6 +48,7 @@
compatible = "lwn,display5", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

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

View File

@ -51,6 +51,7 @@
compatible = "uniwest,imx6q-evi", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

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

View File

@ -61,6 +61,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -51,6 +51,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};

View File

@ -13,6 +13,7 @@
compatible = "kiebackpeter,imx6q-tpc", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};
};

View File

@ -48,6 +48,7 @@
compatible = "embest,imx6q-marsboard", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -20,6 +20,7 @@
compatible = "lwn,mccmon6", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};

View File

@ -57,6 +57,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};

View File

@ -17,6 +17,7 @@
compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};
};

View File

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

View File

@ -17,6 +17,7 @@
compatible = "rex,imx6q-rex-pro", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};
};

View File

@ -13,6 +13,7 @@
compatible = "microsys,sbc6x", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};
};

View File

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

View File

@ -49,6 +49,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};

View File

@ -50,6 +50,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};

View File

@ -13,6 +13,7 @@
compatible = "wand,imx6q-wandboard", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};
};

View File

@ -13,6 +13,7 @@
compatible = "wand,imx6q-wandboard", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};
};

View File

@ -13,6 +13,7 @@
compatible = "wand,imx6q-wandboard", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};
};

View File

@ -50,6 +50,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};

View File

@ -49,6 +49,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};

View File

@ -44,6 +44,7 @@
/ {
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};

View File

@ -24,6 +24,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -45,6 +45,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};

View File

@ -60,6 +60,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};

View File

@ -60,6 +60,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -60,6 +60,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -75,6 +75,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};

View File

@ -52,6 +52,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};

View File

@ -81,6 +81,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};

View File

@ -114,6 +114,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -84,6 +84,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -94,6 +94,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -43,6 +43,7 @@
/ {
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};

View File

@ -43,6 +43,7 @@
/ {
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};

View File

@ -10,6 +10,7 @@
/ {
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};

View File

@ -10,6 +10,7 @@
/ {
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};

View File

@ -11,6 +11,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x20000000>;
};

View File

@ -11,6 +11,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0xF0000000>;
};

View File

@ -11,6 +11,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -13,6 +13,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -16,6 +16,7 @@
compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};

View File

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

View File

@ -50,6 +50,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -13,6 +13,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -62,6 +62,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>; /* will be filled by U-Boot */
};

View File

@ -32,6 +32,7 @@
};
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -11,6 +11,7 @@
/ {
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x40000000>;
};

View File

@ -13,10 +13,8 @@
* The decompressor and also some bootloaders rely on a
* pre-existing /chosen node to be available to insert the
* command line and merge other ATAGS info.
* Also for U-Boot there must be a pre-existing /memory node.
*/
chosen {};
memory { device_type = "memory"; };
aliases {
ethernet0 = &fec;

View File

@ -13,6 +13,7 @@
compatible = "wand,imx6qp-wandboard", "fsl,imx6qp";
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0x80000000>;
};
};

View File

@ -50,6 +50,7 @@
/* Will be filled by the bootloader */
memory@10000000 {
device_type = "memory";
reg = <0x10000000 0>;
};
};