diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-11 17:52:02 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-12 01:24:02 +0200 |
commit | 77825f3cfe6f1f1088416ddddfd068af085e9888 (patch) | |
tree | 4af1ca957eafd0156b096204b2ccc0773007aa04 /target | |
parent | 07aa858a73e6e855fc62a37ae275518fa4db5e50 (diff) | |
download | upstream-77825f3cfe6f1f1088416ddddfd068af085e9888.tar.gz upstream-77825f3cfe6f1f1088416ddddfd068af085e9888.tar.bz2 upstream-77825f3cfe6f1f1088416ddddfd068af085e9888.zip |
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: 5ef79af4f80f ("ramips: add support for Ravpower WD03")
Suggested-by: Russell Morris <rmorris@rkmorris.us>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts b/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts index 407697a5e3..82b8a6b83f 100644 --- a/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts +++ b/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts @@ -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 { |