* [PATCH] arm64: dts: ls1046a: drop incomplete memory node
@ 2018-02-24 7:04 Shawn Guo
2018-02-26 1:33 ` Leo Li
0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2018-02-24 7:04 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: devicetree, Li Yang, Shawn Guo, Mingkai Hu, Shaohui Xie
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
This is clearly an incomplete memory node. Let's drop it. Either
a complete memory should be added, or bootloader needs to fill the node
as a whole.
Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
Cc: Shaohui Xie <Shaohui.Xie@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 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 606ea496f24e..cbf4b3e15c17 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -129,10 +129,6 @@
};
};
- memory@80000000 {
- device_type = "memory";
- };
-
sysclk: sysclk {
compatible = "fixed-clock";
#clock-cells = <0>;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] arm64: dts: ls1046a: drop incomplete memory node
2018-02-24 7:04 [PATCH] arm64: dts: ls1046a: drop incomplete memory node Shawn Guo
@ 2018-02-26 1:33 ` Leo Li
2018-02-26 4:35 ` Shawn Guo
0 siblings, 1 reply; 3+ messages in thread
From: Leo Li @ 2018-02-26 1:33 UTC (permalink / raw)
To: Shawn Guo, linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org, Mingkai Hu, Shaohui Xie
> -----Original Message-----
> From: Shawn Guo [mailto:shawnguo@kernel.org]
> Sent: Saturday, February 24, 2018 3:05 PM
> To: linux-arm-kernel@lists.infradead.org
> Cc: devicetree@vger.kernel.org; Shawn Guo <shawnguo@kernel.org>;
> Mingkai Hu <mingkai.hu@nxp.com>; Shaohui Xie <Shaohui.Xie@nxp.com>;
> Leo Li <leoyang.li@nxp.com>
> Subject: [PATCH] arm64: dts: ls1046a: drop incomplete memory node
>
> 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
>
> This is clearly an incomplete memory node. Let's drop it. Either a complete
> memory should be added, or bootloader needs to fill the node as a whole.
Or we can put in a dummy reg property to be updated by bootloader like the mac-address property?
>
> Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
> Cc: Shaohui Xie <Shaohui.Xie@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 | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 606ea496f24e..cbf4b3e15c17 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -129,10 +129,6 @@
> };
> };
>
> - memory@80000000 {
> - device_type = "memory";
> - };
> -
> sysclk: sysclk {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> --
> 1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: ls1046a: drop incomplete memory node
2018-02-26 1:33 ` Leo Li
@ 2018-02-26 4:35 ` Shawn Guo
0 siblings, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2018-02-26 4:35 UTC (permalink / raw)
To: Leo Li
Cc: devicetree@vger.kernel.org, Mingkai Hu,
linux-arm-kernel@lists.infradead.org, Shaohui Xie
On Mon, Feb 26, 2018 at 01:33:34AM +0000, Leo Li wrote:
>
>
> > -----Original Message-----
> > From: Shawn Guo [mailto:shawnguo@kernel.org]
> > Sent: Saturday, February 24, 2018 3:05 PM
> > To: linux-arm-kernel@lists.infradead.org
> > Cc: devicetree@vger.kernel.org; Shawn Guo <shawnguo@kernel.org>;
> > Mingkai Hu <mingkai.hu@nxp.com>; Shaohui Xie <Shaohui.Xie@nxp.com>;
> > Leo Li <leoyang.li@nxp.com>
> > Subject: [PATCH] arm64: dts: ls1046a: drop incomplete memory node
> >
> > 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
> >
> > This is clearly an incomplete memory node. Let's drop it. Either a complete
> > memory should be added, or bootloader needs to fill the node as a whole.
>
> Or we can put in a dummy reg property to be updated by bootloader like the mac-address property?
Yeah, I'm fine with either way, as long as we get rid of the warning.
I will post v2 shortly.
Shawn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-26 4:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-24 7:04 [PATCH] arm64: dts: ls1046a: drop incomplete memory node Shawn Guo
2018-02-26 1:33 ` Leo Li
2018-02-26 4:35 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).