ramips: fix MAC address for some devices

1. Remove unused macaddr NVMEM cells.
2. Fix "mac-base" compatible cells references.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
Shiji Yang 2024-06-15 01:20:50 +00:00 committed by Hauke Mehrtens
parent f34620f146
commit 05aec66d53
7 changed files with 5 additions and 15 deletions

View File

@ -183,9 +183,7 @@
};
macaddr_factory_28: macaddr@28 {
compatible = "mac-base";
reg = <0x28 0x6>;
#nvmem-cell-cells = <1>;
};
};
};

View File

@ -50,7 +50,9 @@
};
macaddr_factory_e006: macaddr@e006 {
compatible = "mac-base";
reg = <0xe006 0x6>;
#nvmem-cell-cells = <1>;
};
};
};

View File

@ -56,7 +56,9 @@
};
macaddr_factory_e006: macaddr@e006 {
compatible = "mac-base";
reg = <0xe006 0x6>;
#nvmem-cell-cells = <1>;
};
};
};

View File

@ -13,7 +13,7 @@
};
&gmac1 {
nvmem-cells = <&macaddr_factory_e006>;
nvmem-cells = <&macaddr_factory_e006 0>;
nvmem-cell-names = "mac-address";
};

View File

@ -100,10 +100,6 @@
reg = <0x4 0x6>;
#nvmem-cell-cells = <1>;
};
macaddr_factory_8004: macaddr@8004 {
reg = <0x8004 0x6>;
};
};
};

View File

@ -93,10 +93,6 @@
reg = <0x4 0x6>;
#nvmem-cell-cells = <1>;
};
macaddr_factory_8004: macaddr@8004 {
reg = <0x8004 0x6>;
};
};
};

View File

@ -73,10 +73,6 @@
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
macaddr_factory_8004: macaddr@8004 {
reg = <0x8004 0x6>;
};
};
};