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

ARM: dts: imx6: Pass memory unit-adress

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Acked-By: default avatarLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 0f01b91f
......@@ -54,8 +54,8 @@ / {
"fsl,imx6dl";
/* Will be filled by the bootloader */
memory {
reg = <0 0>;
memory@10000000 {
reg = <0x10000000 0>;
};
aliases {
......
......@@ -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>;
};
};
......@@ -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>;
};
};
......@@ -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>;
};
};
......@@ -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>;
};
};
......@@ -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 {
......
......@@ -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 {
......
......@@ -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>;
};
};
......
......@@ -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>;
};
};
......
......@@ -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>;
};
};
......@@ -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 {
......
......@@ -43,8 +43,8 @@
/ {
/* Will be filled by the bootloader */
memory {
reg = <0 0>;
memory@10000000 {
reg = <0x10000000 0>;
};
ir_recv: ir-receiver {
......
......@@ -41,8 +41,8 @@
/ {
/* Will be filled by the bootloader */
memory {
reg = <0 0>;
memory@10000000 {
reg = <0x10000000 0>;
};
chosen {
......
......@@ -41,8 +41,8 @@
/ {
/* Will be filled by the bootloader */
memory {
reg = <0 0>;
memory@10000000 {
reg = <0x10000000 0>;
};
chosen {
......
......@@ -61,8 +61,8 @@ aliases {
sdhc1 = &usdhc2;
};
memory {
reg = <0 0>; /* will be filled by U-Boot */
memory@10000000 {
reg = <0x10000000 0>; /* will be filled by U-Boot */
};
clocks {
......
......@@ -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>;
};
};
......@@ -70,8 +70,8 @@ chosen {
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 {
......
......@@ -6,7 +6,7 @@
#include "imx6ull-colibri.dtsi"
/ {
memory {
memory@80000000 {
reg = <0x80000000 0x10000000>;
};
};
......
......@@ -6,7 +6,7 @@
#include "imx6ull-colibri.dtsi"
/ {
memory {
memory@80000000 {
reg = <0x80000000 0x20000000>;
};
......
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