kernel: ar83xx: Add support for three GMAC's connection
authorRam Chandra Jangir <rjangir@codeaurora.org>
Wed, 5 Dec 2018 14:26:32 +0000 (19:56 +0530)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:23 +0000 (17:48 +0100)
commit1f5b4fb08eee0312416e46b1dfb48c5c8b7be706
tree30839d5a07ceda192370c4313e00168f1470c96c
parentf166ef3330bee3f05a840bb3f4dd49883e08fcf9
kernel: ar83xx: Add support for three GMAC's connection

We have IPQ8064 AP161 board which has three GMAC's
 * RGMII x2
 * SGMII x1.
The existing ar8327 driver does not have support for
three GMAC's connection, hence this change adds support
for the same. This has been verified on AP148 and AP161
board.

Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
(backported from bf7719f22c1f189a350f845b27189efab96b0000)
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h
target/linux/generic/files/drivers/net/phy/ar8327.c
target/linux/generic/files/drivers/net/phy/ar8327.h