ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/nbd.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-sxtsq-5-ac.dts
index de3fa96922e7c2871ead31474fe5d90ab4bcceb3..252f9ad71ae76090ee3953418ced43ff23ad02b9 100644 (file)
@@ -4,6 +4,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>
 
 / {
@@ -81,7 +82,8 @@
                compatible = "gpio-leds";
 
                power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                        panic-indicator;