devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

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).