ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9558_comfast_cf-e380ac-v2.dts
index 281559ac128dd777f93e8f50146742229c60aba7..febbccb4cb4ba0e132e1b4ee9edcea49bfd0694d 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 = "comfast,cf-e380ac-v2", "qca,qca9558";
@@ -35,7 +36,8 @@
                pinctrl-0 = <&jtag_disable_pins>;
 
                led_lan: lan {
-                       label = "green:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };