ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_d-team_pbr-m1.dts
index 29c212671cccb8bcd4bf859e0249e0ab7fca9b29..02987737cd8b4b66c3287dc193dd819fb1e30cc6 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "d-team,pbr-m1", "mediatek,mt7621-soc";
@@ -22,7 +23,8 @@
                compatible = "gpio-leds";
 
                power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };