diff options
author | Mingkai Hu <mingkai.hu@nxp.com> | 2016-07-01 19:03:23 +0800 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-07-06 10:45:04 -0500 |
commit | 19c9ddaa4f41f6f0bc5cf2991f24fc178c6e56ed (patch) | |
tree | 0e79cc82664dbb32d16ec2fb6b0b22803f23c20e | |
parent | 66d027e22c55534135a43da794d31fcc98509913 (diff) | |
download | u-boot-midas-19c9ddaa4f41f6f0bc5cf2991f24fc178c6e56ed.tar.gz u-boot-midas-19c9ddaa4f41f6f0bc5cf2991f24fc178c6e56ed.tar.bz2 u-boot-midas-19c9ddaa4f41f6f0bc5cf2991f24fc178c6e56ed.zip |
driver: net: phylib: add support for aquantia AQR106/107 PHY
This patch adds support for aquantia AQR106/107 PHY.
Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r-- | drivers/net/phy/aquantia.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index f90c2ae3bb..ad12f6d61f 100644 --- a/drivers/net/phy/aquantia.c +++ b/drivers/net/phy/aquantia.c @@ -147,6 +147,32 @@ struct phy_driver aqr105_driver = { .shutdown = &gen10g_shutdown, }; +struct phy_driver aqr106_driver = { + .name = "Aquantia AQR106", + .uid = 0x3a1b4d0, + .mask = 0xfffffff0, + .features = PHY_10G_FEATURES, + .mmds = (MDIO_MMD_PMAPMD | MDIO_MMD_PCS| + MDIO_MMD_PHYXS | MDIO_MMD_AN | + MDIO_MMD_VEND1), + .config = &aquantia_config, + .startup = &aquantia_startup, + .shutdown = &gen10g_shutdown, +}; + +struct phy_driver aqr107_driver = { + .name = "Aquantia AQR107", + .uid = 0x3a1b4e0, + .mask = 0xfffffff0, + .features = PHY_10G_FEATURES, + .mmds = (MDIO_MMD_PMAPMD | MDIO_MMD_PCS| + MDIO_MMD_PHYXS | MDIO_MMD_AN | + MDIO_MMD_VEND1), + .config = &aquantia_config, + .startup = &aquantia_startup, + .shutdown = &gen10g_shutdown, +}; + struct phy_driver aqr405_driver = { .name = "Aquantia AQR405", .uid = 0x3a1b4b2, @@ -165,6 +191,8 @@ int phy_aquantia_init(void) phy_register(&aq1202_driver); phy_register(&aq2104_driver); phy_register(&aqr105_driver); + phy_register(&aqr106_driver); + phy_register(&aqr107_driver); phy_register(&aqr405_driver); return 0; |