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:
parent
0a4cc0a9ba
commit
502ac21e8f
6 changed files with 0 additions and 13 deletions
|
@ -29,7 +29,6 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_status: led-0 {
|
led_status: led-0 {
|
||||||
label = "blue:power";
|
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -93,7 +93,6 @@
|
||||||
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 = <&ssr 6 GPIO_ACTIVE_LOW>;
|
gpios = <&ssr 6 GPIO_ACTIVE_LOW>;
|
||||||
|
@ -101,7 +100,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
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 = <&ssr 5 GPIO_ACTIVE_LOW>;
|
gpios = <&ssr 5 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -36,14 +36,12 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
led_power: power {
|
led_power: power {
|
||||||
label = "blue:power";
|
|
||||||
gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan2g {
|
wlan2g {
|
||||||
label = "blue:wlan2g";
|
|
||||||
gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_WLAN;
|
function = LED_FUNCTION_WLAN;
|
||||||
|
@ -51,7 +49,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan5g {
|
wlan5g {
|
||||||
label = "blue:wlan5g";
|
|
||||||
gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_WLAN;
|
function = LED_FUNCTION_WLAN;
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_status: led-0 {
|
led_status: led-0 {
|
||||||
label = "blue:power";
|
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -74,14 +74,12 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_sys: led-0 {
|
led_sys: led-0 {
|
||||||
label = "blue:sys";
|
|
||||||
gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
|
gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
};
|
};
|
||||||
|
|
||||||
led-1 {
|
led-1 {
|
||||||
label = "blue:wlan2g";
|
|
||||||
gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
|
gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
|
||||||
linux,default-trigger = "phy0tpt";
|
linux,default-trigger = "phy0tpt";
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
@ -90,7 +88,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led-2 {
|
led-2 {
|
||||||
label = "blue:wlan5g";
|
|
||||||
gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>;
|
gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>;
|
||||||
linux,default-trigger = "phy1tpt";
|
linux,default-trigger = "phy1tpt";
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
|
|
@ -275,7 +275,6 @@
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
led_red: red@0 {
|
led_red: red@0 {
|
||||||
label = "red";
|
|
||||||
color = <LED_COLOR_ID_RED>;
|
color = <LED_COLOR_ID_RED>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
linux,default-trigger = "none";
|
linux,default-trigger = "none";
|
||||||
|
@ -283,7 +282,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led_green: green@1 {
|
led_green: green@1 {
|
||||||
label = "green";
|
|
||||||
color = <LED_COLOR_ID_GREEN>;
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
linux,default-trigger = "none";
|
linux,default-trigger = "none";
|
||||||
|
@ -291,7 +289,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led_blue: blue@2 {
|
led_blue: blue@2 {
|
||||||
label = "blue";
|
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
function = LED_FUNCTION_INDICATOR;
|
function = LED_FUNCTION_INDICATOR;
|
||||||
linux,default-trigger = "default-on";
|
linux,default-trigger = "default-on";
|
||||||
|
|
Loading…
Reference in a new issue