ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_alfa-network_awusfree1.dts
index 641844ccc0d8643dcd4881394075794e24e026e5..d4f8b26aea88e33a0270679af733911d9b1bd0ba 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "alfa-network,awusfree1", "mediatek,mt7628an-soc";
@@ -43,7 +44,8 @@
                };
 
                wlan {
-                       label = "blue:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };