openwrtv3/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx
Chuanhong Guo 028daa9974 ath79: ag71xx: apply interface mode to MII0/1_CTRL on ar71xx/ar913x
We currently don't have any code configuring interface mode in ath79,
meaning that we relies on bootloader to set the correct interface mode.

This patch added code to set interface correctly so that everything works
even if bootloader configures it wrong.(e.g. on WNDR3800 u-boot set
the second GMAC mode to RMII but it should be RGMII.)

Introduced "qca,mac-idx" for the difference in MII_CTRL register value.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2018-08-28 11:26:53 +02:00
..
ag71xx.h ath79: ag71xx: apply interface mode to MII0/1_CTRL on ar71xx/ar913x 2018-08-28 11:26:53 +02:00
ag71xx_ar7240.c ath79: ag71xx: assert a switch reset if defined in dts. 2018-07-30 10:43:35 +02:00
ag71xx_debugfs.c ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
ag71xx_ethtool.c ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
ag71xx_gmac.c ath79: gmac: add parsers for rxd(v)- and tx(d|en)-delay for AR9344 2018-08-13 08:48:37 +02:00
ag71xx_main.c ath79: ag71xx: apply interface mode to MII0/1_CTRL on ar71xx/ar913x 2018-08-28 11:26:53 +02:00
ag71xx_mdio.c ath79: ag71xx: Rework mdio clock settings 2018-07-30 10:43:34 +02:00
ag71xx_phy.c ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
Kconfig ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
Makefile ath79: ag71xx: Make builtin switch driver a separated module 2018-07-30 10:43:33 +02:00