ARM: dts: omap3/4/5/dra7: remove unneeded unit name for gpio-leds nodes
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 1 Aug 2016 16:47:04 +0000 (12:47 -0400)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Aug 2016 16:42:42 +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>
arch/arm/boot/dts/dra7-evm.dts
arch/arm/boot/dts/omap3-pandora-common.dtsi
arch/arm/boot/dts/omap5-board-common.dtsi
arch/arm/boot/dts/omap5-cm-t54.dts

index bafcfac067ecdd5c29bc99d8a942d377e4afbd66..d47c8739bdaa5e64b3248c1d0dfd2251a50c0ddc 100644 (file)
 
        leds {
                compatible = "gpio-leds";
-               led@0 {
+               led0 {
                        label = "dra7:usr1";
                        gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };
 
-               led@1 {
+               led1 {
                        label = "dra7:usr2";
                        gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "dra7:usr3";
                        gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "dra7:usr4";
                        gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
                        default-state = "off";
index dbc4dc721cc2c1b354a1ca29dd3e70df946ef33d..af30d4d993077a372b9e05e92e5f903ff586f21a 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&led_pins>;
 
-               led@1 {
+               led1 {
                        label = "pandora::sd1";
                        gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>;    /* GPIO_128 */
                        linux,default-trigger = "mmc0";
                        default-state = "off";
                };
 
-               led@2 {
+               led2 {
                        label = "pandora::sd2";
                        gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;    /* GPIO_129 */
                        linux,default-trigger = "mmc1";
                        default-state = "off";
                };
 
-               led@3 {
+               led3 {
                        label = "pandora::bluetooth";
                        gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>;   /* GPIO_158 */
                        linux,default-trigger = "heartbeat";
                        default-state = "off";
                };
 
-               led@4 {
+               led4 {
                        label = "pandora::wifi";
                        gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>;   /* GPIO_159 */
                        linux,default-trigger = "mmc2";
index 5196113202a2c583faa0e8e01ef622d856fca523..d1f5ce3d36519844a81c021f040b69b89213167e 100644 (file)
@@ -79,7 +79,7 @@
 
        leds {
                compatible = "gpio-leds";
-               led@1 {
+               led1 {
                        label = "omap5:blue:usr1";
                        gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
                        linux,default-trigger = "heartbeat";
index a9765605d53b11a1252b79504b4b62020e8532ce..fe724da3ec0dc26b0ffb0723a20e335fa493d3a6 100644 (file)
@@ -72,7 +72,7 @@
 
        leds {
                compatible = "gpio-leds";
-               led@1 {
+               led1 {
                        label = "Heartbeat";
                        gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 ACT_LED */
                        linux,default-trigger = "heartbeat";