]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: am335x/437x/57xx: remove unneeded unit name for gpio-leds nodes
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 1 Aug 2016 16:47:03 +0000 (12:47 -0400)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Aug 2016 16:42:41 +0000 (09:42 -0700)
This patch fixes the following DTC warnings for many boards:

"Node /leds/led@1 has a unit name, but no reg property"

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
13 files changed:
arch/arm/boot/dts/am335x-base0033.dts
arch/arm/boot/dts/am335x-bone-common.dtsi
arch/arm/boot/dts/am335x-cm-t335.dts
arch/arm/boot/dts/am335x-evmsk.dts
arch/arm/boot/dts/am335x-icev2.dts
arch/arm/boot/dts/am335x-igep0033.dtsi
arch/arm/boot/dts/am335x-nano.dts
arch/arm/boot/dts/am335x-pepper.dts
arch/arm/boot/dts/am335x-shc.dts
arch/arm/boot/dts/am335x-sl50.dts
arch/arm/boot/dts/am437x-sk-evm.dts
arch/arm/boot/dts/am57xx-beagle-x15.dts
arch/arm/boot/dts/am57xx-cl-som-am57x.dts

index 58a05f7d0b7cbc4fdd32879dfb9e900f7ad72dbb..c2bee452dab820c714f6fb119be756765bb2e6a8 100644 (file)
 
                compatible = "gpio-leds";
 
-               led@0 {
+               led0 {
                        label = "base:red:user";
                        gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;   /* gpio1_21 */
                        default-state = "off";
                };
 
-               led@1 {
+               led1 {
                        label = "base:green:user";
                        gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;    /* gpio2_0 */
                        default-state = "off";
index d4890149dac4ef3f9462f44931dd27b2637a38d7..8d21aca69f371c9193a476458dd4f902f29d5d9c 100644 (file)
 
                compatible = "gpio-leds";
 
-               led@2 {
+               led2 {
                        label = "beaglebone:green:heartbeat";
                        gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "beaglebone:green:mmc0";
                        gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "mmc0";
                        default-state = "off";
                };
 
-               led@4 {
+               led4 {
                        label = "beaglebone:green:usr2";
                        gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "cpu0";
                        default-state = "off";
                };
 
-               led@5 {
+               led5 {
                        label = "beaglebone:green:usr3";
                        gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "mmc1";
index 1dbc70de1070179b5b5e541799a8b480fdc149a2..4c0d6d7a37c243a6920a7fccf1dd0320a2c9eb2a 100644 (file)
@@ -26,7 +26,7 @@
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&gpio_led_pins>;
-               led@0 {
+               led0 {
                        label = "cm_t335:green";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;     /* gpio2_0 */
                        linux,default-trigger = "heartbeat";
index 80e9978402e153e8fbebe9f4e14dbdc68737220c..c9b11107803d516bc64106b4b0cb39deb0a3b775 100644 (file)
 
                compatible = "gpio-leds";
 
-               led@1 {
+               led1 {
                        label = "evmsk:green:usr0";
                        gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "evmsk:green:usr1";
                        gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "evmsk:green:mmc0";
                        gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "mmc0";
                        default-state = "off";
                };
 
-               led@4 {
+               led4 {
                        label = "evmsk:green:heartbeat";
                        gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
index 859e801f76272ce8e0d5179477600afb9314a7d7..bc0190e4f10f9daa3584e653cc9b0db94c2d10fe 100644 (file)
                enable-active-high;
        };
 
-       leds@0 {
+       leds0 {
                compatible = "gpio-leds";
 
-               led@0 {
+               led0 {
                        label = "out0";
                        gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@1 {
+               led1 {
                        label = "out1";
                        gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "out2";
                        gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "out3";
                        gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@4 {
+               led4 {
                        label = "out4";
                        gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@5 {
+               led5 {
                        label = "out5";
                        gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@6 {
+               led6 {
                        label = "out6";
                        gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@7 {
+               led7 {
                        label = "out7";
                        gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
        };
 
        /* Tricolor status LEDs */
-       leds@1 {
+       leds1 {
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&user_leds>;
 
-               led@0 {
+               led0 {
                        label = "status0:red:cpu0";
                        gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                        linux,default-trigger = "cpu0";
                };
 
-               led@1 {
+               led1 {
                        label = "status0:green:usr";
                        gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "status0:yellow:usr";
                        gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "status1:red:mmc0";
                        gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                        linux,default-trigger = "mmc0";
                };
 
-               led@4 {
+               led4 {
                        label = "status1:green:usr";
                        gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@5 {
+               led5 {
                        label = "status1:yellow:usr";
                        gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
index 856ee31c7cc88f317bf918ba84ca26f9210bccdc..df95818b4f67c0a03fbf6003e6dc6848c1a628c0 100644 (file)
@@ -31,7 +31,7 @@
 
                compatible = "gpio-leds";
 
-               led@0 {
+               led0 {
                        label = "com:green:user";
                        gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
index f313999c503e1df2add311257af95594d51e464e..71e082ca3f3429cc26fd1e7be09631cd9585b8e7 100644 (file)
@@ -27,7 +27,7 @@
        leds {
                compatible = "gpio-leds";
 
-               led@0 {
+               led0 {
                        label = "nanobone:green:usr1";
                        gpios = <&gpio1 5 0>;
                        default-state = "off";
index dbf0790656598c73e67ee0a42c7dd07574563ff4..ddfdf3ca3d66986421bb49f7eb45ed050c120bb8 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&user_leds_pins>;
 
-       led@0 {
+       led0 {
                label = "pepper:user0:blue";
                gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
                linux,default-trigger = "none";
                default-state = "off";
        };
 
-       led@1 {
+       led1 {
                label = "pepper:user1:red";
                gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
                linux,default-trigger = "none";
index 41b1b1206c31d9af6e43bcae6aaf33933df8252c..f9a15afb66c7e30cbb4dffefbb7c7d0337788ea0 100644 (file)
 
                compatible = "gpio-leds";
 
-               led@1 {
+               led1 {
                        label = "shc:power:red";
                        gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "shc:power:bl";
                        gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "timer";
                        default-state = "on";
                };
 
-               led@3 {
+               led3 {
                        label = "shc:lan:red";
                        gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@4 {
+               led4 {
                        label = "shc:lan:bl";
                        gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@5 {
+               led5 {
                        label = "shc:cloud:red";
                        gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               led@6 {
+               led6 {
                        label = "shc:cloud:bl";
                        gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
index 560ebfcddcc5478f113b647ae9f4a7ddd6588941..f802adb23ff97ac17aa0ec2344f8f3d68aa1864e 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
 
-               led@0 {
+               led0 {
                        label = "sl50:green:usr0";
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };
 
-               led@1 {
+               led1 {
                        label = "sl50:red:usr1";
                        gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "sl50:green:usr2";
                        gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "sl50:red:usr3";
                        gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
                        default-state = "off";
index 9d71246d31ad05cd62c1318eb738a7add198dd0d..23e7c9ecb76f06258dfd2a4fb05ce87655be708a 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&leds_pins>;
 
-               led@0 {
+               led0 {
                        label = "am437x-sk:red:heartbeat";
                        gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>;    /* Bank 5, pin 0 */
                        linux,default-trigger = "heartbeat";
                        default-state = "off";
                };
 
-               led@1 {
+               led1 {
                        label = "am437x-sk:green:mmc1";
                        gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;    /* Bank 5, pin 1 */
                        linux,default-trigger = "mmc0";
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "am437x-sk:blue:cpu0";
                        gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;    /* Bank 5, pin 2 */
                        linux,default-trigger = "cpu0";
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "am437x-sk:blue:usr3";
                        gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;    /* Bank 5, pin 3 */
                        default-state = "off";
index c4d04c5293b90b01c9dfcaa8185a3755d34e7166..8b115e1b48a3df5179ad1088328ddc261470c699 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&leds_pins_default>;
 
-               led@0 {
+               led0 {
                        label = "beagle-x15:usr0";
                        gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                        default-state = "off";
                };
 
-               led@1 {
+               led1 {
                        label = "beagle-x15:usr1";
                        gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "cpu0";
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "beagle-x15:usr2";
                        gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "mmc0";
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "beagle-x15:usr3";
                        gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "disk-activity";
index 378b142ef88c0bed4ee8cbf43ebace9b9a465ddd..832d766cd31e8d5ca40b10e75f3305228c664acd 100644 (file)
@@ -29,7 +29,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&leds_pins_default>;
 
-               led@0 {
+               led0 {
                        label = "cl-som-am57x:green";
                        gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";