Skip to contentSkip to conversation

arm64: dts: broadcom: Assign clock rates in eth node for RPi5

PATCH Applied Andrea della Porta 2 participants 2 messages Oct 21, 2025 – Oct 24, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: broadcom: Assign clock rates in eth node for RPi5

In Raspberry Pi 5 DTS, the Ethernet clock rates must be assigned as the default clock register values are not valid for the Ethernet interface to function.
This can be done either in rp1_clocks node or in rp1_eth node.

Define the rates in rp1_eth node, as those clocks are 'leaf' clocks used specifically by the Ethernet device only.

Fixes 43456fdfc014 ("arm64: dts: broadcom: Enable RP1 ethernet for Raspberry Pi 5")
---
 arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts +4 -0
index b8f256545022..09a849dd09b1 100644
@@ -23,6 +23,10 @@ &pcie2 {
 };
 
 &rp1_eth {
+	assigned-clocks = <&rp1_clocks RP1_CLK_ETH_TSU>,
+			  <&rp1_clocks RP1_CLK_ETH>;
+	assigned-clock-rates = <50000000>,
+			       <125000000>;
 	status = "okay";
 	phy-mode = "rgmii-id";
 	phy-handle = <&phy1>;
Signature · 1 line
2.35.3
maintainer Applied
#1 lore raw

From: Florian Fainelli <[email protected]>

Quoted 11 lines · Andrea della Porta

In Raspberry Pi 5 DTS, the Ethernet clock rates must be assigned as the default clock register values are not valid for the Ethernet interface to function.
This can be done either in rp1_clocks node or in rp1_eth node.

Define the rates in rp1_eth node, as those clocks are 'leaf' clocks used specifically by the Ethernet device only.

Fixes 43456fdfc014 ("arm64: dts: broadcom: Enable RP1 ethernet for Raspberry Pi 5")

---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks! --
Florian