ARM: dts: am335x/437x/57xx: remove unneeded unit name for gpio-leds nodes

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>
This commit is contained in:
Javier Martinez Canillas 2016-08-01 12:47:03 -04:00 committed by Tony Lindgren
parent 45ed37f7b9
commit c731abd991
13 changed files with 50 additions and 50 deletions

View file

@ -29,13 +29,13 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
led@0 { led0 {
label = "base:red:user"; label = "base:red:user";
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; /* gpio1_21 */ gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; /* gpio1_21 */
default-state = "off"; default-state = "off";
}; };
led@1 { led1 {
label = "base:green:user"; label = "base:green:user";
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; /* gpio2_0 */ gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; /* gpio2_0 */
default-state = "off"; default-state = "off";

View file

@ -28,28 +28,28 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
led@2 { led2 {
label = "beaglebone:green:heartbeat"; label = "beaglebone:green:heartbeat";
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "beaglebone:green:mmc0"; label = "beaglebone:green:mmc0";
gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
default-state = "off"; default-state = "off";
}; };
led@4 { led4 {
label = "beaglebone:green:usr2"; label = "beaglebone:green:usr2";
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "cpu0"; linux,default-trigger = "cpu0";
default-state = "off"; default-state = "off";
}; };
led@5 { led5 {
label = "beaglebone:green:usr3"; label = "beaglebone:green:usr3";
gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc1"; linux,default-trigger = "mmc1";

View file

@ -26,7 +26,7 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gpio_led_pins>; pinctrl-0 = <&gpio_led_pins>;
led@0 { led0 {
label = "cm_t335:green"; label = "cm_t335:green";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; /* gpio2_0 */ gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; /* gpio2_0 */
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";

View file

@ -75,26 +75,26 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
led@1 { led1 {
label = "evmsk:green:usr0"; label = "evmsk:green:usr0";
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "evmsk:green:usr1"; label = "evmsk:green:usr1";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "evmsk:green:mmc0"; label = "evmsk:green:mmc0";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
default-state = "off"; default-state = "off";
}; };
led@4 { led4 {
label = "evmsk:green:heartbeat"; label = "evmsk:green:heartbeat";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";

View file

@ -43,52 +43,52 @@
enable-active-high; enable-active-high;
}; };
leds@0 { leds0 {
compatible = "gpio-leds"; compatible = "gpio-leds";
led@0 { led0 {
label = "out0"; label = "out0";
gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@1 { led1 {
label = "out1"; label = "out1";
gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "out2"; label = "out2";
gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "out3"; label = "out3";
gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@4 { led4 {
label = "out4"; label = "out4";
gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@5 { led5 {
label = "out5"; label = "out5";
gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@6 { led6 {
label = "out6"; label = "out6";
gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@7 { led7 {
label = "out7"; label = "out7";
gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>; gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
@ -96,44 +96,44 @@
}; };
/* Tricolor status LEDs */ /* Tricolor status LEDs */
leds@1 { leds1 {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&user_leds>; pinctrl-0 = <&user_leds>;
led@0 { led0 {
label = "status0:red:cpu0"; label = "status0:red:cpu0";
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
linux,default-trigger = "cpu0"; linux,default-trigger = "cpu0";
}; };
led@1 { led1 {
label = "status0:green:usr"; label = "status0:green:usr";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "status0:yellow:usr"; label = "status0:yellow:usr";
gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "status1:red:mmc0"; label = "status1:red:mmc0";
gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
}; };
led@4 { led4 {
label = "status1:green:usr"; label = "status1:green:usr";
gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@5 { led5 {
label = "status1:yellow:usr"; label = "status1:yellow:usr";
gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";

View file

@ -31,7 +31,7 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
led@0 { led0 {
label = "com:green:user"; label = "com:green:user";
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";

View file

@ -27,7 +27,7 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led@0 { led0 {
label = "nanobone:green:usr1"; label = "nanobone:green:usr1";
gpios = <&gpio1 5 0>; gpios = <&gpio1 5 0>;
default-state = "off"; default-state = "off";

View file

@ -595,14 +595,14 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&user_leds_pins>; pinctrl-0 = <&user_leds_pins>;
led@0 { led0 {
label = "pepper:user0:blue"; label = "pepper:user0:blue";
gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none"; linux,default-trigger = "none";
default-state = "off"; default-state = "off";
}; };
led@1 { led1 {
label = "pepper:user1:red"; label = "pepper:user1:red";
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none"; linux,default-trigger = "none";

View file

@ -64,38 +64,38 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
led@1 { led1 {
label = "shc:power:red"; label = "shc:power:red";
gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "shc:power:bl"; label = "shc:power:bl";
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "timer"; linux,default-trigger = "timer";
default-state = "on"; default-state = "on";
}; };
led@3 { led3 {
label = "shc:lan:red"; label = "shc:lan:red";
gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@4 { led4 {
label = "shc:lan:bl"; label = "shc:lan:bl";
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@5 { led5 {
label = "shc:cloud:red"; label = "shc:cloud:red";
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
led@6 { led6 {
label = "shc:cloud:bl"; label = "shc:cloud:bl";
gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";

View file

@ -28,25 +28,25 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&led_pins>; pinctrl-0 = <&led_pins>;
led@0 { led0 {
label = "sl50:green:usr0"; label = "sl50:green:usr0";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led@1 { led1 {
label = "sl50:red:usr1"; label = "sl50:red:usr1";
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "sl50:green:usr2"; label = "sl50:green:usr2";
gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "sl50:red:usr3"; label = "sl50:red:usr3";
gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";

View file

@ -93,28 +93,28 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&leds_pins>; pinctrl-0 = <&leds_pins>;
led@0 { led0 {
label = "am437x-sk:red:heartbeat"; label = "am437x-sk:red:heartbeat";
gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 0 */ gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 0 */
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
default-state = "off"; default-state = "off";
}; };
led@1 { led1 {
label = "am437x-sk:green:mmc1"; label = "am437x-sk:green:mmc1";
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 1 */ gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 1 */
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "am437x-sk:blue:cpu0"; label = "am437x-sk:blue:cpu0";
gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 2 */ gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 2 */
linux,default-trigger = "cpu0"; linux,default-trigger = "cpu0";
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "am437x-sk:blue:usr3"; label = "am437x-sk:blue:usr3";
gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 3 */ gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; /* Bank 5, pin 3 */
default-state = "off"; default-state = "off";

View file

@ -62,28 +62,28 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&leds_pins_default>; pinctrl-0 = <&leds_pins_default>;
led@0 { led0 {
label = "beagle-x15:usr0"; label = "beagle-x15:usr0";
gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
default-state = "off"; default-state = "off";
}; };
led@1 { led1 {
label = "beagle-x15:usr1"; label = "beagle-x15:usr1";
gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "cpu0"; linux,default-trigger = "cpu0";
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "beagle-x15:usr2"; label = "beagle-x15:usr2";
gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>; gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "beagle-x15:usr3"; label = "beagle-x15:usr3";
gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>; gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "disk-activity"; linux,default-trigger = "disk-activity";

View file

@ -29,7 +29,7 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&leds_pins_default>; pinctrl-0 = <&leds_pins_default>;
led@0 { led0 {
label = "cl-som-am57x:green"; label = "cl-som-am57x:green";
gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";