]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita42c3fc3f9e810888e0446d48fd095940e4f2baf
tree31e28a3b997db7c6ea380a884a66d43b7a86eddd
parente9dabef0d7a077fc3ea24a9f07d634689c526e5a
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