ipq40xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4018-meshpoint-one.dts
index 62ba76802de5ed9f78b34ed9e86884c4cf6cbc39..cab34b5a6cd0d624358dc9c7474ca4311b6c722b 100644 (file)
@@ -3,6 +3,8 @@
  * Author: Robert Marko <robert@meshpoint.me>
  */
 
+#include <dt-bindings/leds/common.h>
+
 #include "qcom-ipq4018-jalapeno.dtsi"
 
 / {
@@ -74,7 +76,8 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
                };
        };