ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_unielec_u7621-06.dtsi
index 9e91a0a2993d9b8179921da172811979a0122820..42f6cea2d3c0e2d2414f88c87ab61b4462d27c91 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "unielec,u7621-06", "mediatek,mt7621-soc";
@@ -49,7 +50,8 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "green:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };