1
0
Fork 0

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: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
hifive-unleashed-5.1
Javier Martinez Canillas 2016-08-01 12:47:04 -04:00 committed by Tony Lindgren
parent c731abd991
commit 08ef980697
4 changed files with 10 additions and 10 deletions

View File

@ -105,25 +105,25 @@
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";

View File

@ -45,28 +45,28 @@
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";

View File

@ -79,7 +79,7 @@
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";

View File

@ -72,7 +72,7 @@
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";