mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-05 21:17:44 -05:00
ARM: dts: armada: align LED node names with dtschema
The node names should be generic and DT schema expects certain pattern: armada-370-seagate-personal-cloud.dtb: gpio-leds: 'red-sata0' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
committed by
Gregory CLEMENT
parent
4839e77bb3
commit
f4237d74e8
@@ -86,19 +86,19 @@ &sata_l_white_pin
|
||||
|
||||
pinctrl-names = "default";
|
||||
|
||||
sata-r-amber-pin {
|
||||
led-sata-r-amber {
|
||||
label = "dns327l:amber:sata-r";
|
||||
gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "keep";
|
||||
};
|
||||
|
||||
sata-l-amber-pin {
|
||||
led-sata-l-amber {
|
||||
label = "dns327l:amber:sata-l";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "keep";
|
||||
};
|
||||
|
||||
backup-led-pin {
|
||||
led-backup {
|
||||
label = "dns327l:white:usb";
|
||||
gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "keep";
|
||||
|
||||
@@ -72,11 +72,11 @@ regulator@4 {
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
red-sata2 {
|
||||
led-red-sata2 {
|
||||
label = "dart:red:sata2";
|
||||
gpios = <&pca9554 0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
red-sata3 {
|
||||
led-red-sata3 {
|
||||
label = "dart:red:sata3";
|
||||
gpios = <&pca9554 3 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
@@ -132,21 +132,21 @@ button-reset {
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
white-power {
|
||||
led-white-power {
|
||||
label = "dart:white:power";
|
||||
gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "timer";
|
||||
|
||||
};
|
||||
red-power {
|
||||
led-red-power {
|
||||
label = "dart:red:power";
|
||||
gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
red-sata0 {
|
||||
led-red-sata0 {
|
||||
label = "dart:red:sata0";
|
||||
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
red-sata1 {
|
||||
led-red-sata1 {
|
||||
label = "dart:red:sata1";
|
||||
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
@@ -107,7 +107,7 @@ button-usb {
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
red-sata0 {
|
||||
led-red-sata0 {
|
||||
label = "cumulus:red:sata0";
|
||||
gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
|
||||
@@ -62,11 +62,11 @@ wps_amber@9 {
|
||||
};
|
||||
|
||||
&gpio_leds {
|
||||
power {
|
||||
led-power {
|
||||
label = "caiman:white:power";
|
||||
};
|
||||
|
||||
sata {
|
||||
led-sata {
|
||||
label = "caiman:white:sata";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -62,11 +62,11 @@ wps_amber@9 {
|
||||
};
|
||||
|
||||
&gpio_leds {
|
||||
power {
|
||||
led-power {
|
||||
label = "cobra:white:power";
|
||||
};
|
||||
|
||||
sata {
|
||||
led-sata {
|
||||
label = "cobra:white:sata";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -54,22 +54,22 @@ wps_amber@9 {
|
||||
};
|
||||
|
||||
&gpio_leds {
|
||||
power {
|
||||
led-power {
|
||||
gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
|
||||
label = "rango:white:power";
|
||||
};
|
||||
|
||||
sata {
|
||||
led-sata {
|
||||
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
|
||||
label = "rango:white:sata";
|
||||
};
|
||||
|
||||
wlan_2g {
|
||||
led-wlan_2g {
|
||||
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
|
||||
label = "rango:white:wlan_2g";
|
||||
};
|
||||
|
||||
wlan_5g {
|
||||
led-wlan_5g {
|
||||
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
|
||||
label = "rango:white:wlan_5g";
|
||||
};
|
||||
|
||||
@@ -62,11 +62,11 @@ wps_amber@9 {
|
||||
};
|
||||
|
||||
&gpio_leds {
|
||||
power {
|
||||
led-power {
|
||||
label = "shelby:white:power";
|
||||
};
|
||||
|
||||
sata {
|
||||
led-sata {
|
||||
label = "shelby:white:sata";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -71,12 +71,12 @@ gpio_leds: gpio-leds {
|
||||
pinctrl-0 = <&gpio_leds_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
power {
|
||||
led-power {
|
||||
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
sata {
|
||||
led-sata {
|
||||
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "disk-activity";
|
||||
|
||||
@@ -149,7 +149,7 @@ gpio-leds {
|
||||
* sata0, and accesses to SATA disk 0 make it blink so it
|
||||
* doesn't need to be declared here.
|
||||
*/
|
||||
orange {
|
||||
led-orange {
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
||||
label = "ds116:orange:disk";
|
||||
default-state = "off";
|
||||
|
||||
@@ -195,7 +195,7 @@ gpio-leds {
|
||||
pinctrl-0 = <&power_led_pin>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
power {
|
||||
led-power {
|
||||
label = "mamba:white:power";
|
||||
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "on";
|
||||
|
||||
Reference in New Issue
Block a user