Browse Source

ARM: dts: ux500: Get rid of DTC warnings

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>
Linus Walleij 7 years ago
parent
commit
ee8119af4f

+ 6 - 1
arch/arm/boot/dts/ste-dbx5x0.dtsi

@@ -15,9 +15,14 @@
 #include <dt-bindings/arm/ux500_pm_domains.h>
 #include <dt-bindings/arm/ux500_pm_domains.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/ste-ab8500.h>
 #include <dt-bindings/clock/ste-ab8500.h>
-#include "skeleton.dtsi"
 
 
 / {
 / {
+	#address-cells = <1>;
+	#size-cells = <1>;
+
+	chosen {
+	};
+
 	cpus {
 	cpus {
 		#address-cells = <1>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		#size-cells = <0>;

+ 1 - 0
arch/arm/boot/dts/ste-href.dtsi

@@ -15,6 +15,7 @@
 
 
 / {
 / {
 	memory {
 	memory {
+		device_type = "memory";
 		reg = <0x00000000 0x20000000>;
 		reg = <0x00000000 0x20000000>;
 	};
 	};
 
 

+ 1 - 0
arch/arm/boot/dts/ste-snowball.dts

@@ -26,6 +26,7 @@
 	};
 	};
 
 
 	memory {
 	memory {
+		device_type = "memory";
 		reg = <0x00000000 0x20000000>;
 		reg = <0x00000000 0x20000000>;
 	};
 	};