mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
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:
parent
f34620f146
commit
05aec66d53
@ -183,9 +183,7 @@
|
||||
};
|
||||
|
||||
macaddr_factory_28: macaddr@28 {
|
||||
compatible = "mac-base";
|
||||
reg = <0x28 0x6>;
|
||||
#nvmem-cell-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -50,7 +50,9 @@
|
||||
};
|
||||
|
||||
macaddr_factory_e006: macaddr@e006 {
|
||||
compatible = "mac-base";
|
||||
reg = <0xe006 0x6>;
|
||||
#nvmem-cell-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -56,7 +56,9 @@
|
||||
};
|
||||
|
||||
macaddr_factory_e006: macaddr@e006 {
|
||||
compatible = "mac-base";
|
||||
reg = <0xe006 0x6>;
|
||||
#nvmem-cell-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -13,7 +13,7 @@
|
||||
};
|
||||
|
||||
&gmac1 {
|
||||
nvmem-cells = <&macaddr_factory_e006>;
|
||||
nvmem-cells = <&macaddr_factory_e006 0>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
};
|
||||
|
||||
|
@ -100,10 +100,6 @@
|
||||
reg = <0x4 0x6>;
|
||||
#nvmem-cell-cells = <1>;
|
||||
};
|
||||
|
||||
macaddr_factory_8004: macaddr@8004 {
|
||||
reg = <0x8004 0x6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -93,10 +93,6 @@
|
||||
reg = <0x4 0x6>;
|
||||
#nvmem-cell-cells = <1>;
|
||||
};
|
||||
|
||||
macaddr_factory_8004: macaddr@8004 {
|
||||
reg = <0x8004 0x6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -73,10 +73,6 @@
|
||||
macaddr_factory_28: macaddr@28 {
|
||||
reg = <0x28 0x6>;
|
||||
};
|
||||
|
||||
macaddr_factory_8004: macaddr@8004 {
|
||||
reg = <0x8004 0x6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user