ath79: 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:
Christian Marangi 2024-02-07 14:48:34 +01:00
parent 07ea729761
commit e92632f760
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
12 changed files with 0 additions and 24 deletions

View File

@ -25,7 +25,6 @@
compatible = "gpio-leds";
led_system: led-0 {
label = "green:system";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;

View File

@ -34,7 +34,6 @@
pinctrl-names = "default";
led_status_green: led-0 {
label = "green:status";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_STATUS;
function-enumerator = <0>;
@ -42,7 +41,6 @@
};
led_status_red: led-1 {
label = "red:status";
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_STATUS;
function-enumerator = <1>;
@ -50,7 +48,6 @@
};
led-2 {
label = "green:wifi";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN;
function-enumerator = <0>;
@ -59,21 +56,18 @@
};
led-3 {
label = "green:lan1";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WAN;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led-4 {
label = "green:lan2";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led-5 {
label = "yellow:wifi";
color = <LED_COLOR_ID_YELLOW>;
function = LED_FUNCTION_WLAN;
function-enumerator = <1>;

View File

@ -24,7 +24,6 @@
};
led_power: led-1 {
label = "blue:power";
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;

View File

@ -33,21 +33,18 @@
compatible = "gpio-leds";
led_status_blue: led-0 {
label = "blue:status";
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_status_green: led-1 {
label = "green:status";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
led_status_red: led-2 {
label = "red:status";
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;

View File

@ -32,14 +32,12 @@
compatible = "gpio-leds";
led_power_amber: power-amber {
label = "amber:power";
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_power_green: power-green {
label = "green:power";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;

View File

@ -66,17 +66,14 @@
#else
red {
label = "red:tricolor";
color = <LED_COLOR_ID_RED>;
};
green: green {
label = "green:tricolor";
color = <LED_COLOR_ID_GREEN>;
};
blue {
label = "blue:tricolor";
color = <LED_COLOR_ID_BLUE>;
};
#endif

View File

@ -46,7 +46,6 @@
};
led_power: led-1 {
label = "green:power";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;

View File

@ -21,7 +21,6 @@
compatible = "gpio-leds";
led_power: led-0 {
label = "green:power";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;

View File

@ -20,7 +20,6 @@
compatible = "gpio-leds";
led_power: power {
label = "green:power";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;

View File

@ -18,7 +18,6 @@
compatible = "gpio-leds";
led_status_green: led-0 {
label = "green:status";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
@ -26,14 +25,12 @@
};
led_status_amber: led-1 {
label = "amber:status";
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
led_status_red: led-2 {
label = "red:status";
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;

View File

@ -16,7 +16,6 @@
};
&led_debug {
label = "green:debug";
color = <LED_COLOR_ID_GREEN>;
};

View File

@ -28,7 +28,6 @@
};
&led_debug {
label = "blue:debug";
color = <LED_COLOR_ID_BLUE>;
};