#include "bcm6328.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "D-Link DSL-2750U rev C1";
led_power_green: led@4 {
reg = <4>;
active-low;
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
default-state = "on";
};
led@8 {
reg = <8>;
active-low;
- label = "red:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_RED>;
};
led@9 {
reg = <9>;
active-low;
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
};
led@10 {
reg = <10>;
active-low;
- label = "green:usb";
+ function = LED_FUNCTION_USB;
+ color = <LED_COLOR_ID_GREEN>;
};
led@11 {