ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9331_8dev_carambola2.dts
index f786f425f05abf1a7374bacb8df0743b40ded65d..73699d9bfabf16211b76ecd89f6448c2ffee98f9 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "8devices Carambola2";
@@ -17,7 +18,8 @@
                compatible = "gpio-leds";
 
                wlan {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };