bcm63xx: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6328-adb-pdg-a4001n-a-000-1a1-ax.dts
index f42b970c4670e179ceb7388fdc8d2ad041184cfa..b2f3ddfc401ddfbbe0e3d3c0981288f1dc17f86c 100644 (file)
@@ -3,6 +3,7 @@
 #include "bcm6328.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "ADB P.DG A4001N A-000-1A1-AX";
@@ -81,7 +82,8 @@
        led@8 {
                reg = <8>;
                active-low;
-               label = "red:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_RED>;
        };
 
        led@9 {
        led_power_green: led@12 {
                reg = <12>;
                active-low;
-               label = "green:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_GREEN>;
                default-state = "on";
        };
 };