phy-handle = <&swphy4>;
- mtd-mac-address = <&uboot 0x2e010>;
+ nvmem-cells = <&macaddr_uboot_2e010>;
+ nvmem-cell-names = "mac-address";
};
ð1 {
- mtd-mac-address = <&uboot 0x2e018>;
+ nvmem-cells = <&macaddr_uboot_2e018>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
&usb0 {
status = "okay";
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_2e010: macaddr@2e010 {
+ reg = <0x2e010 0x6>;
+ };
+
+ macaddr_uboot_2e018: macaddr@2e018 {
+ reg = <0x2e018 0x6>;
+ };
+};