Skip to content

Commit e8c379a

Browse files
committed
drivers: ethernet: phy: add Microchip's KSZ9131 PHY support
Add support for KSZ9131 (Gigabit Ethernet Transceiver with RGMII Support). As first starter, 100MBit/s mode is tested. https://www.microchip.com/en-us/product/ksz9131 Signed-off-by: Tony Han <tony.han@microchip.com>
1 parent b5a31dc commit e8c379a

File tree

4 files changed

+440
-0
lines changed

4 files changed

+440
-0
lines changed

drivers/ethernet/phy/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ zephyr_library_sources_ifdef(CONFIG_PHY_GENERIC_MII phy_mii.c)
66
zephyr_library_sources_ifdef(CONFIG_PHY_ADIN2111 phy_adin2111.c)
77
zephyr_library_sources_ifdef(CONFIG_PHY_DM8806 phy_dm8806.c)
88
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_KSZ8081 phy_microchip_ksz8081.c)
9+
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_KSZ9131 phy_microchip_ksz9131.c)
910
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_T1S phy_microchip_t1s.c)
1011
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_VSC8541 phy_microchip_vsc8541.c)
1112
zephyr_library_sources_ifdef(CONFIG_PHY_OA_TC14_PLCA_LIB phy_oa_tc14_plca.c)

drivers/ethernet/phy/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ config PHY_MICROCHIP_KSZ8081
5151
help
5252
Enable Microchip KSZ8081 Ethernet PHY Driver
5353

54+
config PHY_MICROCHIP_KSZ9131
55+
bool "Microchip KSZ9131 PHY Driver"
56+
default y
57+
depends on DT_HAS_MICROCHIP_KSZ9131_ENABLED
58+
depends on MDIO
59+
depends on GPIO
60+
help
61+
Enable Microchip KSZ9131 Ethernet PHY Driver
62+
5463
config PHY_MICROCHIP_VSC8541
5564
bool "Microchip VSC8541 PHY Driver"
5665
default y

0 commit comments

Comments
 (0)