ARM: dts: s3c64xx: Remove skeleton.dtsi and fix DTC warnings for /memory
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 6 May 2018 16:03:07 +0000 (18:03 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 7 May 2018 18:46:16 +0000 (20:46 +0200)
Remove the usage of skeleton.dtsi to fix the DTC warnings:

    arch/arm/boot/dts/s3c6410-mini6410.dtb: Warning (unit_address_vs_reg):
        /memory: node has a reg or ranges property, but no unit name
    arch/arm/boot/dts/s3c6410-smdk6410.dtb: Warning (unit_address_vs_reg):
        /memory: node has a reg or ranges property, but no unit name

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/s3c6410-mini6410.dts
arch/arm/boot/dts/s3c6410-smdk6410.dts
arch/arm/boot/dts/s3c64xx.dtsi

index f68601b..0e159c8 100644 (file)
@@ -19,7 +19,8 @@
        model = "FriendlyARM Mini6410 board based on S3C6410";
        compatible = "friendlyarm,mini6410", "samsung,s3c6410";
 
-       memory {
+       memory@50000000 {
+               device_type = "memory";
                reg = <0x50000000 0x10000000>;
        };
 
index b6b5afc..a9a5689 100644 (file)
@@ -19,7 +19,8 @@
        model = "SAMSUNG SMDK6410 board based on S3C6410";
        compatible = "samsung,mini6410", "samsung,s3c6410";
 
-       memory {
+       memory@50000000 {
+               device_type = "memory";
                reg = <0x50000000 0x8000000>;
        };
 
index e2be3fb..2e611df 100644 (file)
  * nodes can be added to this file.
  */
 
-#include "skeleton.dtsi"
 #include <dt-bindings/clock/samsung,s3c64xx-clock.h>
 
 / {
+       #address-cells = <1>;
+       #size-cells = <1>;
+
        aliases {
                i2c0 = &i2c0;
                pinctrl0 = &pinctrl0;