mvebu: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / mvebu / files / arch / arm64 / boot / dts / marvell / cn9131-puzzle-m901.dts
index 5bc3a846e0d5f836666262c0a18406437287f6e4..a33f8394ca649c8d1ab587aae9640990447e2063 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "iEi Puzzle-M901";
@@ -96,7 +97,8 @@
 
                        led_power: led@3 {
                                reg = <3>;
-                               label = "yellow:power";
+                               function = LED_FUNCTION_POWER;
+                               color = <LED_COLOR_ID_YELLOW>;
                                active-low;
                                default-state = "on";
                        };