ARM: dts: imx6: Pass memory unit-adress
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 22 Feb 2018 17:16:35 +0000 (14:16 -0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 28 Feb 2018 01:48:05 +0000 (09:48 +0800)
Pass the memory unit-adress to fix the following build warnings with W=1:

Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name

There are cases where dts passes an empty memory node, which will be filled
by the bootloader. Passing the memory base address still allows the
bootloader to fill the memory size.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-By: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
19 files changed:
arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
arch/arm/boot/dts/imx6dl-dfi-fs700-m60.dts
arch/arm/boot/dts/imx6dl-ts4900.dts
arch/arm/boot/dts/imx6dl-ts7970.dts
arch/arm/boot/dts/imx6q-dfi-fs700-m60.dts
arch/arm/boot/dts/imx6q-h100.dts
arch/arm/boot/dts/imx6q-novena.dts
arch/arm/boot/dts/imx6q-ts4900.dts
arch/arm/boot/dts/imx6q-ts7970.dts
arch/arm/boot/dts/imx6q-zii-rdu2.dts
arch/arm/boot/dts/imx6qdl-apalis.dtsi
arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
arch/arm/boot/dts/imx6qdl-tx6.dtsi
arch/arm/boot/dts/imx6qp-zii-rdu2.dts
arch/arm/boot/dts/imx6ul-tx6ul.dtsi
arch/arm/boot/dts/imx6ull-colibri-nonwifi.dtsi
arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi

index 700e129..d565d32 100644 (file)
@@ -54,8 +54,8 @@
                     "fsl,imx6dl";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 
        aliases {
index c195ad6..89384cb 100644 (file)
@@ -22,7 +22,7 @@
        compatible = "dfi,fs700-m60-6dl", "dfi,fs700e-m60", "fsl,imx6dl";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
index e23f789..cc01a7a 100644 (file)
@@ -48,7 +48,7 @@
        compatible = "technologic,imx6dl-ts4900", "fsl,imx6dl";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
index cae3313..82435d5 100644 (file)
@@ -49,7 +49,7 @@
        compatible = "technologic,imx6dl-ts7970", "fsl,imx6dl";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
index a266fe6..ad12d76 100644 (file)
@@ -22,7 +22,7 @@
        compatible = "dfi,fs700-m60-6qd", "dfi,fs700e-m60", "fsl,imx6q";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
index dd24b46..714e09e 100644 (file)
@@ -50,8 +50,8 @@
        compatible = "auvidea,h100", "fsl,imx6q";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 
        aliases {
index 43a0c32..52f3937 100644 (file)
@@ -56,8 +56,8 @@
        compatible = "kosagi,imx6q-novena", "fsl,imx6q";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 
        chosen {
index 9cf7b37..e655107 100644 (file)
@@ -48,8 +48,8 @@
        compatible = "technologic,imx6q-ts4900", "fsl,imx6q";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
 
index fd84fc5..c615ac4 100644 (file)
@@ -49,8 +49,8 @@
        compatible = "technologic,imx6q-ts7970", "fsl,imx6q";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
 
index fe8b12f..7da6dde 100644 (file)
@@ -49,7 +49,7 @@
        compatible = "zii,imx6q-zii-rdu2", "fsl,imx6q";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
index bd658db..8206683 100644 (file)
@@ -48,8 +48,8 @@
        compatible = "toradex,apalis_imx6q", "fsl,imx6q";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 
        backlight: backlight {
index 4c5f513..9332a31 100644 (file)
@@ -43,8 +43,8 @@
 
 / {
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 
        ir_recv: ir-receiver {
index 86abba0..7e20b47 100644 (file)
@@ -41,8 +41,8 @@
 
 / {
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 
        chosen {
index ee77e0b..988a5be 100644 (file)
@@ -41,8 +41,8 @@
 
 / {
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 
        chosen {
index 6abb66c..f015e2d 100644 (file)
@@ -61,8 +61,8 @@
                sdhc1 = &usdhc2;
        };
 
-       memory {
-               reg = <0 0>; /* will be filled by U-Boot */
+       memory@10000000 {
+               reg = <0x10000000 0>; /* will be filled by U-Boot */
        };
 
        clocks {
index 96ab983..de5b50d 100644 (file)
@@ -49,7 +49,7 @@
        compatible = "zii,imx6qp-zii-rdu2", "fsl,imx6qp";
 
        /* Will be filled by the bootloader */
-       memory {
-               reg = <0 0>;
+       memory@10000000 {
+               reg = <0x10000000 0>;
        };
 };
index 65111f9..f678d18 100644 (file)
@@ -70,8 +70,8 @@
                stdout-path = &uart1;
        };
 
-       memory {
-               reg = <0 0>; /* will be filled by U-Boot */
+       memory@80000000 {
+               reg = <0x80000000 0>; /* will be filled by U-Boot */
        };
 
        clocks {
index cfda666..10ab469 100644 (file)
@@ -6,7 +6,7 @@
 #include "imx6ull-colibri.dtsi"
 
 / {
-       memory {
+       memory@80000000 {
                reg = <0x80000000 0x10000000>;
        };
 };
index f48291b..3dffbcd 100644 (file)
@@ -6,7 +6,7 @@
 #include "imx6ull-colibri.dtsi"
 
 / {
-       memory {
+       memory@80000000 {
                reg = <0x80000000 0x20000000>;
        };