mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-28 12:10:02 +04:00
ipq40xx: 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:
@@ -29,7 +29,6 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_status: led-0 {
|
||||
label = "blue:power";
|
||||
function = LED_FUNCTION_POWER;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
};
|
||||
|
||||
@@ -93,7 +93,6 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_power_amber: led-0 {
|
||||
label = "amber:power";
|
||||
color = <LED_COLOR_ID_AMBER>;
|
||||
function = LED_FUNCTION_POWER;
|
||||
gpios = <&ssr 6 GPIO_ACTIVE_LOW>;
|
||||
@@ -101,7 +100,6 @@
|
||||
};
|
||||
|
||||
led_power_green: led-1 {
|
||||
label = "green:power";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_POWER;
|
||||
gpios = <&ssr 5 GPIO_ACTIVE_LOW>;
|
||||
|
||||
@@ -36,14 +36,12 @@
|
||||
pinctrl-names = "default";
|
||||
|
||||
led_power: power {
|
||||
label = "blue:power";
|
||||
gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_POWER;
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
label = "blue:wlan2g";
|
||||
gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_WLAN;
|
||||
@@ -51,7 +49,6 @@
|
||||
};
|
||||
|
||||
wlan5g {
|
||||
label = "blue:wlan5g";
|
||||
gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_WLAN;
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_status: led-0 {
|
||||
label = "blue:power";
|
||||
function = LED_FUNCTION_POWER;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
|
||||
|
||||
@@ -74,14 +74,12 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_sys: led-0 {
|
||||
label = "blue:sys";
|
||||
gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_POWER;
|
||||
};
|
||||
|
||||
led-1 {
|
||||
label = "blue:wlan2g";
|
||||
gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
@@ -90,7 +88,6 @@
|
||||
};
|
||||
|
||||
led-2 {
|
||||
label = "blue:wlan5g";
|
||||
gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
|
||||
@@ -275,7 +275,6 @@
|
||||
#size-cells = <0>;
|
||||
|
||||
led_red: red@0 {
|
||||
label = "red";
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
@@ -283,7 +282,6 @@
|
||||
};
|
||||
|
||||
led_green: green@1 {
|
||||
label = "green";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "none";
|
||||
@@ -291,7 +289,6 @@
|
||||
};
|
||||
|
||||
led_blue: blue@2 {
|
||||
label = "blue";
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
linux,default-trigger = "default-on";
|
||||
|
||||
Reference in New Issue
Block a user