mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
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>
This commit is contained in:
parent
66d027e22c
commit
19c9ddaa4f
1 changed files with 28 additions and 0 deletions
|
@ -147,6 +147,32 @@ struct phy_driver aqr105_driver = {
|
||||||
.shutdown = &gen10g_shutdown,
|
.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 = {
|
struct phy_driver aqr405_driver = {
|
||||||
.name = "Aquantia AQR405",
|
.name = "Aquantia AQR405",
|
||||||
.uid = 0x3a1b4b2,
|
.uid = 0x3a1b4b2,
|
||||||
|
@ -165,6 +191,8 @@ int phy_aquantia_init(void)
|
||||||
phy_register(&aq1202_driver);
|
phy_register(&aq1202_driver);
|
||||||
phy_register(&aq2104_driver);
|
phy_register(&aq2104_driver);
|
||||||
phy_register(&aqr105_driver);
|
phy_register(&aqr105_driver);
|
||||||
|
phy_register(&aqr106_driver);
|
||||||
|
phy_register(&aqr107_driver);
|
||||||
phy_register(&aqr405_driver);
|
phy_register(&aqr405_driver);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue