ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9563_tplink_cpe710-v1.dts
index 5439adaacb62b34ea9f611874bc98bbc181af8ab..3a0c16d4a34b301fa1ba466acf0fd1d1c7a7be6d 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "TP-Link CPE710 v1";
@@ -20,7 +21,8 @@
                compatible = "gpio-leds";
 
                led_lan: lan {
-                       label = "blue:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };