ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_tplink_eap615-wall-v1.dts
index 594a9e7bb1b8c3b7e4f315d57c68d2598980e496..2aea6bbbc0076063c755b501841682a03f9faf57 100644 (file)
@@ -26,7 +26,6 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "white:status";
                        color = <LED_COLOR_ID_WHITE>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                                read-only;
                        };
 
-                       info: partition@90000 {
+                       partition@90000 {
                                label = "product-info";
                                reg = <0x90000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_info_8: macaddr@8 {
+                                               reg = <0x8 0x6>;
+                                       };
+                               };
                        };
 
                        partition@a0000 {
                                read-only;
                        };
 
-                       radio: partition@ff0000 {
+                       partition@ff0000 {
                                label = "radio";
                                reg = <0xff0000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_radio_0: eeprom@0 {
+                                               reg = <0x0 0xe00>;
+                                       };
+                               };
                        };
                };
        };
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&radio 0x0>;
+               nvmem-cells = <&eeprom_radio_0>;
+               nvmem-cell-names = "eeprom";
                mediatek,disable-radar-background;
        };
 };
 
-&pcie2 {
-       status = "disabled";
-};
-
 &gmac0 {
        nvmem-cells = <&macaddr_info_8>;
        nvmem-cell-names = "mac-address";
 };
 
 &switch0 {
-       compatible = "mediatek,mt7530";
        ports {
                port@1 {
                        status = "okay";
                };
        };
 };
-
-&info {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_info_8: macaddr@8 {
-               reg = <0x8 0x6>;
-       };
-};