diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2020-10-30 14:16:08 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2020-11-18 23:49:34 +0100 |
commit | 6d65e3af9b3122e1893d55d1406af286048a1530 (patch) | |
tree | d7273378d990e7e9ab76df985942dce306945fb4 /target/linux/ath79 | |
parent | 1bce45fc0f1b75c93847ac56e63a286af23534af (diff) | |
download | upstream-6d65e3af9b3122e1893d55d1406af286048a1530.tar.gz upstream-6d65e3af9b3122e1893d55d1406af286048a1530.tar.bz2 upstream-6d65e3af9b3122e1893d55d1406af286048a1530.zip |
ath79: calculate Eth MACs from WLAN on ALFA Network R36A
New batches of the R36A board series might no longer keep separated
Ethernet MAC addresses stored in flash. Use same approach as on the
N2Q and calculate Ethernet MACs from WLAN one which is kept in ART.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/qca9531_alfa-network_r36a.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts index 2588b10d73..ab65369246 100644 --- a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts +++ b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dts @@ -50,7 +50,8 @@ }; ð0 { - mtd-mac-address = <&art 0x0>; + mtd-mac-address = <&art 0x1002>; + mtd-mac-address-increment = <(-2)>; }; ð1 { @@ -58,7 +59,8 @@ * (GMAC0 -> eth0, GMAC1 -> eth1, same as in old ar71xx target) */ compatible = "qca,qca9530-eth", "syscon", "simple-mfd"; - mtd-mac-address = <&art 0x6>; + mtd-mac-address = <&art 0x1002>; + mtd-mac-address-increment = <(-1)>; }; &gpio_export { |