Skip to contentSkip to conversation

arm64: dts: ls1046a: add a dummy memory 'reg' property

PATCH New Shawn Guo 2 participants 2 messages Feb 26, 2018 – Feb 28, 2018

Subsystems (2)
lore
Share & tools
lore

Shawn Guo

author
#0 lore raw

PATCH 1/1 arm64: dts: ls1046a: add a dummy memory 'reg' property

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.

---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +2 -0
index 606ea496f24e..136ebfa9b333 100644
@@ -131,6 +131,8 @@
 
 	memory at 80000000 {
 		device_type = "memory";
+		/* Real size will be filled by bootloader */
+		reg = <0x0 0x80000000 0x0 0x0>;
 	};
 
 	sysclk: sysclk {
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 arm64: dts: ls1046a: add a dummy memory 'reg' property

Quoted 11 lines · Shawn Guo

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.

Quoted 24 lines
---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +2 -1
index 606ea496f24e..136ebfa9b333 100644
@@ -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