ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_gnubee_gb-pc2.dts
index 9a2cffeb97cfaeeebef1bc9ee8c85b3f90038a8f..26e6aa05a0cc6c0ac346e97b7d296c15e972788b 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 = "gnubee,gb-pc2", "mediatek,mt7621-soc";
@@ -48,7 +49,8 @@
                };
 
                power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };