lantiq: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / amazonse_allnet_all0333cj.dts
index 67c6e87bcd1182d1f3e531e30fa1962db2503456..25a041e01d001700a4d606076bff399c83bf5878 100644 (file)
 
                /* power led: red=off, green=on */
                power: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                lan: lan {
-                       label = "green:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
 
                        };
                };
        };
+#include <dt-bindings/leds/common.h>
+
 };