Commit 6d870924 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

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: default avatarFabio Estevam <festevam@gmail.com>
Tested-by: default avatarAndreas Kemnade <andreas@kemnade.info>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 0b47f920
...@@ -48,7 +48,8 @@ on { ...@@ -48,7 +48,8 @@ on {
}; };
}; };
memory { memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x20000000>; reg = <0x80000000 0x20000000>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment