ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-ecw5211.dts
index c5804b4896ef80867fc8819d80c8bab0189ae196..e74d110b3df38e0a41f30cf3689163b36cf5d112 100644 (file)
@@ -3,6 +3,7 @@
 #include "qcom-ipq4019.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/soc/qcom,tcsr.h>
 
 / {
@@ -36,7 +37,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "yellow:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_YELLOW>;
                        gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
                };