ramips: add wan2 support for MQmaker WiTi
authorArınç ÜNAL <arinc.unal@arinc9.com>
Sat, 17 Jun 2023 18:59:26 +0000 (21:59 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 12 Jul 2023 18:36:32 +0000 (20:36 +0200)
commit8bf9a8a5e6e35afcb8b7aaebfea6fb91e76c9d81
treee2284d850ecd433c5081b219c10ff8238e1daa10
parent50ecca74cbdb223c784c89bcad921fd533a56d29
ramips: add wan2 support for MQmaker WiTi

The PHY of the wan2 port on MQmaker WiTi is wired to the second MAC of the
SoC. Rename the wan interface to wan1 and define it under the switch node,
effectively disabling the PHY muxing of the MT7530 switch's phy4.

Define the PHY of the wan2 port and adjust the gmac1 node accordingly. Now
that the PHY muxing feature is not being used anymore, the wan2 port can be
used to achieve 2 Gbps total bandwidth to the CPU.

Tested-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
target/linux/ramips/dts/mt7621_mqmaker_witi.dts
target/linux/ramips/mt7621/base-files/etc/board.d/02_network