pinctrl-0 = <&rgmii2_pins>;
pinctrl-names = "default";
- mtd-mac-address = <&defaultmac 0>;
+ nvmem-cells = <&macaddr_defaultmac_0>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
fixed-link {
phy-mode = "sgmii";
qcom,id = <2>;
- mtd-mac-address = <&defaultmac 0>;
+ nvmem-cells = <&macaddr_defaultmac_0>;
+ nvmem-cell-names = "mac-address";
fixed-link {
speed = <1000>;
&adm_dma {
status = "okay";
};
+
+&defaultmac {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_defaultmac_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};