OSDN Git Service

ARM: dts: ux500: Get rid of DTC warnings
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jul 2018 08:03:47 +0000 (10:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Sep 2018 21:55:55 +0000 (14:55 -0700)
By removing the reference to skeleton.dtsi, defining chosen {}
and proper memory nodes we get warning-free device trees for
the Ux500.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-dbx5x0.dtsi
arch/arm/boot/dts/ste-href.dtsi
arch/arm/boot/dts/ste-snowball.dts

index 3dc0028..a58ce6f 100644 (file)
 #include <dt-bindings/arm/ux500_pm_domains.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/ste-ab8500.h>
-#include "skeleton.dtsi"
 
 / {
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       chosen {
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
index 9e359e4..feb682a 100644 (file)
@@ -15,6 +15,7 @@
 
 / {
        memory {
+               device_type = "memory";
                reg = <0x00000000 0x20000000>;
        };
 
index b0b94d0..8fa0252 100644 (file)
@@ -26,6 +26,7 @@
        };
 
        memory {
+               device_type = "memory";
                reg = <0x00000000 0x20000000>;
        };