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>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Piotr Dymacz 2020-10-30 14:16:08 +01:00 committed by maurerr
parent a5d5e22797
commit 1941416979

View File

@ -50,7 +50,8 @@
};
&eth0 {
mtd-mac-address = <&art 0x0>;
mtd-mac-address = <&art 0x1002>;
mtd-mac-address-increment = <(-2)>;
};
&eth1 {
@ -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 {