* [PATCH] arm64: dts: broadcom: Assign clock rates in eth node for RPi5
@ 2025-10-21 13:55 Andrea della Porta
2025-10-24 17:57 ` Florian Fainelli
0 siblings, 1 reply; 2+ messages in thread
From: Andrea della Porta @ 2025-10-21 13:55 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
Broadcom internal kernel review list, devicetree,
linux-rpi-kernel, linux-arm-kernel, linux-kernel,
Stanimir Varbanov, Andrew Lunn, iivanov, mbrugger, Phil Elwell
Cc: 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")
Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
---
arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
index b8f256545022..09a849dd09b1 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
@@ -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>;
--
2.35.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: broadcom: Assign clock rates in eth node for RPi5
2025-10-21 13:55 [PATCH] arm64: dts: broadcom: Assign clock rates in eth node for RPi5 Andrea della Porta
@ 2025-10-24 17:57 ` Florian Fainelli
0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2025-10-24 17:57 UTC (permalink / raw)
To: bcm-kernel-feedback-list, Andrea della Porta, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Florian Fainelli, devicetree,
linux-rpi-kernel, linux-arm-kernel, linux-kernel,
Stanimir Varbanov, Andrew Lunn, iivanov, mbrugger, Phil Elwell
Cc: Florian Fainelli
From: Florian Fainelli <f.fainelli@gmail.com>
On Tue, 21 Oct 2025 15:55:33 +0200, Andrea della Porta <andrea.porta@suse.com> wrote:
> 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")
> Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-24 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-21 13:55 [PATCH] arm64: dts: broadcom: Assign clock rates in eth node for RPi5 Andrea della Porta
2025-10-24 17:57 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®