ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_8m-split-uboot.dtsi
index fee3935fdfa823b00de6e6fb1621c2a79fc78b06..8709cbc02dd3b1b4dd42da9b2906d0a389de7ed9 100644 (file)
@@ -52,7 +52,7 @@
                                read-only;
                        };
 
-                       rom: partition@7d0000 {
+                       partition@7d0000 {
                                label = "rom";
                                reg = <0x7d0000 0x10000>;
                                read-only;
@@ -63,7 +63,9 @@
                                        #size-cells = <1>;
 
                                        macaddr_rom_f100: macaddr@f100 {
+                                               compatible = "mac-base";
                                                reg = <0xf100 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };
@@ -73,7 +75,7 @@
                                reg = <0x7e0000 0x10000>;
                        };
 
-                       radio: partition@7f0000 {
+                       partition@7f0000 {
                                label = "radio";
                                reg = <0x7f0000 0x10000>;
                                read-only;
 &wmac {
        status = "okay";
 
-       nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100>;
+       nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100 0>;
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &ethernet {
-       nvmem-cells = <&macaddr_rom_f100>;
+       nvmem-cells = <&macaddr_rom_f100 0>;
        nvmem-cell-names = "mac-address";
 };