ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_mikrotik_routerboard-sxt-5nd-r2.dts
index a4485320345c1a9c77b9c3ce572c226a1e778319..0f86ad7903e6508764c00192afeb6708fc6fed0f 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "ar9344_mikrotik_routerboard.dtsi"
 
 / {
@@ -24,7 +26,8 @@
 
 &leds {
        power {
-               label = "green:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                default-state = "on";
        };