bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / bcm63xx / dts / bcm6358-pirelli-agpf-s0.dts
index 12e9a0eba389d3821072a58ae5882dcba30416fc..55cea95b84bce0460b041abad6af2da2392132d4 100644 (file)
@@ -1,6 +1,7 @@
 #include "bcm6358.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Pirelli Alice Gate AGPF-S0";
                compatible = "gpio-leds";
 
                power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&pinctrl 4 1>;
                        default-state = "on";
                };
                power_red {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&pinctrl 5 1>;
                };
                service_green {