ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9563_elecom_wrc-1750ghbk2-i.dts
index a69b9d54e8b8434d00e073329ac6e580a482ba96..e7cdcad9c3a3384d217bca973dcf45f7dc53f4cc 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca9563_elecom_wrc-ghbk2-i.dtsi"
 
 / {
@@ -9,7 +11,8 @@
 
 &leds {
        led_power: power {
-               label = "blue:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_BLUE>;
                gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                default-state = "on";
        };