ath79: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ath79 / dts / ar9344_tplink_cpe610-v2.dts
index fa533d9f504a9c89c63d5feb4ba64e4bbb249cf0..7228ca9f49c860775f4d86d70fb7c3f5defcd149 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "ar9344_tplink_cpe.dtsi"
 
 / {
@@ -16,7 +18,8 @@
                compatible = "gpio-leds";
 
                led_lan: lan {
-                       label = "green:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };