|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
/dts-v1/;
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
+#include <dt-bindings/leds/common.h>
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
|
|
@@ -202,11 +203,18 @@
|
|
|
|
|
|
led_status_rgb: led@0 {
|
|
|
reg = <0>;
|
|
|
+ function = LED_FUNCTION_STATUS;
|
|
|
+ color = <LED_COLOR_ID_RGB>;
|
|
|
color-index = <LED_COLOR_ID_RED LED_COLOR_ID_GREEN LED_COLOR_ID_BLUE>;
|
|
|
};
|
|
|
|
|
|
led_network_rgb: led@1 {
|
|
|
reg = <1>;
|
|
|
+
|
|
|
+ /* Hardcoding here for backward compatibility */
|
|
|
+ function = "network";
|
|
|
+
|
|
|
+ color = <LED_COLOR_ID_RGB>;
|
|
|
color-index = <LED_COLOR_ID_RED LED_COLOR_ID_GREEN LED_COLOR_ID_BLUE>;
|
|
|
};
|
|
|
};
|