bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / bcm63xx / dts / bcm6362-sagem-fast-2504n.dts
index e5ae573c973856a477f4b02ba7ac5a7fc3cebc90..105e56a59692a01b0b73f7feccc8d1db3a9bad91 100644 (file)
@@ -1,6 +1,7 @@
 #include "bcm6362.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Sagem F@st 2504N";
                compatible = "gpio-leds";
 
                power_orange {
-                       label = "orange:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&pinctrl 2 1>;
                };
                power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&pinctrl 10 1>;
                        default-state = "on";
                };
@@ -64,7 +67,8 @@
                        gpios = <&pinctrl 29 1>;
                };
                wlan_orangee {
-                       label = "orange:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&pinctrl 30 1>;
                };
        };