bcm63xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6328-d-link-dsl-2750u-c1.dts
index 09152150392a9da5a05e11f15b39cc1eac6abd47..cdbb5c2c5b2a3afda61957c3c7c43355c8b5ce0c 100644 (file)
@@ -3,6 +3,7 @@
 #include "bcm6328.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "D-Link DSL-2750U rev C1";
@@ -97,7 +98,8 @@
        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 {