ARM: dts: am4372: Remove skeleton.dtsi usage
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 31 Aug 2016 10:35:25 +0000 (12:35 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Aug 2016 14:40:22 +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"

The disassembled DTB are almost the same besides an empty chosen
node being removed and nodes reordered, so it shouldn't have
functional changes.

Since no am4372 based board had a memory node defined, a dummy node
is added so the compiled DTB memory node is the same than before.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am4372.dtsi

index d8689878d67b41fb7b062a7daebba8c2af86d3b2..dda607d254ae566c5c8afe4b1d70c3bcb6b771ec 100644 (file)
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
-#include "skeleton.dtsi"
-
 / {
        compatible = "ti,am4372", "ti,am43";
        interrupt-parent = <&wakeupgen>;
+       #address-cells = <1>;
+       #size-cells = <1>;
 
+       memory {
+               device_type = "memory";
+               reg = <0 0>;
+       };
 
        aliases {
                i2c0 = &i2c0;