net: stmmac: dwmac-rk: Add integrated PHY support for rk3228
authorDavid Wu <david.wu@rock-chips.com>
Thu, 10 Aug 2017 14:00:25 +0000 (22:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 21:28:58 +0000 (14:28 -0700)
commit6fa12c787cde8ebe07e5c9641ea4ebc490892ac9
treea0560e52602ae32f7ae29eb2ec831927aed5bfa5
parentfecd4d7eef8b219a7e7ab3524619b7ed76d208b4
net: stmmac: dwmac-rk: Add integrated PHY support for rk3228

There is only one mac controller in rk3228, which could connect to
external PHY or integrated PHY, use the grf_com_mux bit15 to route
external/integrated PHY.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c