};
ðernet {
- mtd-mac-address = <&uboot 0x40004>;
+ nvmem-cells = <&macaddr_uboot_40004>;
+ nvmem-cell-names = "mac-address";
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
};
&otg {
status = "okay";
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_40004: macaddr@40004 {
+ reg = <0x40004 0x6>;
+ };
+};