mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
kirkwood: 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
33e7962329
commit
959db199c9
@ -112,21 +112,18 @@
|
|||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_status_white: led-0 {
|
led_status_white: led-0 {
|
||||||
label = "status:white";
|
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
color = <LED_COLOR_ID_WHITE>;
|
color = <LED_COLOR_ID_WHITE>;
|
||||||
gpios = <&gpio_spi 4 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio_spi 4 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_status_red: led-1 {
|
led_status_red: led-1 {
|
||||||
label = "status:red";
|
|
||||||
function = LED_FUNCTION_STATUS;
|
function = LED_FUNCTION_STATUS;
|
||||||
color = <LED_COLOR_ID_RED>;
|
color = <LED_COLOR_ID_RED>;
|
||||||
gpios = <&gpio_spi 5 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio_spi 5 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_power_white: led-2 {
|
led_power_white: led-2 {
|
||||||
label = "power:white";
|
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
color = <LED_COLOR_ID_WHITE>;
|
color = <LED_COLOR_ID_WHITE>;
|
||||||
gpios = <&gpio_spi 7 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio_spi 7 GPIO_ACTIVE_HIGH>;
|
||||||
|
Loading…
Reference in New Issue
Block a user