ARM: dts: sun6i: Remove skeleton and memory to avoid warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 08:39:24 +0000 (09:39 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 14:14:06 +0000 (15:14 +0100)
Using skeleton.dtsi will create a memory node that will generate a warning
in DTC. However, that node will be created by the bootloader, so we can
just remove it entirely in order to remove that warning.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun6i-a31.dtsi

index 1eaa60c..b60aaac 100644 (file)
@@ -42,8 +42,6 @@
  *     OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include "skeleton.dtsi"
-
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/thermal/thermal.h>
 
@@ -52,6 +50,8 @@
 
 / {
        interrupt-parent = <&gic>;
+       #address-cells = <1>;
+       #size-cells = <1>;
 
        aliases {
                ethernet0 = &gmac;
                };
        };
 
-       memory {
-               reg = <0x40000000 0x80000000>;
-       };
-
        pmu {
                compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
                interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,