ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_netgear_wax202.dts
index c0c3500af25ad98a9ec76113952f44a02879f993..bf580de6b88f9ea4e07752e2819d71e66f693e7f 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 = "netgear,wax202", "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 0 GPIO_ACTIVE_LOW>;
                };
 
                led_power_orange: power_orange {
-                       label = "orange:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
                };
 
                        read-only;
                };
 
-               factory: partition@100000 {
+               partition@100000 {
                        label = "Factory";
                        reg = <0x100000 0x80000>;
                        read-only;