};
&wmac {
- mtd-mac-address = <&factory 0x1f100>;
+ nvmem-cells = <&macaddr_factory_1f100>;
+ nvmem-cell-names = "mac-address";
};
ðernet {
- mtd-mac-address = <&factory 0x1f100>;
+ nvmem-cells = <&macaddr_factory_1f100>;
+ nvmem-cell-names = "mac-address";
+};
+
+&factory {
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_1f100: macaddr@1f100 {
+ reg = <0x1f100 0x6>;
+ };
+ };
};