Use mac-base for mac-base TP-Link TL-MR6400 v4 and v5
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
&wmac {
status = "okay";
- nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100>;
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100 0>;
nvmem-cell-names = "eeprom", "mac-address";
};
ðernet {
- nvmem-cells = <&macaddr_factory_1f100>;
+ nvmem-cells = <&macaddr_factory_1f100 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_factory_1f100: macaddr@1f100 {
+ compatible = "mac-base";
reg = <0x1f100 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wmac {
status = "okay";
- nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100>;
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100 0>;
nvmem-cell-names = "eeprom", "mac-address";
};
ðernet {
- nvmem-cells = <&macaddr_factory_1f100>;
+ nvmem-cells = <&macaddr_factory_1f100 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_factory_1f100: macaddr@1f100 {
+ compatible = "mac-base";
reg = <0x1f100 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};