bcm63xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6318-comtrend-ar-5315u.dts
index 8557730c8cd3b53fe01e237d494ab4c31d8a4fa5..a3a7d1a3c56d6072e91c9f5bc6ba219df433e153 100644 (file)
@@ -1,6 +1,7 @@
 #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>;
        };
 };