ath79: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ath79 / dts / qca9533_dlink_dap-3320-a1.dts
index 5758b0d2a31cfd6d83359915adb0d6350b10eed7..20002aaba85988492d30cdec30ba76037389c803 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca953x_dlink_dap-2xxx.dtsi"
 
 / {
@@ -27,7 +29,8 @@
                compatible = "gpio-leds";
 
                led_power_green: power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };