ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / rt5350_belkin_f7c027.dts
index b1a897a85950e156619181bdbe30cb8bc33543c1..30eb833dd7ae8c88ffb087247390f482cff08e9e 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 = "belkin,f7c027", "ralink,rt5350-soc";
                compatible = "gpio-leds";
 
                status {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                led_status_orange: orange {
-                       label = "orange:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
@@ -87,7 +91,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;