Commit 0ecfc7e1 authored by Jerome Brunet's avatar Jerome Brunet Committed by 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: default avatarQi Duan <qi.duan@amlogic.com>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment