ipq806x: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8062-wg2600hp3.dts
index 0c669dcbfe62c75bb0bf3c191fb7457986c0993b..76751910e01c4d4d00abd430ec2b4de7be0d6a15 100644 (file)
                pinctrl-names = "default";
 
                led_power_green: power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&qcom_pinmux 14 GPIO_ACTIVE_HIGH>;
                };
 
                led_power_red: power_red {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&qcom_pinmux 35 GPIO_ACTIVE_HIGH>;
                };