[PATCH 3/9] net: ksz9477: add KSZ9896 switch support

Romain Naour romain.naour at smile.fr
Tue Oct 8 09:54:26 CEST 2024


Add support for the KSZ9896 6-port Gigabit Ethernet Switch to the
ksz9477 driver.

The KSZ9896 is similar to KSZ9897 but has only one configurable
MII/RMII/RGMII/GMII cpu port.

Signed-off-by: Romain Naour <romain.naour at smile.fr>
---
 drivers/net/ksz9477.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c
index e67012a071a..c8c6595d4a2 100644
--- a/drivers/net/ksz9477.c
+++ b/drivers/net/ksz9477.c
@@ -541,6 +541,9 @@ static int ksz_i2c_probe(struct udevice *dev)
 	case 0x00956700:
 		puts("KSZ9567R: ");
 		break;
+	case 0x00989600:
+		puts("KSZ9896C: ");
+		break;
 	case 0x00989700:
 		puts("KSZ9897S: ");
 		break;
@@ -576,6 +579,7 @@ static const struct udevice_id ksz_i2c_ids[] = {
 	{ .compatible = "microchip,ksz9477" },
 	{ .compatible = "microchip,ksz9567" },
 	{ .compatible = "microchip,ksz9893" },
+	{ .compatible = "microchip,ksz9896" },
 	{ }
 };
 
-- 
2.45.0



More information about the U-Boot mailing list