summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInochi Amaoto <inochiama@gmail.com>2026-07-26 07:33:49 +0800
committerYixun Lan <dlan@kernel.org>2026-07-26 08:08:39 +0000
commit6d6536c880febe2340d8d388f42660eccff5aa81 (patch)
tree65ed37b16c3bd43901c43077d207afe7743c15c1
parent12b0d602e8642297ec369eeb99366d37c8a3a120 (diff)
downloadlinux-next-6d6536c880febe2340d8d388f42660eccff5aa81.tar.gz
linux-next-6d6536c880febe2340d8d388f42660eccff5aa81.zip
riscv: dts: spacemit: Fix phy id check for the phy on pico-itx board
Current phy framework can not re-initialize the phy correctly, as it will assert the phy reset GPIO so the phy id can not be read. Setting the phy id of board pico-itx manually so the phy id detection can be skipped. Fixes: 74657a376960 ("riscv: dts: spacemit: Add ethernet device for K3") Reported-by: E Shattow <e@freeshell.de> Reported-by: Inochi Amaoto <inochiama@gmail.com> Closes: https://lore.kernel.org/netdev/20260712045233.800748-1-inochiama@gmail.com Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Tested-by: E Shattow <e@freeshell.de> Reviewed-by: Yixun Lan <dlan@kernel.org> Link: https://patch.msgid.link/20260725233351.55004-2-inochiama@gmail.com Signed-off-by: Yixun Lan <dlan@kernel.org>
-rw-r--r--arch/riscv/boot/dts/spacemit/k3-pico-itx.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
index 37ce58a09e4e..4460e225581c 100644
--- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
+++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
@@ -229,7 +229,7 @@
mdio {
phy0: phy@1 {
- compatible = "ethernet-phy-ieee802.3-c22";
+ compatible = "ethernet-phy-id001c.c916";
reg = <1>;
reset-gpios = <&gpio 0 15 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;