lantiq: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / danube_bt_homehub-v2b.dts
index 85536b0082a579ee7eee601a0e3fc63752ec6782..4a422c6f4af6a72d227595219ad609ea0d43bb47 100644 (file)
@@ -1,6 +1,7 @@
 #include "danube.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "bt,homehub-v2b", "lantiq,xway", "lantiq,danube";
                };
 
                power_red: power-red {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
                };
                power_orange: power-orange {
-                       label = "orange:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                };
                power_blue: power-blue {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
                };
        };