ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_tplink_re2x0-v1.dtsi
index c9d0ab87ee105b79036644072790a74563be5c19..5f06dd420880eaa551264b2f50755ed88d7400a2 100644 (file)
@@ -44,7 +44,7 @@
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       uboot: partition@0 {
+                       partition@0 {
                                label = "u-boot";
                                reg = <0x0 0x20000>;
                                read-only;
@@ -55,7 +55,9 @@
                                        #size-cells = <1>;
 
                                        macaddr_uboot_1fc00: macaddr@1fc00 {
+                                               compatible = "mac-base";
                                                reg = <0x1fc00 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };
@@ -72,7 +74,7 @@
                                read-only;
                        };
 
-                       radio: partition@7f0000 {
+                       partition@7f0000 {
                                label = "radio";
                                reg = <0x7f0000 0x10000>;
                                read-only;
 };
 
 &ethernet {
-       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00 0>;
        nvmem-cell-names = "mac-address";
 };
 
 &wmac {
-       nvmem-cells = <&eeprom_radio_0>, <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&eeprom_radio_0>, <&macaddr_uboot_1fc00 0>;
        nvmem-cell-names = "eeprom", "mac-address";
 };
 
        mt76@0,0 {
                reg = <0x0000 0 0 0 0>;
                ieee80211-freq-limit = <5000000 6000000>;
-               nvmem-cells = <&eeprom_radio_8000>, <&macaddr_uboot_1fc00>;
+               nvmem-cells = <&eeprom_radio_8000>, <&macaddr_uboot_1fc00 2>;
                nvmem-cell-names = "eeprom", "mac-address";
-               mac-address-increment = <2>;
        };
 };