From afd65ea00d98c9ef72f60796ea8967ae09d8961f Mon Sep 17 00:00:00 2001 From: Steve Chen Date: Sat, 13 Apr 2024 21:22:14 +0800 Subject: [PATCH] drv: enable phy output 125MHz --- drivers/net/phy/motorcomm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c index e3314c89af11..b0be271880d4 100644 --- a/drivers/net/phy/motorcomm.c +++ b/drivers/net/phy/motorcomm.c @@ -1174,6 +1174,11 @@ static int yt8531_config_init(struct phy_device *phydev) if (ret < 0) return ret; + ret = ytphy_write_ext(phydev, 0xa012, 0xd0); + //ret = ytphy_write_ext(phydev, 0xa012, 0x90); + if (ret < 0) + return ret; + // configure led to active blink and link up ret = ytphy_write_ext(phydev, 0xA00C, 0x70); if (ret < 0)