realtek: drop redundant label with new LED color/function format
Drop redundant label with new LED color/function format declared. This was needed previously when the new format wasn't supported by leds.sh functions script. Now that is supported this property can be removed in favor of the new format. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
19c45b95db
commit
f038c0c18f
14 changed files with 0 additions and 35 deletions
|
@ -19,14 +19,12 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_power_amber: led-0 {
|
led_power_amber: led-0 {
|
||||||
label = "amber:power";
|
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_power_green: led-1 {
|
led_power_green: led-1 {
|
||||||
label = "green:power";
|
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -18,21 +18,18 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_status_red: led-0 {
|
led_status_red: led-0 {
|
||||||
label = "red:status";
|
|
||||||
color = <LED_COLOR_ID_RED>;
|
color = <LED_COLOR_ID_RED>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_green: led-1 {
|
led_status_green: led-1 {
|
||||||
label = "green:status";
|
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_blue: led-2 {
|
led_status_blue: led-2 {
|
||||||
label = "blue:status";
|
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
gpios = <&gpio1 34 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 34 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -18,21 +18,18 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_status_red: led-0 {
|
led_status_red: led-0 {
|
||||||
label = "red:status";
|
|
||||||
color = <LED_COLOR_ID_RED>;
|
color = <LED_COLOR_ID_RED>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_green: led-1 {
|
led_status_green: led-1 {
|
||||||
label = "green:status";
|
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_blue: led-2 {
|
led_status_blue: led-2 {
|
||||||
label = "blue:status";
|
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
gpios = <&gpio1 34 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 34 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -19,14 +19,12 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_power_amber: led-0 {
|
led_power_amber: led-0 {
|
||||||
label = "amber:power";
|
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_power_green: led-1 {
|
led_power_green: led-1 {
|
||||||
label = "green:power";
|
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
|
|
||||||
&leds {
|
&leds {
|
||||||
led_status_eco_amber: led-5 {
|
led_status_eco_amber: led-5 {
|
||||||
label = "amber:status_eco";
|
|
||||||
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
@ -36,7 +35,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_eco_green: led-6 {
|
led_status_eco_green: led-6 {
|
||||||
label = "green:status_eco";
|
|
||||||
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
|
|
@ -26,14 +26,12 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_power: led-0 {
|
led_power: led-0 {
|
||||||
label = "green:pwr";
|
|
||||||
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-1 {
|
led-1 {
|
||||||
label = "red:loop";
|
|
||||||
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_RED>;
|
color = <LED_COLOR_ID_RED>;
|
||||||
function = LED_FUNCTION_FAULT;
|
function = LED_FUNCTION_FAULT;
|
||||||
|
@ -41,7 +39,6 @@
|
||||||
|
|
||||||
/* LED chip is soldered, but no hole on the case */
|
/* LED chip is soldered, but no hole on the case */
|
||||||
led-2 {
|
led-2 {
|
||||||
label = "green:unused";
|
|
||||||
gpios = <&gpio1 36 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 36 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_sys_loop: led {
|
led_sys_loop: led {
|
||||||
label = "red:sys_loop";
|
|
||||||
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_RED>;
|
color = <LED_COLOR_ID_RED>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
|
|
||||||
&leds {
|
&leds {
|
||||||
led_status_eco_amber: led-5 {
|
led_status_eco_amber: led-5 {
|
||||||
label = "amber:status_eco";
|
|
||||||
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
@ -50,7 +49,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_eco_green: led-6 {
|
led_status_eco_green: led-6 {
|
||||||
label = "green:status_eco";
|
|
||||||
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
|
|
||||||
&leds {
|
&leds {
|
||||||
led_status_eco_amber: led-5 {
|
led_status_eco_amber: led-5 {
|
||||||
label = "amber:status_eco";
|
|
||||||
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
@ -50,7 +49,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_eco_green: led-6 {
|
led_status_eco_green: led-6 {
|
||||||
label = "green:status_eco";
|
|
||||||
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_sys: led-0 {
|
led_sys: led-0 {
|
||||||
label = "green:sys";
|
|
||||||
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
|
|
@ -152,7 +152,6 @@
|
||||||
|
|
||||||
&leds {
|
&leds {
|
||||||
led_status_eco_amber: led-5 {
|
led_status_eco_amber: led-5 {
|
||||||
label = "amber:status_eco";
|
|
||||||
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
@ -160,7 +159,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_eco_green: led-6 {
|
led_status_eco_green: led-6 {
|
||||||
label = "green:status_eco";
|
|
||||||
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
|
|
|
@ -74,42 +74,36 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led-0 {
|
led-0 {
|
||||||
label = "green:speed";
|
|
||||||
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-1 {
|
led-1 {
|
||||||
label = "green:poe";
|
|
||||||
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_sys: led-2 {
|
led_sys: led-2 {
|
||||||
label = "green:sys";
|
|
||||||
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-3 {
|
led-3 {
|
||||||
label = "green:fan";
|
|
||||||
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-4 {
|
led-4 {
|
||||||
label = "amber:fan";
|
|
||||||
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = "fault-fan";
|
function = "fault-fan";
|
||||||
};
|
};
|
||||||
|
|
||||||
led-5 {
|
led-5 {
|
||||||
label = "green:poe-max";
|
|
||||||
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = "alarm-poe";
|
function = "alarm-poe";
|
||||||
|
|
|
@ -18,14 +18,12 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led-0 {
|
led-0 {
|
||||||
label = "amber:any_col";
|
|
||||||
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_AMBER>;
|
color = <LED_COLOR_ID_AMBER>;
|
||||||
function = LED_FUNCTION_FAULT;
|
function = LED_FUNCTION_FAULT;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-1 {
|
led-1 {
|
||||||
label = "green:giga";
|
|
||||||
gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
|
@ -33,7 +31,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led-2 {
|
led-2 {
|
||||||
label = "green:100m";
|
|
||||||
gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
|
@ -41,7 +38,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led-3 {
|
led-3 {
|
||||||
label = "green:full";
|
|
||||||
gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
|
@ -49,7 +45,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led-4 {
|
led-4 {
|
||||||
label = "green:loop_history";
|
|
||||||
gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
|
|
|
@ -46,7 +46,6 @@
|
||||||
pinctrl-0 = <&pinmux_disable_sys_led>;
|
pinctrl-0 = <&pinmux_disable_sys_led>;
|
||||||
|
|
||||||
led_pwr_sys: led-0 {
|
led_pwr_sys: led-0 {
|
||||||
label = "green:power";
|
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
Loading…
Reference in a new issue