openwrt/target/linux/ramips
Arınç ÜNAL f1c9afd801 ramips: mt7621-dts: mux phy0/4 to gmac1
Mux the MT7530 switch's phy0/4 to the SoC's gmac1 on devices where RGMII2
pins are available. This achieves 2 Gbps total bandwidth to the CPU using
the second RGMII.

The ports called "wan" are muxed where possible. On a minority of devices,
this is not possible. Those cases:

mt7621_ampedwireless_ally-r1900k.dts: lan3
mt7621_ubnt_edgerouter-x.dts: eth0
mt7621_gnubee_gb-pc1.dts: ethblue
mt7621_linksys_re6500.dts: lan1
mt7621_netgear_wac104.dts: lan4
mt7621_tplink_eap235-wall-v1.dts: lan0
mt7621_tplink_eap615-wall-v1.dts: lan0
mt7621_ubnt_usw-flex.dts: lan1

The "wan" port is just what the vendor designated on the board/plastic
chasis of the device. On a technical level, there is no difference between
a lan and wan port on MT7621AT, MT7621DAT and MT7621ST SoCs. Prefer
connecting to WAN via the port described above for these devices to benefit
the feature brought with this patch.

mt7621_d-team_newifi-d2.dts cannot benefit this feature, although it looks
like it should, because the rgmii2 pins are wired to unused components.

Tested on a range of devices documented on the GitHub PR.

Link: https://github.com/openwrt/openwrt/pull/10238
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-20 22:56:12 +02:00
..
base-files/etc
dts ramips: mt7621-dts: mux phy0/4 to gmac1 2022-08-20 22:56:12 +02:00
files/drivers ramips: ethernet: ralink: add led_source dts-binding 2022-05-01 13:40:13 +09:00
image ramips: fix GB-PC1 and GB-PC2 device support 2022-08-20 22:56:12 +02:00
mt76x8 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
mt7620 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
mt7621 ramips: fix GB-PC1 and GB-PC2 device support 2022-08-20 22:56:12 +02:00
patches-5.10 kernel: bump 5.10 to 5.10.134 2022-07-29 23:03:41 +02:00
patches-5.15 kernel: bump 5.15 to 5.15.53 2022-07-11 00:50:18 +02:00
rt288x kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
rt305x kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
rt3883 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
Makefile ramips: add linux 5.15 support for mt7621 2022-03-27 21:36:40 +02:00
modules.mk