* [PATCH 1/7] arm64: dts: rockchip: Describe NanoPi M5 Ethernet PHYs by their ID
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
@ 2026-11-20 10:48 ` Alexey Charkov
2026-11-20 10:48 ` [PATCH 2/7] arm64: dts: rockchip: Describe Sige5 " Alexey Charkov
` (6 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Alexey Charkov @ 2026-11-20 10:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
John Clark, Detlev Casanova
Cc: devicetree, linux-arm-kernel, linux-rockchip, Alexey Charkov
Both NanoPi M5 GMACs connect to an RTL8211F PHY with its reset line in
the PHY node. With only the generic C22 compatible, an OS has to read the
PHY ID registers before it can bind a driver, and only that driver
releases the reset line. Unless an earlier boot stage has already
released it, the PHY stays in reset, never answers on MDIO, and neither
Ethernet port comes up. Booting straight from U-Boot SPL in Falcon mode
hits exactly that.
Name the PHY by its ID, so it binds without the ID read and comes out of
reset as it does. Name the node ethernet-phy@1 as well, as the Realtek
PHY binding the ID compatible selects requires.
Fixes: 96cbdfdd3ac2 ("arm64: dts: rockchip: Add FriendlyElec NanoPi M5 support")
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
index c84afecd6e2a..49bbef5730d2 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
@@ -802,8 +802,8 @@ rt5616: audio-codec@1b {
};
&mdio0 {
- rgmii_phy0: phy@1 {
- compatible = "ethernet-phy-ieee802.3-c22";
+ rgmii_phy0: ethernet-phy@1 {
+ compatible = "ethernet-phy-id001c.c916";
reg = <0x1>;
clocks = <&cru REFCLKO25M_GMAC0_OUT>;
interrupt-parent = <&gpio2>;
@@ -817,8 +817,8 @@ rgmii_phy0: phy@1 {
};
&mdio1 {
- rgmii_phy1: phy@1 {
- compatible = "ethernet-phy-ieee802.3-c22";
+ rgmii_phy1: ethernet-phy@1 {
+ compatible = "ethernet-phy-id001c.c916";
reg = <0x1>;
clocks = <&cru REFCLKO25M_GMAC1_OUT>;
interrupt-parent = <&gpio3>;
--
2.56.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 2/7] arm64: dts: rockchip: Describe Sige5 Ethernet PHYs by their ID
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
2026-11-20 10:48 ` [PATCH 1/7] arm64: dts: rockchip: Describe NanoPi M5 Ethernet PHYs by their ID Alexey Charkov
@ 2026-11-20 10:48 ` Alexey Charkov
2026-11-20 10:48 ` [PATCH 3/7] arm64: dts: rockchip: Drop NanoPi M5 PHY reference clocks Alexey Charkov
` (5 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Alexey Charkov @ 2026-11-20 10:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
John Clark, Detlev Casanova
Cc: devicetree, linux-arm-kernel, linux-rockchip, Alexey Charkov
Both Sige5 GMACs connect to an RTL8211F PHY (ID 0x001cc916) with its
reset line in the PHY node. With only the generic C22 compatible, an OS
has to read the PHY ID registers before it can bind a driver, and only
that driver releases the reset line. Unless an earlier boot stage has
already released it, the PHY stays in reset, never answers on MDIO, and
neither Ethernet port comes up. Booting straight from U-Boot SPL in
Falcon mode hits exactly that.
Name the PHY by its ID, so it binds without the ID read and comes out of
reset as it does. Name the node ethernet-phy@1 as well, as the Realtek
PHY binding the ID compatible selects requires.
Fixes: 40f742b07ab2 ("arm64: dts: rockchip: Add rk3576-armsom-sige5 board")
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
index c5b2f22402f5..b8547395c608 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
@@ -775,8 +775,8 @@ es8388: audio-codec@10 {
};
&mdio0 {
- rgmii_phy0: phy@1 {
- compatible = "ethernet-phy-ieee802.3-c22";
+ rgmii_phy0: ethernet-phy@1 {
+ compatible = "ethernet-phy-id001c.c916";
reg = <0x1>;
pinctrl-names = "default";
pinctrl-0 = <&gmac0_rst>;
@@ -787,8 +787,8 @@ rgmii_phy0: phy@1 {
};
&mdio1 {
- rgmii_phy1: phy@1 {
- compatible = "ethernet-phy-ieee802.3-c22";
+ rgmii_phy1: ethernet-phy@1 {
+ compatible = "ethernet-phy-id001c.c916";
reg = <0x1>;
pinctrl-names = "default";
pinctrl-0 = <&gmac1_rst>;
--
2.56.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 3/7] arm64: dts: rockchip: Drop NanoPi M5 PHY reference clocks
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
2026-11-20 10:48 ` [PATCH 1/7] arm64: dts: rockchip: Describe NanoPi M5 Ethernet PHYs by their ID Alexey Charkov
2026-11-20 10:48 ` [PATCH 2/7] arm64: dts: rockchip: Describe Sige5 " Alexey Charkov
@ 2026-11-20 10:48 ` Alexey Charkov
2026-11-20 10:48 ` [PATCH 4/7] arm64: dts: rockchip: Enable ALDPS on NanoPi M5 Ethernet PHYs Alexey Charkov
` (4 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Alexey Charkov @ 2026-11-20 10:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
John Clark, Detlev Casanova
Cc: devicetree, linux-arm-kernel, linux-rockchip, Alexey Charkov
Each NanoPi M5 RTL8211F runs from its own 25MHz crystal (X12, X13), and
the SoC's REFCLKO25M outputs reach neither PHY. Remove the clocks the
PHY nodes claim from the SoC, so nothing enables an output that drives
no PHY.
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
index 49bbef5730d2..778cb8181639 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
@@ -805,7 +805,6 @@ &mdio0 {
rgmii_phy0: ethernet-phy@1 {
compatible = "ethernet-phy-id001c.c916";
reg = <0x1>;
- clocks = <&cru REFCLKO25M_GMAC0_OUT>;
interrupt-parent = <&gpio2>;
interrupts = <RK_PB1 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
@@ -820,7 +819,6 @@ &mdio1 {
rgmii_phy1: ethernet-phy@1 {
compatible = "ethernet-phy-id001c.c916";
reg = <0x1>;
- clocks = <&cru REFCLKO25M_GMAC1_OUT>;
interrupt-parent = <&gpio3>;
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
--
2.56.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 4/7] arm64: dts: rockchip: Enable ALDPS on NanoPi M5 Ethernet PHYs
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
` (2 preceding siblings ...)
2026-11-20 10:48 ` [PATCH 3/7] arm64: dts: rockchip: Drop NanoPi M5 PHY reference clocks Alexey Charkov
@ 2026-11-20 10:48 ` Alexey Charkov
2026-11-20 10:48 ` [PATCH 5/7] arm64: dts: rockchip: Enable ALDPS on Sige5 " Alexey Charkov
` (3 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Alexey Charkov @ 2026-11-20 10:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
John Clark, Detlev Casanova
Cc: devicetree, linux-arm-kernel, linux-rockchip, Alexey Charkov
Let the RTL8211F PHYs power down while no link partner is present
(Advanced Link Down Power Saving), which a PHY leaves disabled after
reset. Both PHYs are also strapped to stop their PLL in that state
(PLLOFF), so an unplugged port draws close to nothing.
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
index 778cb8181639..638e00b6e165 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
@@ -812,6 +812,7 @@ rgmii_phy0: ethernet-phy@1 {
reset-assert-us = <20000>;
reset-deassert-us = <100000>;
reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
+ realtek,aldps-enable;
};
};
@@ -826,6 +827,7 @@ rgmii_phy1: ethernet-phy@1 {
reset-assert-us = <20000>;
reset-deassert-us = <100000>;
reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;
+ realtek,aldps-enable;
};
};
--
2.56.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 5/7] arm64: dts: rockchip: Enable ALDPS on Sige5 Ethernet PHYs
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
` (3 preceding siblings ...)
2026-11-20 10:48 ` [PATCH 4/7] arm64: dts: rockchip: Enable ALDPS on NanoPi M5 Ethernet PHYs Alexey Charkov
@ 2026-11-20 10:48 ` Alexey Charkov
2026-11-20 10:48 ` [PATCH 6/7] arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing Alexey Charkov
` (2 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Alexey Charkov @ 2026-11-20 10:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
John Clark, Detlev Casanova
Cc: devicetree, linux-arm-kernel, linux-rockchip, Alexey Charkov
Let the RTL8211F PHYs power down while no link partner is present
(Advanced Link Down Power Saving), which a PHY leaves disabled after
reset. The PHY on GMAC0 is also strapped to stop its PLL in that state
(PLLOFF pulled up through R338), so an unplugged port draws close to
nothing; the one on GMAC1 leaves the strap open (R368 and R369 not
fitted) and keeps its PLL running, but still saves the rest.
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
index b8547395c608..45a4489863bf 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
@@ -783,6 +783,7 @@ rgmii_phy0: ethernet-phy@1 {
reset-assert-us = <20000>;
reset-deassert-us = <100000>;
reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
+ realtek,aldps-enable;
};
};
@@ -795,6 +796,7 @@ rgmii_phy1: ethernet-phy@1 {
reset-assert-us = <20000>;
reset-deassert-us = <100000>;
reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;
+ realtek,aldps-enable;
};
};
--
2.56.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 6/7] arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
` (4 preceding siblings ...)
2026-11-20 10:48 ` [PATCH 5/7] arm64: dts: rockchip: Enable ALDPS on Sige5 " Alexey Charkov
@ 2026-11-20 10:48 ` Alexey Charkov
2026-11-20 10:48 ` [PATCH 7/7] arm64: dts: rockchip: Shorten Sige5 " Alexey Charkov
2026-11-25 20:20 ` [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Heiko Stuebner
7 siblings, 0 replies; 11+ messages in thread
From: Alexey Charkov @ 2026-11-20 10:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
John Clark, Detlev Casanova
Cc: devicetree, linux-arm-kernel, linux-rockchip, Alexey Charkov
Use the RTL8211F datasheet minimums for the PHY reset: hold PHYRSTB low
for 10ms, then wait 30ms before the first register access (Rev. 1.1,
section 7.17). With 20ms/100ms every reset of a PHY keeps its port from
coming up for 80ms longer than the PHY needs.
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
index 638e00b6e165..3444198b6cf6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
@@ -809,8 +809,8 @@ rgmii_phy0: ethernet-phy@1 {
interrupts = <RK_PB1 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&gmac0_int>, <&gmac0_rst>;
- reset-assert-us = <20000>;
- reset-deassert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <30000>;
reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
realtek,aldps-enable;
};
@@ -824,8 +824,8 @@ rgmii_phy1: ethernet-phy@1 {
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&gmac1_int>, <&gmac1_rst>;
- reset-assert-us = <20000>;
- reset-deassert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <30000>;
reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;
realtek,aldps-enable;
};
--
2.56.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 7/7] arm64: dts: rockchip: Shorten Sige5 Ethernet PHY reset to datasheet timing
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
` (5 preceding siblings ...)
2026-11-20 10:48 ` [PATCH 6/7] arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing Alexey Charkov
@ 2026-11-20 10:48 ` Alexey Charkov
2026-11-25 20:20 ` [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Heiko Stuebner
7 siblings, 0 replies; 11+ messages in thread
From: Alexey Charkov @ 2026-11-20 10:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
John Clark, Detlev Casanova
Cc: devicetree, linux-arm-kernel, linux-rockchip, Alexey Charkov
Use the RTL8211F datasheet minimums for the PHY reset: hold PHYRSTB low
for 10ms, then wait 30ms before the first register access (Rev. 1.1,
section 7.17). With 20ms/100ms every reset of a PHY keeps its port from
coming up for 80ms longer than the PHY needs.
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
index 45a4489863bf..3e7158ebdab4 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
@@ -780,8 +780,8 @@ rgmii_phy0: ethernet-phy@1 {
reg = <0x1>;
pinctrl-names = "default";
pinctrl-0 = <&gmac0_rst>;
- reset-assert-us = <20000>;
- reset-deassert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <30000>;
reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
realtek,aldps-enable;
};
@@ -793,8 +793,8 @@ rgmii_phy1: ethernet-phy@1 {
reg = <0x1>;
pinctrl-names = "default";
pinctrl-0 = <&gmac1_rst>;
- reset-assert-us = <20000>;
- reset-deassert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <30000>;
reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;
realtek,aldps-enable;
};
--
2.56.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5
2026-11-20 10:48 [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Alexey Charkov
` (6 preceding siblings ...)
2026-11-20 10:48 ` [PATCH 7/7] arm64: dts: rockchip: Shorten Sige5 " Alexey Charkov
@ 2026-11-25 20:20 ` Heiko Stuebner
2026-11-25 21:58 ` Alexey Charkov
7 siblings, 1 reply; 11+ messages in thread
From: Heiko Stuebner @ 2026-11-25 20:20 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, John Clark,
Detlev Casanova, Alexey Charkov
Cc: Heiko Stuebner, devicetree, linux-arm-kernel, linux-rockchip
On Fri, 20 Nov 2026 14:48:08 +0400, Alexey Charkov wrote:
> Both ArmSoM Sige5 and NanoPi M5 boards use the same Realtek RGMII PHYs
> which currently share an issue preventing them from enumeration unless an
> earlier boot stage left them out of reset: at power-on, their reset lines
> are asserted, so they cannot answer an MDIO probe. Until they answer, the
> OS cannot look up the ID to match a driver. And until the OS has a driver,
> nothing releases their reset line.
>
> [...]
Applied, thanks!
[1/7] arm64: dts: rockchip: Describe NanoPi M5 Ethernet PHYs by their ID
commit: 693e0c4f00389a097d710577ed5c24c4ac3f75a7
[2/7] arm64: dts: rockchip: Describe Sige5 Ethernet PHYs by their ID
commit: 5d839ad9553f90c727157c45471a911f64cd067a
[3/7] arm64: dts: rockchip: Drop NanoPi M5 PHY reference clocks
commit: 9c83b53e6c858a9a8f00ca82ecd1f46d2d723b70
[4/7] arm64: dts: rockchip: Enable ALDPS on NanoPi M5 Ethernet PHYs
commit: 620ad5b09bec5abd83d35bf23c1af1fb68eed80b
[5/7] arm64: dts: rockchip: Enable ALDPS on Sige5 Ethernet PHYs
commit: e48f1d304f7b69b47c6f98b701aa6f8c84ffbb9a
[6/7] arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing
commit: 5efab9e7c28448f6035e7216255f7b76b28ff97b
[7/7] arm64: dts: rockchip: Shorten Sige5 Ethernet PHY reset to datasheet timing
commit: a2a390e7fa9e73ff07d2a9fc002114e299483202
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5
2026-11-25 20:20 ` [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5 Heiko Stuebner
@ 2026-11-25 21:58 ` Alexey Charkov
2026-11-25 22:08 ` Heiko Stübner
0 siblings, 1 reply; 11+ messages in thread
From: Alexey Charkov @ 2026-11-25 21:58 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, John Clark,
Detlev Casanova, devicetree, linux-arm-kernel, linux-rockchip
Hi Heiko,
On Thu, Nov 26, 2026 at 12:21 AM Heiko Stuebner <heiko@sntech.de> wrote:
>
>
> On Fri, 20 Nov 2026 14:48:08 +0400, Alexey Charkov wrote:
> > Both ArmSoM Sige5 and NanoPi M5 boards use the same Realtek RGMII PHYs
> > which currently share an issue preventing them from enumeration unless an
> > earlier boot stage left them out of reset: at power-on, their reset lines
> > are asserted, so they cannot answer an MDIO probe. Until they answer, the
> > OS cannot look up the ID to match a driver. And until the OS has a driver,
> > nothing releases their reset line.
> >
> > [...]
>
> Applied, thanks!
>
> [1/7] arm64: dts: rockchip: Describe NanoPi M5 Ethernet PHYs by their ID
> commit: 693e0c4f00389a097d710577ed5c24c4ac3f75a7
> [2/7] arm64: dts: rockchip: Describe Sige5 Ethernet PHYs by their ID
> commit: 5d839ad9553f90c727157c45471a911f64cd067a
> [3/7] arm64: dts: rockchip: Drop NanoPi M5 PHY reference clocks
> commit: 9c83b53e6c858a9a8f00ca82ecd1f46d2d723b70
> [4/7] arm64: dts: rockchip: Enable ALDPS on NanoPi M5 Ethernet PHYs
> commit: 620ad5b09bec5abd83d35bf23c1af1fb68eed80b
> [5/7] arm64: dts: rockchip: Enable ALDPS on Sige5 Ethernet PHYs
> commit: e48f1d304f7b69b47c6f98b701aa6f8c84ffbb9a
> [6/7] arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing
> commit: 5efab9e7c28448f6035e7216255f7b76b28ff97b
> [7/7] arm64: dts: rockchip: Shorten Sige5 Ethernet PHY reset to datasheet timing
> commit: a2a390e7fa9e73ff07d2a9fc002114e299483202
Would you mind dropping the last two patches here? Sashiko pointed out
that a later revision of the datasheet prescribes longer reset timings
vs. those in the revision I had, and with those in mind it's not worth
the churn.
The rest should be fine.
Thanks a lot!
Best regards,
Alexey
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5
2026-11-25 21:58 ` Alexey Charkov
@ 2026-11-25 22:08 ` Heiko Stübner
0 siblings, 0 replies; 11+ messages in thread
From: Heiko Stübner @ 2026-11-25 22:08 UTC (permalink / raw)
To: Alexey Charkov
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, John Clark,
Detlev Casanova, devicetree, linux-arm-kernel, linux-rockchip
Hey Alexey,
Am Mittwoch, 25. November 2026, 22:58:09 Mitteleuropäische Normalzeit schrieb Alexey Charkov:
> On Thu, Nov 26, 2026 at 12:21 AM Heiko Stuebner <heiko@sntech.de> wrote:
> >
> >
> > On Fri, 20 Nov 2026 14:48:08 +0400, Alexey Charkov wrote:
> > > Both ArmSoM Sige5 and NanoPi M5 boards use the same Realtek RGMII PHYs
> > > which currently share an issue preventing them from enumeration unless an
> > > earlier boot stage left them out of reset: at power-on, their reset lines
> > > are asserted, so they cannot answer an MDIO probe. Until they answer, the
> > > OS cannot look up the ID to match a driver. And until the OS has a driver,
> > > nothing releases their reset line.
> > >
> > > [...]
> >
> > Applied, thanks!
> >
> > [1/7] arm64: dts: rockchip: Describe NanoPi M5 Ethernet PHYs by their ID
> > commit: 693e0c4f00389a097d710577ed5c24c4ac3f75a7
> > [2/7] arm64: dts: rockchip: Describe Sige5 Ethernet PHYs by their ID
> > commit: 5d839ad9553f90c727157c45471a911f64cd067a
> > [3/7] arm64: dts: rockchip: Drop NanoPi M5 PHY reference clocks
> > commit: 9c83b53e6c858a9a8f00ca82ecd1f46d2d723b70
> > [4/7] arm64: dts: rockchip: Enable ALDPS on NanoPi M5 Ethernet PHYs
> > commit: 620ad5b09bec5abd83d35bf23c1af1fb68eed80b
> > [5/7] arm64: dts: rockchip: Enable ALDPS on Sige5 Ethernet PHYs
> > commit: e48f1d304f7b69b47c6f98b701aa6f8c84ffbb9a
> > [6/7] arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing
> > commit: 5efab9e7c28448f6035e7216255f7b76b28ff97b
> > [7/7] arm64: dts: rockchip: Shorten Sige5 Ethernet PHY reset to datasheet timing
> > commit: a2a390e7fa9e73ff07d2a9fc002114e299483202
>
> Would you mind dropping the last two patches here? Sashiko pointed out
> that a later revision of the datasheet prescribes longer reset timings
> vs. those in the revision I had, and with those in mind it's not worth
> the churn.
>
> The rest should be fine.
I've now dropped
a2a390e7fa9e arm64: dts: rockchip: Shorten Sige5 Ethernet PHY reset to datasheet timing
5efab9e7c284 arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing
force-pushed the branch and re-created my for-next branch, so they
should be gone now :-)
Heiko
^ permalink raw reply [flat|nested] 11+ messages in thread