ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / ar9132_tplink_tl-wr941-v2.dts
index 41e53e1fc8d921069e029423cb61badd56a6ab45..e786ad2760eeb88baf6c3395c126fd33739d7d85 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "tplink,tl-wr941-v2", "qca,ar9132";
@@ -54,7 +55,8 @@
                };
 
                wlan {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };