Commit 08ef9806 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Tony Lindgren

ARM: dts: omap3/4/5/dra7: 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: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c731abd9
...@@ -105,25 +105,25 @@ simple-audio-card,codec { ...@@ -105,25 +105,25 @@ simple-audio-card,codec {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led@0 { led0 {
label = "dra7:usr1"; label = "dra7:usr1";
gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>; gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led@1 { led1 {
label = "dra7:usr2"; label = "dra7:usr2";
gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>; gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "dra7:usr3"; label = "dra7:usr3";
gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>; gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "dra7:usr4"; label = "dra7:usr4";
gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>; gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
......
...@@ -45,28 +45,28 @@ gpio-leds { ...@@ -45,28 +45,28 @@ gpio-leds {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&led_pins>; pinctrl-0 = <&led_pins>;
led@1 { led1 {
label = "pandora::sd1"; label = "pandora::sd1";
gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>; /* GPIO_128 */ gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>; /* GPIO_128 */
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
default-state = "off"; default-state = "off";
}; };
led@2 { led2 {
label = "pandora::sd2"; label = "pandora::sd2";
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* GPIO_129 */ gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* GPIO_129 */
linux,default-trigger = "mmc1"; linux,default-trigger = "mmc1";
default-state = "off"; default-state = "off";
}; };
led@3 { led3 {
label = "pandora::bluetooth"; label = "pandora::bluetooth";
gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>; /* GPIO_158 */ gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>; /* GPIO_158 */
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
default-state = "off"; default-state = "off";
}; };
led@4 { led4 {
label = "pandora::wifi"; label = "pandora::wifi";
gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; /* GPIO_159 */ gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; /* GPIO_159 */
linux,default-trigger = "mmc2"; linux,default-trigger = "mmc2";
......
...@@ -79,7 +79,7 @@ hsusb3_phy: hsusb3_phy { ...@@ -79,7 +79,7 @@ hsusb3_phy: hsusb3_phy {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led@1 { led1 {
label = "omap5:blue:usr1"; label = "omap5:blue:usr1";
gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */ gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
......
...@@ -72,7 +72,7 @@ hsusb3_phy: hsusb3_phy { ...@@ -72,7 +72,7 @@ hsusb3_phy: hsusb3_phy {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led@1 { led1 {
label = "Heartbeat"; label = "Heartbeat";
gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 ACT_LED */ gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 ACT_LED */
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment