提交 0ecfc7e1 编写于 作者: J Jerome Brunet 提交者: David S. Miller

net: meson: fixup g12a glue ephy id

The phy id chosen by Amlogic is incorrectly set in the mdio mux and
does not match the phy driver.

It was not detected before because DT forces the use the correct driver
for the internal PHY.

Fixes: 70904251 ("net: phy: add amlogic g12a mdio mux support")
Reported-by: NQi Duan <qi.duan@amlogic.com>
Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dffe7d2e
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#define ETH_PLL_CTL7 0x60 #define ETH_PLL_CTL7 0x60
#define ETH_PHY_CNTL0 0x80 #define ETH_PHY_CNTL0 0x80
#define EPHY_G12A_ID 0x33000180 #define EPHY_G12A_ID 0x33010180
#define ETH_PHY_CNTL1 0x84 #define ETH_PHY_CNTL1 0x84
#define PHY_CNTL1_ST_MODE GENMASK(2, 0) #define PHY_CNTL1_ST_MODE GENMASK(2, 0)
#define PHY_CNTL1_ST_PHYADD GENMASK(7, 3) #define PHY_CNTL1_ST_PHYADD GENMASK(7, 3)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册