openwrt/target/linux/ath79/files
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
..
arch/mips ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
drivers ath79: ag71xx: apply interface mode to MII0/1_CTRL on ar71xx/ar913x 2018-08-28 11:26:53 +02:00