diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-02-07 14:48:43 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-02-07 14:48:43 +0100 |
commit | 19c45b95dbb53a7ba1a26c201277ca86293bf404 (patch) | |
tree | ec1483fd54dcee17a80368c5fa035053124d7b36 /target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts | |
parent | 7630c052c46925015403564068abdc4b8ca89388 (diff) |
ramips: convert to new LED color/function format where possible
Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts b/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts index a452a44202..9fb325bc09 100644 --- a/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts +++ b/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts @@ -2,6 +2,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { compatible = "asus,rt-n10-plus", "ralink,rt3050-soc"; @@ -69,7 +70,8 @@ compatible = "gpio-leds"; led_wps: wps { - label = "green:wps"; + function = LED_FUNCTION_WPS; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; }; |