bcm63xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6358-d-link-dsl-274xb-c2.dts
index ff007ebe4c773230adc35e9a6eca0c6eb7ab3bf3..917fd6dc1dc566f367a76eed170845d13c960ebe 100644 (file)
@@ -1,6 +1,7 @@
 #include "bcm6358.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "D-Link DSL-2740B/DSL-2741B rev C2/3";
                        gpios = <&pinctrl 2 0>;
                };
                power_red {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&pinctrl 4 1>;
                };
                led_power_green: power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&pinctrl 5 1>;
                        default-state = "on";
                };