ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_cudy_wr2100.dts
index fc38e27ac1857beed8cd80fc3f72b19ddb0ee3bb..5b21cff130567f1f7eb10518bc03104603055f61 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 = "cudy,wr2100", "mediatek,mt7621-soc";
@@ -51,7 +52,8 @@
                };
 
                wan {
-                       label = "green:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
@@ -97,7 +99,7 @@
 };
 
 &pcie1 {
-       wifi@1,0 {
+       wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                nvmem-cells = <&eeprom_factory_8000>;
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;
                                read-only;
                        };
 
-                       bdinfo: partition@ff0000 {
+                       partition@ff0000 {
                                label = "bdinfo";
                                reg = <0xff0000 0x10000>;
                                read-only;