linux/drivers/staging
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
..
android drivers:staging:android:ashmem: Changing return type from int to loff_t 2018-03-19 19:43:24 +01:00
board
clocking-wizard staging: clocking-wizard: remove redundant license text 2018-01-15 16:03:45 +01:00
comedi staging: comedi: ni_mio_common: ack ai fifo error interrupts. 2018-03-19 19:43:24 +01:00
dgnc staging: dgnc: drop unused neo_uart_struct 2018-01-17 15:02:56 +01:00
emxx_udc staging: emxx_udc: Remove unnecessary NULL checks 2018-03-06 04:09:17 -08:00
fbtft staging: fbtft: remove unused FB_TFT_SSD1325 kconfig 2018-01-25 13:10:39 +01:00
fsl-dpaa2 staging: fsl-dpaa2/eth: Fix incorrect kfree 2018-03-19 19:46:51 +01:00
fsl-mc staging: fsl-mc: Move DPCON out of staging 2018-03-14 13:18:42 +01:00
fwserial vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
gdm724x Staging: gdm724x: LTE: Refactor gdm_lte_pdn_table(). 2018-02-23 09:54:56 +01:00
goldfish
greybus vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
gs_fpgaboot Staging: gs_fpgaboot: remove FSF's mailing address from io.h 2018-01-08 16:47:23 +01:00
iio Second set of new device support, features and cleanup for IIO in the 4.17 cycle 2018-03-14 12:32:11 +01:00
ipx Staging/IIO patches for 4.16-rc1 2018-02-01 09:51:57 -08:00
ks7010 staging: ks7010: replace DPRINTK traces in favour of netdev_* 2018-03-19 19:49:49 +01:00
lustre staging: lustre: Fix unneeded byte-ordering cast 2018-03-19 17:16:00 +01:00
media Revert "Staging: bcm2048: Fix function argument alignment in radio-bcm2048.c." 2018-02-27 14:42:14 +01:00
most staging: most: Remove unnecessary usage of BUG_ON(). 2018-03-08 09:56:15 -08:00
mt29f_spinand staging:mt29f_spinand: MT29F2G failing as only 16 bits used for addressing. 2018-03-19 19:46:51 +01:00
mt7621-dma staging: mt7621-dma: ralink: add rt2880 dma engine 2018-03-19 19:56:02 +01:00
mt7621-eth staging: mt7621-eth: add gigabit switch driver (GSW) 2018-03-19 19:56:02 +01:00
mt7621-gpio staging: mt7621-gpio: ralink: add mt7621 gpio controller 2018-03-19 19:56:02 +01:00
mt7621-mmc staging: mt7621-mmc: MIPS: ralink: add sdhci for mt7620a SoC 2018-03-19 19:56:02 +01:00
mt7621-pci staging: mt7621-pci: MIPS/ralink: add MT7621 pcie driver 2018-03-19 19:56:01 +01:00
mt7621-pinctrl staging: mt7621-pinctrl: ralink: add pinctrl driver 2018-03-19 19:56:02 +01:00
mt7621-spi staging: mt7621-spi: add mt7621 support 2018-03-19 19:56:02 +01:00
ncpfs Staging/IIO patches for 4.16-rc1 2018-02-01 09:51:57 -08:00
netlogic staging: net: netlogic: Remove unneeded cast 2018-02-22 14:59:05 +01:00
nvec staging: nvec: remove redundant license text 2018-01-15 16:03:45 +01:00
octeon staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
octeon-usb
olpc_dcon
pi433 staging: pi433: fix CamelCase for dagc enum 2018-03-19 19:46:51 +01:00
rtl8188eu staging:r8188eu: Use lib80211 to support TKIP 2018-03-14 13:06:24 +01:00
rtl8192e staging: rtl8192e: Add spaces around operators. 2018-03-06 04:07:48 -08:00
rtl8192u staging: rtl8192u: Replace printk() with more standardize output format. 2018-03-08 09:56:15 -08:00
rtl8712 staging: rtl8712: remove unnecessary parentheses 2018-03-06 04:03:44 -08:00
rtl8723bs staging: rtl8723bs: core: rtw_cmd: remove unnecessary initialization 2018-03-14 13:01:17 +01:00
rtlwifi staging: rtlwifi: Remove nonessential semicolon 2018-03-06 04:01:11 -08:00
rts5208 staging: rts5208: Fix "seg_no" calculation in reset_ms_card() 2018-01-22 15:21:09 +01:00
skein
sm750fb staging: sm750fb: Remove typedef 2018-03-19 17:14:40 +01:00
speakup staging: speakup: Add blank line after declaration 2018-03-19 17:14:40 +01:00
typec staging: typec: remove redundant license text 2018-01-15 16:03:44 +01:00
unisys staging: unisys: visorinput: use the full 80 characters of the screen 2018-02-16 15:42:22 +01:00
vboxvideo drm/graphics pull request for v4.16-rc1 2018-02-01 17:48:47 -08:00
vc04_services staging: vc04_services: Remove vchiq_queue_bulk_{transmit,receive}. 2018-03-14 13:05:19 +01:00
vme Staging/IIO patches for 4.16-rc1 2018-02-01 09:51:57 -08:00
vt6655 staging: vt6655: Fix style violation for line ending in '(' 2018-03-06 04:01:11 -08:00
vt6656 staging: vt6656: Remove unnecessary 'out of memory' message 2018-02-16 15:41:27 +01:00
wilc1000 staging: wilc1000: destroy initialized mutex object 2018-03-19 19:45:31 +01:00
wlan-ng Staging: wlan-ng: fix unnecessary parantheses in prism2mgmt.c 2018-02-16 15:36:16 +01:00
xgifb staging: xgifb: vb_setmode: brace style fixes 2018-01-16 09:41:19 +01:00
Kconfig staging: mt7621-mmc: MIPS: ralink: add sdhci for mt7620a SoC 2018-03-19 19:56:02 +01:00
Makefile staging: mt7621-mmc: MIPS: ralink: add sdhci for mt7620a SoC 2018-03-19 19:56:02 +01:00