ath79: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ath79 / dts / ar7161_trendnet_tew-673gru.dts
index 7508be1df1d9ec501cf56d4a241d9af4ae8ed34e..d10c75c0d6708e36348799fe885557c275afb0f1 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 = "trendnet,tew-673gru", "qca,ar7161";
@@ -20,7 +21,8 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "blue:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
                };
        };