diff options
author | Fabio Estevam <festevam@gmail.com> | 2019-11-08 11:39:36 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-12-09 08:28:06 +0800 |
commit | 6d8709248d8869b144deaf68e3c6e82cf7dc5cd8 (patch) | |
tree | b1310d01b67c2111112fcbf2709c4a3ab749c07c /arch/arm/boot/dts/e60k02.dtsi | |
parent | 0b47f9201075adece3f1eb22db1ffb8b75fa58b4 (diff) | |
download | linux-6d8709248d8869b144deaf68e3c6e82cf7dc5cd8.tar.gz |
ARM: dts: e60k02: Pass the memory unit address
The following build warning is seen with W=1:
DTC arch/arm/boot/dts/imx6sll-kobo-clarahd.dtb
arch/arm/boot/dts/e60k02.dtsi:51.9-53.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
Pass the memory unit address to fix the problem.
While at it, also pass 'device_type = "memory"', which is recommended
for memory nodes.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/e60k02.dtsi')
-rw-r--r-- | arch/arm/boot/dts/e60k02.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/e60k02.dtsi b/arch/arm/boot/dts/e60k02.dtsi index 6472b056a001..a9433c8432a6 100644 --- a/arch/arm/boot/dts/e60k02.dtsi +++ b/arch/arm/boot/dts/e60k02.dtsi @@ -48,7 +48,8 @@ }; }; - memory { + memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x20000000>; }; |