Deprecated and replaced upstream with mac-base.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
ðernet {
status = "okay";
- nvmem-cells = <&macaddr_factory_8004>;
+ nvmem-cells = <&macaddr_factory_8004 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
port@0 {
phy-handle = <&phy0>;
};
macaddr_factory_8004: macaddr@8004 {
+ compatible = "mac-base";
reg = <0x8004 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ðernet {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address";
port@0 {
&wmac {
ralink,5ghz = <0>;
- nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 1>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <1>;
};
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ðernet {
status = "okay";
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address";
port@0 {
&wmac {
ralink,5ghz = <0>;
- nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>;
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 3>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <3>;
};