ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3052_engenius_esr-9753.dts
index 2c3b759c041a1d216e0199a64882e755dd96bcd5..8f040bf893d12b459208ccff5b2a3e25fe131618 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "engenius,esr-9753", "ralink,rt3052-soc";
@@ -37,7 +38,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "orange:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "orange:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };