ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_elecom_wrc-ghbk2-i.dtsi
index a6706da1a50007e3028d6f713379eb7d34b9fb05..f63edb09cf9ba1a85621b710e227c58bcd3fd9be 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
@@ -17,7 +18,8 @@
                compatible = "gpio-leds";
 
                wps {
-                       label = "red:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
        };