ath79: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ath79 / dts / qca9558_zyxel_nbg6716.dts
index 27341a88e67b12b0c92596b54cec51e33c441fb8..76ae8a99a691b5a21fc589f9d2ae2d30788df674 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca955x_zyxel_nbg6x16.dtsi"
 
 / {
@@ -17,7 +19,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "white:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
@@ -53,7 +56,8 @@
                };
 
                wps {
-                       label = "white:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
                };
        };