ipq40xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4019-pa2200.dts
index 49d399ed1f45d346f8740391211b8aaa309265ce..ed333c499004f2dfa7988cf3e956971210867638 100644 (file)
@@ -6,6 +6,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>
 
 / {
@@ -66,7 +67,8 @@
                compatible = "gpio-leds";
 
                led_power_orange: power_orange {
-                       label = "orange:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
                };
 
@@ -89,7 +91,8 @@
                };
 
                led_status_blue: status_blue {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
                };
        };