]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: imx6ul: Fix memory node duplication
authorFabio Estevam <festevam@gmail.com>
Tue, 20 Nov 2018 15:59:43 +0000 (13:59 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:19:52 +0000 (09:19 +0100)
[ Upstream commit 750d8df6e7b269b828f66631a1d39ea027afc92a ]

Boards based on imx6ul have duplicate memory nodes:

- One coming from the board dts file: memory@

- One coming from the imx6ul.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: Rob Herring <robh@kernel.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
arch/arm/boot/dts/imx6ul-geam.dts
arch/arm/boot/dts/imx6ul-isiot.dtsi
arch/arm/boot/dts/imx6ul-litesom.dtsi
arch/arm/boot/dts/imx6ul-opos6ul.dtsi
arch/arm/boot/dts/imx6ul-pico-hobbit.dts
arch/arm/boot/dts/imx6ul-tx6ul.dtsi
arch/arm/boot/dts/imx6ul.dtsi
arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi
arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi

index 32a07232c0345ae3a275e50dac3d095fe9acd017..8180211265592f868d80203dcc737001fdcee6c0 100644 (file)
@@ -12,6 +12,7 @@
        };
 
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0x20000000>;
        };
 
index d81d20f8fc8ddae18938210eddd846d354fea800..85cfad080f15c4c791bae9ffb7334aa01a2ac7f2 100644 (file)
@@ -51,6 +51,7 @@
        compatible = "engicam,imx6ul-geam", "fsl,imx6ul";
 
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0x08000000>;
        };
 
index cd99285511544cc7862dd27d1da71ecf28de1a0c..1cb52744f58adeebc476571f6e211cc25b633d21 100644 (file)
@@ -46,6 +46,7 @@
 
 / {
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0x20000000>;
        };
 
index 8f775f6974d1ceb01b426b1cd80edfad5f707b80..8d6893210842bed98518f7fd862f1bcb2d23c863 100644 (file)
@@ -48,6 +48,7 @@
        compatible = "grinn,imx6ul-litesom", "fsl,imx6ul";
 
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0x20000000>;
        };
 };
index a031bee311df4e7134c5715f2f4754291a372f9b..cf7faf4b9c47ef76f5c537bb1e6e894e4122b4fe 100644 (file)
@@ -49,6 +49,7 @@
 
 / {
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0>; /* will be filled by U-Boot */
        };
 
index 0c09420f995125d49bba630931185a179a40020d..797262d2f27fdbdd1f3098282ebafd5a8615cf2b 100644 (file)
@@ -53,6 +53,7 @@
 
        /* Will be filled by the bootloader */
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0>;
        };
 
index 02b5ba42cd5911cdc95f61987d0641aed6e37039..bb6dbfd5546b4b178cc31626b6d66ef42417e107 100644 (file)
@@ -71,6 +71,7 @@
        };
 
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0>; /* will be filled by U-Boot */
        };
 
index 336cdead3da54cd137eeaa45897685b489ebb5a0..50834a43e5fb210200341c47effb987f9ff7d9e6 100644 (file)
         * 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 = &fec1;
index 10ab4697950f51e001a8c483e09e9c8cd0240c27..fb213bec465435a80d1ab44f71592cba1aee71ba 100644 (file)
@@ -7,6 +7,7 @@
 
 / {
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0x10000000>;
        };
 };
index 183193e8580dd12a99f1d14d365fceff892e0853..038d8c90f6dfeafd52cba37b3d5c076bbc67320e 100644 (file)
@@ -7,6 +7,7 @@
 
 / {
        memory@80000000 {
+               device_type = "memory";
                reg = <0x80000000 0x20000000>;
        };