ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_zyxel_lte5398-m904.dts
index 307819e746e9038d6218c64cf72c54e5cac718cf..ca8adfe10efedfb4e92ec7d083b71576394aff3d 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "zyxel,lte5398-m904", "mediatek,mt7621-soc";
                compatible = "gpio-leds";
 
                led_power_green: power_green {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                };
 
                power_blue {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "usbport";
                        trigger-sources = <&ehci_port2>;
                        reg = <0x80000 0x80000>;
                };
 
-               factory: partition@100000 {
+               partition@100000 {
                        label = "Factory";
                        reg = <0x100000 0x40000>;
                        read-only;