* [PATCH] arm64: dts: ls1046a: add a dummy memory 'reg' property
@ 2018-02-26 6:33 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2018-02-26 6:33 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: devicetree, Shawn Guo, Mingkai Hu, Li Yang
The memory node in fsl-ls1046a.dtsi has no 'reg' property, and causes
the dtc warning below.
Warning (unit_address_vs_reg): Node /memory@80000000 has a unit name, but no reg property
Let's add a 'reg' property with dummy memory size, since bootloader will
need to fill the correct one per board memory configuration anyway.
Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
Cc: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 606ea496f24e..136ebfa9b333 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -131,6 +131,8 @@
memory@80000000 {
device_type = "memory";
+ /* Real size will be filled by bootloader */
+ reg = <0x0 0x80000000 0x0 0x0>;
};
sysclk: sysclk {
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] arm64: dts: ls1046a: add a dummy memory 'reg' property
@ 2018-02-26 6:33 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2018-02-26 6:33 UTC (permalink / raw)
To: linux-arm-kernel
The memory node in fsl-ls1046a.dtsi has no 'reg' property, and causes
the dtc warning below.
Warning (unit_address_vs_reg): Node /memory at 80000000 has a unit name, but no reg property
Let's add a 'reg' property with dummy memory size, since bootloader will
need to fill the correct one per board memory configuration anyway.
Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
Cc: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 606ea496f24e..136ebfa9b333 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -131,6 +131,8 @@
memory at 80000000 {
device_type = "memory";
+ /* Real size will be filled by bootloader */
+ reg = <0x0 0x80000000 0x0 0x0>;
};
sysclk: sysclk {
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: ls1046a: add a dummy memory 'reg' property
2018-02-26 6:33 ` Shawn Guo
@ 2018-02-28 8:43 ` Li Yang
-1 siblings, 0 replies; 4+ messages in thread
From: Li Yang @ 2018-02-28 8:43 UTC (permalink / raw)
To: Shawn Guo
Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Mingkai Hu, linux-arm-kernel
On Mon, Feb 26, 2018 at 2:33 PM, Shawn Guo <shawnguo@kernel.org> wrote:
> The memory node in fsl-ls1046a.dtsi has no 'reg' property, and causes
> the dtc warning below.
>
> Warning (unit_address_vs_reg): Node /memory@80000000 has a unit name, but no reg property
>
> Let's add a 'reg' property with dummy memory size, since bootloader will
> need to fill the correct one per board memory configuration anyway.
>
> Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
> Cc: Li Yang <leoyang.li@nxp.com>
> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Li Yang <leoyang.li@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 606ea496f24e..136ebfa9b333 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -131,6 +131,8 @@
>
> memory@80000000 {
> device_type = "memory";
> + /* Real size will be filled by bootloader */
> + reg = <0x0 0x80000000 0x0 0x0>;
> };
>
> sysclk: sysclk {
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm64: dts: ls1046a: add a dummy memory 'reg' property
@ 2018-02-28 8:43 ` Li Yang
0 siblings, 0 replies; 4+ messages in thread
From: Li Yang @ 2018-02-28 8:43 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 26, 2018 at 2:33 PM, Shawn Guo <shawnguo@kernel.org> wrote:
> The memory node in fsl-ls1046a.dtsi has no 'reg' property, and causes
> the dtc warning below.
>
> Warning (unit_address_vs_reg): Node /memory at 80000000 has a unit name, but no reg property
>
> Let's add a 'reg' property with dummy memory size, since bootloader will
> need to fill the correct one per board memory configuration anyway.
>
> Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
> Cc: Li Yang <leoyang.li@nxp.com>
> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Li Yang <leoyang.li@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 606ea496f24e..136ebfa9b333 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -131,6 +131,8 @@
>
> memory at 80000000 {
> device_type = "memory";
> + /* Real size will be filled by bootloader */
> + reg = <0x0 0x80000000 0x0 0x0>;
> };
>
> sysclk: sysclk {
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-28 8:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-26 6:33 [PATCH] arm64: dts: ls1046a: add a dummy memory 'reg' property Shawn Guo
2018-02-26 6:33 ` Shawn Guo
2018-02-28 8:43 ` Li Yang
2018-02-28 8:43 ` Li Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.