ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_tozed_zlt-s12-pro.dts
index 2d8717e3cdd082d132bf91e96ed592e9acc00d69..00f47bd9c038a1c2239199c2f08624a17e7c862d 100644 (file)
                };
 
                led_power_blue: led-power-blue {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
                led_power_yellow: led-power-yellow {
-                       label = "yellow:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_YELLOW>;
                        gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
                };