]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: phy: mscc: Enable RMII clock output for VSC8541 PHY
authorPranav Tilak <pranav.vinaytilak@amd.com>
Thu, 29 Jan 2026 08:10:54 +0000 (13:40 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 11 Feb 2026 08:41:26 +0000 (09:41 +0100)
commitce6fc049b700894b2a8f25778103cf4f2d29cb34
tree8643a8e564deccc69ec4813b1108f2de0260ff70
parent85bbd16750ed7a4907666bfa01effc39ef1f4c0c
net: phy: mscc: Enable RMII clock output for VSC8541 PHY

Set RMII reference clock output to enabled (1) by default for VSC8541
PHY in RMII mode. The RMII specification requires a 50MHz reference
clock, and many board designs expect the PHY to provide this clock to
the MAC controller.

Previously, the driver defaulted rmii_clk_out to 0 (disabled) for all
interface modes, which caused the PHY to not output the required 50MHz
clock. This resulted in MAC-PHY communication failures and prevented
network operations like DHCP from working on RMII-configured boards.

This change alligns with the hardware power-up default behavior and
aligns with both the generic PHY driver and Linux MSCC PHY driver
implementations.

Signed-off-by: Pranav Tilak <pranav.vinaytilak@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20260129081054.1703479-1-pranav.vinaytilak@amd.com
drivers/net/phy/mscc.c