Skip to content

Commit e88a531

Browse files
whbo158jhedberg
authored andcommitted
drivers: eth: phy: add Motorcomm YT8521 PHY driver
Add PHY driver for Motorcomm YT8521 which is used on FRDM_IMX93 board. Signed-off-by: Hongbo Wang <hongbo.wang@nxp.com> Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com> Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
1 parent 20d4c75 commit e88a531

File tree

5 files changed

+653
-0
lines changed

5 files changed

+653
-0
lines changed

drivers/ethernet/phy/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_KSZ9131 phy_microchip_ksz9131.
1010
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_LAN8742 phy_microchip_lan8742.c)
1111
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_T1S phy_microchip_t1s.c)
1212
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_VSC8541 phy_microchip_vsc8541.c)
13+
zephyr_library_sources_ifdef(CONFIG_PHY_MOTORCOMM_YT8521 phy_motorcomm_yt8521.c)
1314
zephyr_library_sources_ifdef(CONFIG_PHY_OA_TC14_PLCA_LIB phy_oa_tc14_plca.c)
1415
zephyr_library_sources_ifdef(CONFIG_PHY_QUALCOMM_AR8031 phy_qualcomm_ar8031.c)
1516
zephyr_library_sources_ifdef(CONFIG_PHY_REALTEK_RTL8211F phy_realtek_rtl8211f.c)

drivers/ethernet/phy/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,12 @@ config PHY_VERIFY_DEVICE_IDENTIFICATION
148148
Verify the organizationally unique identifier that is reported
149149
by the phy chip.
150150

151+
config PHY_MOTORCOMM_YT8521
152+
bool "Motorcomm YT8521 Ethernet PHY Driver"
153+
default y
154+
depends on DT_HAS_MOTORCOMM_YT8521_ENABLED
155+
select MDIO
156+
help
157+
Enable Motorcomm YT8521 Ethernet PHY Driver
158+
151159
endif # "Ethernet PHY Drivers"

0 commit comments

Comments
 (0)