]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: phy: realtek: Add support for RTL8211F(D)(I)-VD-CG
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Tue, 17 Oct 2023 09:45:00 +0000 (11:45 +0200)
committerFabio Estevam <festevam@gmail.com>
Wed, 13 Dec 2023 12:48:38 +0000 (09:48 -0300)
Add support for the RTL8211F(D)(I)-VD-CG PHY present on the i.MX93 EVK
board.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
drivers/net/phy/realtek.c

index 396cac76d632e3a53088b2686b6e82f786115953..7e1036b2271fb218f425feb1b36a818941c26fd9 100644 (file)
@@ -446,6 +446,20 @@ U_BOOT_PHY_DRIVER(rtl8211f) = {
        .writeext = &rtl8211f_phy_extwrite,
 };
 
+/* Support for RTL8211F-VD PHY */
+U_BOOT_PHY_DRIVER(rtl8211fvd) = {
+       .name = "RealTek RTL8211F-VD",
+       .uid = 0x1cc878,
+       .mask = 0xffffff,
+       .features = PHY_GBIT_FEATURES,
+       .probe = &rtl8211f_probe,
+       .config = &rtl8211f_config,
+       .startup = &rtl8211f_startup,
+       .shutdown = &genphy_shutdown,
+       .readext = &rtl8211f_phy_extread,
+       .writeext = &rtl8211f_phy_extwrite,
+};
+
 /* Support for RTL8201F PHY */
 U_BOOT_PHY_DRIVER(rtl8201f) = {
        .name = "RealTek RTL8201F 10/100Mbps Ethernet",