ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_ruckus_zf7372.dts
index dbccbef023b7f00964e48b16d9241a988fa5c856..b60dc61c74a791e6f140d7ab5c3f8c7581e0c236 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "ar934x_ruckus_zf73xx.dtsi"
 
 / {
@@ -28,7 +30,8 @@
                };
 
                power_red: power-red {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };