-/dts-v1/;
-
#include "bcm6328.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "Comtrend AR-5381u";
led_alarm_red: led@2 {
reg = <2>;
active-low;
- label = "red:alarm";
+ function = LED_FUNCTION_ALARM;
+ color = <LED_COLOR_ID_RED>;
};
led@3 {
led_power_green: led@4 {
reg = <4>;
active-low;
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
default-state = "on";
};
};