ramips: fix MAC address assignment for RAVPower RP-WD03
MAC assignment based on vendor firmware:
2.4 GHz *:b4 (factory 0x04)
LAN/label *:b4 (factory 0x28)
WAN *:b5 (factory 0x2e)
The previously used location 0x4000 for ethernet is actually empty.
Therefore, fix the ethernet MAC address and set it as label-mac-address.
Fixes: 5ef79af4f8
("ramips: add support for Ravpower WD03")
Suggested-by: Russell Morris <rmorris@rkmorris.us>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
07aa858a73
commit
77825f3cfe
1 changed files with 5 additions and 1 deletions
|
@ -9,6 +9,10 @@
|
|||
compatible = "ravpower,rp-wd03", "ralink,mt7620n-soc";
|
||||
model = "RAVPower RP-WD03";
|
||||
|
||||
aliases {
|
||||
label-mac-device = ðernet;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
@ -138,7 +142,7 @@
|
|||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
|
Loading…
Reference in a new issue