lantiq: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / danube_arcadyan_arv4525pw.dts
index 182b0c0bb183bfeac1a06b865e5f73b03eabcdbd..e781be33910fd06b90ef068aa25ed8ed3e8d6856 100644 (file)
@@ -1,6 +1,7 @@
 #include "danube.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "arcadyan,arv4525pw", "lantiq,xway", "lantiq,danube";
@@ -63,7 +64,8 @@
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
                wifi: wifi {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
                online: online {