#include "bcm6318.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "Comtrend AR-5315u";
led@0 {
reg = <0>;
active-low;
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
};
led_power_green: led@1 {
reg = <1>;
active-low;
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
default-state = "on";
};
led@2 {
reg = <2>;
active-low;
- label = "green:usb";
+ function = LED_FUNCTION_USB;
+ color = <LED_COLOR_ID_GREEN>;
};
led@4 {
led@11 {
reg = <11>;
active-low;
- label = "red:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_RED>;
};
};