ARM: dts: sun9i: Remove skeleton to avoid warnings
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 5 Oct 2017 10:49:49 +0000 (12:49 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 6 Oct 2017 08:40:42 +0000 (10:40 +0200)
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.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun9i-a80.dtsi

index 19b01d0..190d1f9 100644 (file)
@@ -42,8 +42,6 @@
  *     OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include "skeleton64.dtsi"
-
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
 #include <dt-bindings/clock/sun9i-a80-ccu.h>
@@ -54,6 +52,8 @@
 #include <dt-bindings/reset/sun9i-a80-usb.h>
 
 / {
+       #address-cells = <2>;
+       #size-cells = <2>;
        interrupt-parent = <&gic>;
 
        cpus {
                };
        };
 
-       memory {
-               /* 8GB max. with LPAE */
-               reg = <0 0x20000000 0x02 0>;
-       };
-
        timer {
                compatible = "arm,armv7-timer";
                interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,