ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/nbd.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4019-x1pro.dtsi
index 3de6a10433714bb34fa70c6a43d0b5fb8c0226eb..fe3650ca580771460ebdd3617a3cff43c349bb6f 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>
 
 / {
@@ -98,7 +99,8 @@
                        pinctrl-names = "default";
 
                        led_status: status {
-                               label = "green:status";
+                               function = LED_FUNCTION_STATUS;
+                               color = <LED_COLOR_ID_GREEN>;
                                gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
                        };
                };