ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9563_zte_mf286.dts
index e64680e11215411c2cf24f1ee9d8e54909bbc36b..4b92239666123cd6fde63510fb2a781338c94890 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 // Copyright (c) 2021 Cezary Jackiewicz
+
+#include <dt-bindings/leds/common.h>
 // Copyright (c) 2021, 2022 Lech Perczak
 #include "qca9563_zte_mf286.dtsi"
 
@@ -30,7 +32,8 @@
         * and slightly through the case below signal state LEDs
         */
        color = <LED_COLOR_ID_GREEN>;
-       label = "green:debug";
+       function = LED_FUNCTION_DEBUG;
+       color = <LED_COLOR_ID_GREEN>;
 };
 
 &boot_flash {