mpc85xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / mpc85xx / files / arch / powerpc / boot / dts / ws-ap3715i.dts
index 764c8a31c8ae189405880abf71343af6b1c4b5a1..5d214e38a4e9681dfbe8a2f379b8b29c0cd22c37 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 /include/ "fsl/p1010si-pre.dtsi"
 
 
                led_power_green: power_green {
                        gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                };
 
                led_power_red: power_red {
                        gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                };
 
                lan1_red {