ipq40xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-pa1200.dts
index 30511e3886052f87de0b1fb753793160538d4bef..f23b58a3f44d9d12e277c068718db4ac20e52f65 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>
 
 / {
                compatible = "gpio-leds";
 
                led_status_cyan: status_cyan {
-                       label = "cyan:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_CYAN>;
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                };
 
                led_status_purple: status_purple {
-                       label = "purple:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_PURPLE>;
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
 
                led_status_yellow: status_yellow {
-                       label = "yellow:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_YELLOW>;
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
        };