mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
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:
parent
07ea729761
commit
e92632f760
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -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
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -16,7 +16,6 @@
|
||||
};
|
||||
|
||||
&led_debug {
|
||||
label = "green:debug";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
};
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
};
|
||||
|
||||
&led_debug {
|
||||
label = "blue:debug";
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user