ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt5350_belkin_f7c027.dts
index b1a897a85950e156619181bdbe30cb8bc33543c1..013dba456beff272c59533037aea806321c2c82f 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 = "belkin,f7c027", "ralink,rt5350-soc";
                compatible = "gpio-leds";
 
                status {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                led_status_orange: orange {
-                       label = "orange:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };