ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt5350_hame_mpr-a2.dts
index 5a06ef46fb35a0c608496a1c2aea31692c08ea76..557443a4c0764a243b5003ca8c722192f5a90146 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 = "hame,mpr-a2", "ralink,rt5350-soc";
@@ -23,7 +24,8 @@
                };
 
                power {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
        };
@@ -82,7 +84,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;