ath79: 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>
This commit is contained in:
Christian Marangi
2024-02-07 14:48:34 +01:00
parent e92632f760
commit e3ddfcc70c
287 changed files with 1663 additions and 640 deletions

View File

@@ -4,6 +4,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ {
compatible = "librerouter,librerouter-v1", "qca,qca9558";
@@ -32,7 +33,8 @@
};
status_blue {
label = "blue:status";
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
};