ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9563_elecom_wrc-300ghbk2-i.dts
index 51800820542359812292659ffe7480b8a5187c84..8b64d8d2ff37ff0801bf2111d6b3b552c38530bf 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 = "white:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_WHITE>;
                gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                default-state = "on";
        };