Thread (6 messages) 6 messages, 4 authors, 3d ago

Re: Failed to reinit phy of spacemit-dwmac when reset-gpio is present

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-07-12 13:50:16
Also in: linux-arm-kernel, linux-riscv, lkml, spacemit

quoted
--- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
+++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
@@ -196,7 +196,8 @@ &eth0 {

 	mdio {
 		phy0: phy@1 {
-			compatible = "ethernet-phy-ieee802.3-c22";
+			compatible = "ethernet-phy-id001c.c916",
+				     "ethernet-phy-ieee802.3-c22";
Indeed that's merely a workaround :(
Despite is being a workaround, there has not been much progress on a
generic framework for dealing with clocks, resets, regulators etc,
before probing PHYs. So this is probably what you want to do.

       Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help