summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorShawn Guo <shawnguo@kernel.org>2018-02-24 14:59:29 +0800
committerShawn Guo <shawnguo@kernel.org>2018-03-01 08:18:39 +0800
commit80836d3c273275e49f722cc2c7e20252e7d2a348 (patch)
tree5d342e0eb32466381e4388c5db55c0e853f0f487 /arch/arm64
parentf81d7af7957539b7808961f929f945381530acb9 (diff)
downloadlinux-80836d3c273275e49f722cc2c7e20252e7d2a348.tar.bz2
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@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>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi2
1 files changed, 2 insertions, 0 deletions
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 {