Skip to content

Commit a541354

Browse files
sjx2015vpeter4
authored andcommitted
add phy RTL8211F-VD
1 parent 12591df commit a541354

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

drivers/net/phy/realtek.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,23 @@ static struct phy_driver realtek_drvs[] = {
361361
#else
362362
.suspend = genphy_suspend,
363363
.resume = genphy_resume,
364+
#endif
365+
},{
366+
.phy_id = 0x001cc878,
367+
.name = "RTL8211F-VD Gigabit Ethernet",
368+
.phy_id_mask = 0x001fffff,
369+
.features = PHY_GBIT_FEATURES,
370+
.flags = PHY_HAS_INTERRUPT,
371+
.config_aneg = &genphy_config_aneg,
372+
.config_init = &rtl8211f_config_init,
373+
.read_status = &genphy_read_status,
374+
.ack_interrupt = &rtl8211f_ack_interrupt,
375+
.config_intr = &rtl8211f_config_intr,
376+
#ifdef CONFIG_AMLOGIC_ETH_PRIVE
377+
.resume = rtl8211f_resume,
378+
#else
379+
.suspend = genphy_suspend,
380+
.resume = genphy_resume,
364381
#endif
365382
},
366383
};
@@ -372,6 +389,7 @@ static struct mdio_device_id __maybe_unused realtek_tbl[] = {
372389
{ 0x001cc914, 0x001fffff },
373390
{ 0x001cc915, 0x001fffff },
374391
{ 0x001cc916, 0x001fffff },
392+
{ 0x001cc878, 0x001fffff },
375393
{ }
376394
};
377395

0 commit comments

Comments
 (0)