ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_dual-q_h721.dts
index 2c35a8839cb6372343eb22cab14a16a1884482a4..039072cf503744b84480c05eceb9f3e5321cc3bc 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "dual-q,h721", "mediatek,mt7621-soc";
@@ -86,7 +87,8 @@
                };
 
                led_status: status {
-                       label = "green:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
        };