arm64: dts: ls1046a: add a dummy memory 'reg' property
authorShawn Guo <shawnguo@kernel.org>
Sat, 24 Feb 2018 06:59:29 +0000 (14:59 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 1 Mar 2018 00:18:39 +0000 (08:18 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Li Yang <leoyang.li@nxp.com>
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

index 606ea49..136ebfa 100644 (file)
 
        memory@80000000 {
                device_type = "memory";
+               /* Real size will be filled by bootloader */
+               reg = <0x0 0x80000000 0x0 0x0>;
        };
 
        sysclk: sysclk {