ARM: dts: Fix DTC warnings
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 6 May 2018 13:39:00 +0000 (15:39 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 May 2018 11:27:24 +0000 (13:27 +0200)
The DTC was warning a lot about unit names etc, I think I fixed
them all. Stopping to include skeleton.dtsi fixes the last one.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/gemini-dlink-dir-685.dts
arch/arm/boot/dts/gemini-dlink-dns-313.dts
arch/arm/boot/dts/gemini-nas4220b.dts
arch/arm/boot/dts/gemini-rut1xx.dts
arch/arm/boot/dts/gemini-sq201.dts
arch/arm/boot/dts/gemini-wbd111.dts
arch/arm/boot/dts/gemini-wbd222.dts
arch/arm/boot/dts/gemini.dtsi

index 89ce0d1916e30f4d36dbe651cbcdf9da3ca538f5..fb5c954ab95a2ca98ac3223a2ce27e8ca7581dd8 100644 (file)
@@ -13,7 +13,7 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
-       memory {
+       memory@0 {
                /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */
                device_type = "memory";
                reg = <0x00000000 0x8000000>;
@@ -26,8 +26,7 @@
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
+
                button-esc {
                        debounce-interval = <50>;
                        wakeup-source;
index da78a0aa389af45630f5e41073d1ca92d79c8d2c..d1329322b968540825459b040c96006b9f21eea8 100644 (file)
@@ -15,7 +15,7 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
-       memory {
+       memory@0 {
                /* 64 MB SDRAM in a Nanya NT5DS32M16BS-6K package */
                device_type = "memory";
                reg = <0x00000000 0x4000000>;
@@ -32,8 +32,7 @@
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
+
                button-esc {
                        debounce-interval = <50>;
                        wakeup-source;
index b67078eeaa6f7a388eabbf5f9c84a4f1c459f7fa..a40741475dc67a7566ddcbf2ab1b6d5d1e4e2331 100644 (file)
@@ -14,7 +14,7 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
-       memory { /* 128 MB */
+       memory@0 { /* 128 MB */
                device_type = "memory";
                reg = <0x00000000 0x8000000>;
        };
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
-               button@29 {
+               button-setup {
                        debounce-interval = <50>;
                        wakeup-source;
                        linux,code = <KEY_SETUP>;
@@ -37,7 +35,7 @@
                        /* Conflict with TVC */
                        gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
                };
-               button@31 {
+               button-restart {
                        debounce-interval = <50>;
                        wakeup-source;
                        linux,code = <KEY_RESTART>;
 
        leds {
                compatible = "gpio-leds";
-               led@28 {
+               led-orange-hdd {
                        label = "nas4220b:orange:hdd";
                        /* Conflict with TVC */
                        gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
-               led@30 {
+               led-green-os {
                        label = "nas4220b:green:os";
                        /* Conflict with TVC */
                        gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
index a2f14ee3759920262d2c780cc5bb6cc97e4ec628..eb4f0bf074da368495b96c8a8f1b146cba812909 100644 (file)
@@ -14,7 +14,7 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
-       memory { /* 128 MB */
+       memory@0 { /* 128 MB */
                device_type = "memory";
                reg = <0x00000000 0x8000000>;
        };
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
-               button@28 {
+               button-setup {
                        debounce-interval = <50>;
                        wakeup-source;
                        linux,code = <KEY_SETUP>;
 
        leds {
                compatible = "gpio-leds";
-               led@7 {
+               led-gsm {
                        /* FIXME: add the LED color */
                        label = "rut1xx::gsm";
                        /* Conflict with ICE */
                        gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
-               led@31 {
+               led-power {
                        /* FIXME: add the LED color */
                        label = "rut1xx::power";
                        /* Conflict with NAND CE0 */
index 229c0267617a144f0bdfdf11c8aa5824f018d762..e5cf9d1a98cd4f27da7e557c423acf57955bf1e2 100644 (file)
@@ -14,7 +14,7 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
-       memory { /* 128 MB */
+       memory@0 { /* 128 MB */
                device_type = "memory";
                reg = <0x00000000 0x8000000>;
        };
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
-               button@18 {
+               button-setup {
                        debounce-interval = <50>;
                        wakeup-source;
                        linux,code = <KEY_SETUP>;
 
        leds {
                compatible = "gpio-leds";
-               led@20 {
+               led-green-info {
                        label = "sq201:green:info";
                        /* Conflict with parallel flash */
                        gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                        linux,default-trigger = "heartbeat";
                };
-               led@31 {
+               led-green-usb {
                        label = "sq201:green:usb";
                        /* Conflict with parallel and NAND flash */
                        gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
index b31a9189083f0ef05695cb3ff8bf137e697ae417..29af86cd10f7d76f0267784191a1ddd521c8b0f2 100644 (file)
@@ -14,7 +14,8 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
-       memory { /* 128 MB */
+       memory@0 {
+               /* 128 MB */
                device_type = "memory";
                reg = <0x00000000 0x8000000>;
        };
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
-               button@5 {
+               button-setup {
                        debounce-interval = <50>;
                        wakeup-source;
                        linux,code = <KEY_SETUP>;
        leds {
                compatible = "gpio-leds";
 
-               led@1 {
+               led-red-l3 {
                        label = "wbd111:red:L3";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
-               led@2 {
+               led-green-l4 {
                        label = "wbd111:green:L4";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
-               led@3 {
+               led-red-l4 {
                        label = "wbd111:red:L4";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
-               led@5 {
+               led-greeb-l3 {
                        label = "wbd111:green:L3";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
index 0be867fbfc69e93bf0eb2b9a4cb3b30eb0c2e797..24e6ae3616f7165fbb12f309f529fb6ddb091825 100644 (file)
@@ -14,7 +14,7 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
-       memory { /* 128 MB */
+       memory@0 { /* 128 MB */
                device_type = "memory";
                reg = <0x00000000 0x8000000>;
        };
 
        gpio_keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
-               button@5 {
+               button-setup {
                        debounce-interval = <50>;
                        wakeup-source;
                        linux,code = <KEY_SETUP>;
        leds {
                compatible = "gpio-leds";
 
-               led@1 {
+               led-red-l3 {
                        label = "wbd111:red:L3";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
-               led@2 {
+               led-green-l4 {
                        label = "wbd111:green:L4";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
-               led@3 {
+               led-red-l4 {
                        label = "wbd111:red:L4";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
-               led@5 {
+               led-green-l3 {
                        label = "wbd111:green:L3";
                        /* Conflict with TVC and extended parallel flash */
                        gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
index 0568baca500af174a18f8fc2b000a4eb1f2ef981..eb752e9495de10f8a99339d257f4680ebacf4793 100644 (file)
@@ -3,8 +3,6 @@
  * Device Tree file for Cortina systems Gemini SoC
  */
 
-/include/ "skeleton.dtsi"
-
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/clock/cortina,gemini-clock.h>
 #include <dt-bindings/reset/cortina,gemini-reset.h>