]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: phy: mscc: add support for the VSC8572
authorCharles Perry <charles.perry@microchip.com>
Tue, 5 May 2026 13:57:49 +0000 (06:57 -0700)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 6 May 2026 09:07:22 +0000 (11:07 +0200)
This is similar to the VSC8574 according to the Linux commit that adds
support for it [1].

This was tested on an HX1000 board with SGMII (PIC64-HX SoC which has a
GEM MAC).

[1]: https://lore.kernel.org/all/dfabe39a52efcd2cfff9358f271b8673143503b8.1480497966.git.neill.whillans@codethink.co.uk/

Signed-off-by: Charles Perry <charles.perry@microchip.com>
Reviewed-by: Manikandan Muralidharan <manikandan.m@microchip.com>
drivers/net/phy/mscc.c

index a65e81dff0c3b0423446d67dcda2361e343a45d8..d96970949bca6cf077e1384682c5311271fbe77d 100644 (file)
@@ -23,6 +23,7 @@
 #define PHY_ID_VSC8502                 0x00070630
 #define PHY_ID_VSC8540                  0x00070760
 #define PHY_ID_VSC8541                  0x00070770
+#define PHY_ID_VSC8572                 0x000704d0
 #define PHY_ID_VSC8574                 0x000704a0
 #define PHY_ID_VSC8584                  0x000707c0
 
@@ -1612,6 +1613,16 @@ U_BOOT_PHY_DRIVER(vsc8541) = {
        .shutdown = &genphy_shutdown,
 };
 
+U_BOOT_PHY_DRIVER(vsc8572) = {
+       .name = "Microsemi VSC8572",
+       .uid = PHY_ID_VSC8572,
+       .mask = 0x000ffff0,
+       .features = PHY_GBIT_FEATURES,
+       .config = &vsc8574_config,
+       .startup = &mscc_startup,
+       .shutdown = &genphy_shutdown,
+};
+
 U_BOOT_PHY_DRIVER(vsc8574) = {
        .name = "Microsemi VSC8574",
        .uid = PHY_ID_VSC8574,