Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions boards/nxp/frdm_imx93/frdm_imx93_mimx9352_a55.dts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,33 @@
};
};

&enet {
status = "okay";
};

&enet_mac {
pinctrl-0 = <&pinmux_enet>;
pinctrl-names = "default";
phy-handle = <&phy>;
zephyr,random-mac-address;
phy-connection-type = "rgmii";
status = "okay";
};

&enet_mdio {
pinctrl-0 = <&pinmux_mdio>;
pinctrl-names = "default";
status = "okay";

phy: phy@2 {
compatible = "motorcomm,yt8521";
reg = <2>;
status = "okay";
motorcomm,rx-delay-sel = <13>;
motorcomm,tx-delay-sel = <13>;
};
};

&lpuart2 {
current-speed = <115200>;
pinctrl-0 = <&uart2_default>;
Expand Down
1 change: 1 addition & 0 deletions drivers/ethernet/phy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ zephyr_library_sources_ifdef(CONFIG_PHY_DM8806 phy_dm8806.c)
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_KSZ8081 phy_microchip_ksz8081.c)
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_T1S phy_microchip_t1s.c)
zephyr_library_sources_ifdef(CONFIG_PHY_MICROCHIP_VSC8541 phy_microchip_vsc8541.c)
zephyr_library_sources_ifdef(CONFIG_PHY_MOTORCOMM_YT8521 phy_motorcomm_yt8521.c)
zephyr_library_sources_ifdef(CONFIG_PHY_OA_TC14_PLCA_LIB phy_oa_tc14_plca.c)
zephyr_library_sources_ifdef(CONFIG_PHY_QUALCOMM_AR8031 phy_qualcomm_ar8031.c)
zephyr_library_sources_ifdef(CONFIG_PHY_REALTEK_RTL8211F phy_realtek_rtl8211f.c)
Expand Down
8 changes: 8 additions & 0 deletions drivers/ethernet/phy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,12 @@ config PHY_VERIFY_DEVICE_IDENTIFICATION
Verify the organizationally unique identifier that is reported
by the phy chip.

config PHY_MOTORCOMM_YT8521
bool "Motorcomm YT8521 Ethernet PHY Driver"
default y
depends on DT_HAS_MOTORCOMM_YT8521_ENABLED
select MDIO
help
Enable Motorcomm YT8521 Ethernet PHY Driver

endif # "Ethernet PHY Drivers"
Loading
Loading