net-next: stmmac: mediatek: add more support for RMII
authorBiao Huang <biao.huang@mediatek.com>
Mon, 16 Dec 2019 05:39:57 +0000 (13:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2019 21:48:30 +0000 (13:48 -0800)
commit71a55a2315b047352b3d65e2d24724207be85ae2
tree31e28a3b997db7c6ea380a884a66d43b7a86eddd
parent4e133f76c111cd93d56aec56604955a715bc0ea1
net-next: stmmac: mediatek: add more support for RMII

MT2712 SoC can provide the rmii reference clock, and the clock
will output from TXC pin only, which means ref_clk pin of external
PHY should connect to TXC pin in this case.
Add corresponding clock and timing settings.

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c