[PATCH v3 1/5] arm64: dts: rockchip: Reset the NanoPi Zero2 PHY from the MDIO bus
安容
HystericalDragons at proton.me
Fri Sep 11 03:10:37 PDT 2026
Oh, sorry. You are right, and so was Jonas in his review of the identical H28K patch. I should think twice that thread before doing it. I was too hasty and failed to reflect the suggestion I had received. GPIO4_C2 resets the PHY, not the bus, and describing it under &mdio1 also breaks U-Boot, which reads `reset-gpios` from the PHY node ( `drivers/net/phy/phy.c` ) and lacks support for bus-level resets.
I had only tested generic-rk3528 and didn't check whether a nanopi-zero2-rk3528 target existed. Checking my own setup afterward, the R28S I develop on has indeed been booting a board-specific U-Boot target with the PHY-node reset all along, exactly as you pointed out.
I have droped this patch. And the remaining four only add R28S support. Thank you for you sharp point of view.
On Friday, September 11, 2026 at 2:55 PM, Chukun Pan <amadeus at jmu.edu.cn> wrote:
> Hi,
>
> > &mdio1 {
> > + reset-delay-us = <20000>;
> > + reset-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_LOW>;
> > + reset-post-delay-us = <100000>;
>
> This is an incorrect change, see also: [1]
> Since you are using mainline U-Boot 2026.07, you should have
> already noticed that nanopi-zero2-rk3528 is available.
> Therefore, the nanopi-zero2-rk3528 target should be used
> instead of generic-rk3528.
>
> [1] https://lore.kernel.org/lkml/1e8da54f-ef87-4d31-9a0a-17c0ff66bee0@kwiboo.se/
>
More information about the linux-arm-kernel
mailing list