label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_1002: macaddr@1002 {
+ compatible = "mac-base";
+ reg = <0x1002 0x6>;
+ #nvmem-cell-cells = <1>;
+ };
+ };
};
};
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cells = <&macaddr_art_1002 0x400000>;
nvmem-cell-names = "mac-address";
- mac-address-increment-byte = <3>;
- mac-address-increment = <0x40>;
};
&mdio1 {
mtd-cal-data = <&art 0x1000>;
};
-
-&art {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_art_1002: macaddr@1002 {
- reg = <0x1002 0x6>;
- };
-};
reg = <0xff0000 0x010000>;
read-only;
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- calibration_art_1000: calibration_data@1000 {
- reg = <0x1000 0x440>;
- };
-
- macaddr_art_1002: macaddr@1002 {
- reg = <0x1002 0x6>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ calibration_art_1000: calibration_data@1000 {
+ reg = <0x1000 0x440>;
+ };
+
+ macaddr_art_1002: macaddr@1002 {
+ compatible = "mac-base";
+ reg = <0x1002 0x6>;
+ #nvmem-cell-cells = <1>;
+ };
};
};
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cells = <&macaddr_art_1002 0x400000>;
nvmem-cell-names = "mac-address";
- mac-address-increment-byte = <3>;
- mac-address-increment = <0x40>;
gmac-config {
device = <&gmac>;
&wmac {
status = "okay";
- nvmem-cells = <&macaddr_art_1002>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_1002 0>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
};