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