]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: omap3: Add missing memory node in overo and torpedo boards
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 31 Aug 2016 10:35:16 +0000 (12:35 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Aug 2016 14:40:18 +0000 (07:40 -0700)
The skeleton.dtsi file was removed in ARM64 for different reasons as
explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi").

These also applies to ARM and it will also allow to get rid of the
following DTC warnings in the future:

"Node /memory has a reg or ranges property, but no unit name"

But these boards don't have a memory node defined, so removing the
skeleton.dtsi inclusion from omap3.dtsi will cause a change in the
compiled DTB. Add a dummy memory node so the compiled DTB doesn't
change if the skeleton.dtsi is removed from omap3.dtsi.

Eventually the correct starting addresses and sizes should be used
but I didn't find that information.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/logicpd-torpedo-som.dtsi
arch/arm/boot/dts/omap3-overo-base.dtsi

index 1c2c74655416868237d3d40692217b0beaf2d557..5a63a8d8e177fffb70fc2cb11726e3f2df49ba8e 100644 (file)
                };
        };
 
+       memory {
+               device_type = "memory";
+               reg = <0 0>;
+       };
+
        leds {
                compatible = "gpio-leds";
                user0 {
index 3e946cac55f3ead97d21726beb96d57e748eaffc..91b2e423c7c05b84e9f01c85113d13416ebb1ef6 100644 (file)
  */
 
 / {
+
+       memory {
+               device_type = "memory";
+               reg = <0 0>;
+       };
+
        pwmleds {
                compatible = "pwm-leds";