ipq40xx: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4019-mf18a.dts
index 1b1a697f13b029a08c161afb20317e85e3a0dd8f..d965f2724d3f7e22bf97905dc7bd6db49305c465 100644 (file)
                };
 
                led_power: led-1 {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                };
 
                led-2 {
                        function = LED_FUNCTION_WLAN;
-                       label = "blue:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                led-3 {
-                       label = "red:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>;
                };