ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_asus_rp-ac66.dts
index 71c95ad3322113e76d5bf5c3eb4dd09b91d6b263..763ba431ef39aea698ac6c4f1b5910ce6e2fe8bd 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
                };
 
                led_orange: wps {
-                       label = "orange:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                };