ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-gl-a1300.dts
index a646ec3358f2b29c5b9d9de04728b2ddc55a9316..cdb00932175a659cc0752341ec971496e92df367 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>
 
 / {
                compatible = "gpio-leds";
 
                led_run: blue {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
 
                white {
-                       label = "white:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
        };