linux/drivers/staging/mt7621-eth
John Crispin f079b64063 staging: mt7621-eth: add gigabit switch driver (GSW)
The GSW is found in all of the 1000mbit SoCs. it has 5 external ports,
1-2 cpu ports and 1 further port that the internal HW offloading engine
connects to. The switch core used is a MT7530, which also exists as a
standalone chip. Although these SoCs (mt7620/1/3) share the same switch
core, the bring up of these is slightly different. One of the reasons is
that on mt7620 the switch core is mmio mapped while MT7621/3 talks to the
switch via MDIO addr 0x1f. Additionally, the SoCs have different MAC types
and some of them have TRGMII support. MT7621 can do 1,2gbit and MT7623 is
able to do 2,6gbit. The support for the TRGMII bring up is not part of this
series as the code is based on the SDK driver and has between 1500 and 2000
magic values that still need to be converted to defines.

Because of these differences we have 3 separate drivers for these 3 SoCs.
These drivers are very basic and only provides basic init and irq support.

The SoC and switch core both have support for a special tag making DSA
support possible.

NeilBrown:
 - added setting to mt7621_hw_init to match working code from libreCMC
 This needs to be converted to use switchdev.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-19 19:56:02 +01:00
..
Documentation/devicetree/bindings/net
ethtool.c
ethtool.h
gsw_mt7620.h staging: mt7621-eth: add gigabit switch driver (GSW) 2018-03-19 19:56:02 +01:00
gsw_mt7621.c staging: mt7621-eth: add gigabit switch driver (GSW) 2018-03-19 19:56:02 +01:00
mdio.c
mdio.h
mtk_eth_soc.c
mtk_eth_soc.h
TODO staging: mt7621-eth: add gigabit switch driver (GSW) 2018-03-19 19:56:02 +01:00