net: stmmac: dwmac-rk: Add integrated PHY supprot for rk3328
authorDavid Wu <david.wu@rock-chips.com>
Thu, 10 Aug 2017 14:00:52 +0000 (22:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 21:28:59 +0000 (14:28 -0700)
commit8bdf63bdd3200539af5ecd0c41284b5aa00ce532
tree15de7fe2e2807c7f925369647d47fb8c4773b684
parent6fa12c787cde8ebe07e5c9641ea4ebc490892ac9
net: stmmac: dwmac-rk: Add integrated PHY supprot for rk3328

There are two mac controllers in the rk3328, the one connects
to external PHY, and the other one connects to integrated PHY.
Like the mac of external PHY, the integrated PHY's mac also
needs to configure the related mac registers at GRF.

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