ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_comfast_cf-wr752ac-v1.dts
index 6fcda9fbe3579a076db2010fcecfd8de039935ba..d13e4966ae45862f3bc2c9b4ef0d940119156394 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-wr752ac-v1", "qca,qca9531";
@@ -23,7 +24,8 @@
                pinctrl-0 = <&jtag_disable_pins &pinmux_led_rssihigh &pinmux_led_rssilow>;
 
                led_lan: lan {
-                       label = "blue:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };