ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_unielec_u7621-01.dtsi
index 813ddc7327a06aae3204865cee73db1e4c40f240..b78faf975eca165c3614e9b16217fcc246e05418 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 = "unielec,u7621-01", "mediatek,mt7621-soc";
@@ -40,7 +41,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>;
                };
        };