ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9533_tplink_cpe210.dtsi
index 3295776bf93e48efbc906d68f4a2f06bea687844..e976566f4fcad32f68ca4a7568a86afd48ff97f5 100644 (file)
@@ -1,10 +1,13 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca9533_tplink_cpexxx.dtsi"
 
 &leds {
        lan {
-               label = "green:lan";
+               function = LED_FUNCTION_LAN;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
        };
 };