]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 3dc0028e108b3d4982cb35d987fdcb2de3754326..a58ce6f68d7d4f82d8de169253f91317481c6bc3 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 9e359e4f342e76ebd1fbfab57d1f8f427ece2cd7..feb682a3d3635d907a1abd2f538de42648dc2c1a 100644 (file)
@@ -15,6 +15,7 @@
 
 / {
        memory {
+               device_type = "memory";
                reg = <0x00000000 0x20000000>;
        };
 
index b0b94d05309855f4816a05295cbeb19251bc89e5..8fa025251dc6984437df0f07aee56e04b5b85788 100644 (file)
@@ -26,6 +26,7 @@ aliases {
        };
 
        memory {
+               device_type = "memory";
                reg = <0x00000000 0x20000000>;
        };