compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
- mtd-mac-address = <&hw_info 0x0>;
+ nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <2>;
};
};
&wmac {
status = "okay";
- mtd-mac-address = <&hw_info 0x0>;
+ nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
};
pll-data = <0x06000000 0x00000101 0x00001313>;
- mtd-mac-address = <&hw_info 0x0>;
+ nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cell-names = "mac-address";
phy-mode = "rgmii-id";
phy-handle = <&phy0>;
rxdv-delay = <1>;
};
};
+
+&hw_info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_hw_info_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};