ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3050_sparklan_wcr-150gn.dts
index a241e91bafbbde98212350f9ad8bf31f40327dab..8f153fbc2478fa0aba89d27b85369c4a1d5325a7 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 = "sparklan,wcr-150gn", "ralink,rt3050-soc";
@@ -76,7 +77,8 @@
                };
 
                led_power: power {
-                       label = "amber:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
        };