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/mt7628an_wrtnode_wrtnode2r.dts | |
| parent | 7630c052c46925015403564068abdc4b8ca89388 (diff) | |
| download | upstream-19c45b95dbb53a7ba1a26c201277ca86293bf404.tar.gz upstream-19c45b95dbb53a7ba1a26c201277ca86293bf404.tar.bz2 upstream-19c45b95dbb53a7ba1a26c201277ca86293bf404.zip | |
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/mt7628an_wrtnode_wrtnode2r.dts')
| -rw-r--r-- | target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts index 511354ae5e9..37c2d1e9a4a 100644 --- a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts +++ b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts @@ -18,7 +18,8 @@ pinctrl-0 = <&led_pins>; led_indicator: indicator { - label = "blue:indicator"; + function = LED_FUNCTION_INDICATOR; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpio 44 GPIO_ACTIVE_LOW>; }; }; @@ -48,4 +49,6 @@ reg = <1>; spi-max-frequency = <10000000>; }; +#include <dt-bindings/leds/common.h> + }; |
