Skip to contentSkip to conversation

arm64: dts: cavium: thunder2: Add missing PL011 "uartclk"

PATCH Applied Rob Herring (Arm) 2 participants 2 messages Jun 9, 2025 – Jul 3, 2025 Device tree bindings

lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: cavium: thunder2: Add missing PL011 "uartclk"

The PL011 IP has 2 clock inputs for UART core/baud and APB bus. The Thunder2 SoC is missing the core "uartclk". In this case, the Linux driver uses single clock for both clock inputs. Let's assume that's how the h/w is wired and make the DT reflect that.

---
Arnd, Please apply directly.

 arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi +2 -2
index 6dfe78a7d4ab..966fb57280f3 100644
@@ -136,8 +136,8 @@ uart0: serial@402020000 {
 			reg = <0x04 0x02020000 0x0 0x1000>;
 			interrupt-parent = <&gic>;
 			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk125mhz>;
-			clock-names = "apb_pclk";
+			clocks = <&clk125mhz>, <&clk125mhz>;
+			clock-names = "uartclk", "apb_pclk";
 		};
 	};
 
Signature · 1 line
2.47.2
#1 lore raw
This patch was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:

Quoted 8 lines · On Mon, 9 Jun 2025 16:57:06 -0500 you wrote:

The PL011 IP has 2 clock inputs for UART core/baud and APB bus. The Thunder2 SoC is missing the core "uartclk". In this case, the Linux driver uses single clock for both clock inputs. Let's assume that's how the h/w is wired and make the DT reflect that.

[...]

Here is the summary with links:
- arm64: dts: cavium: thunder2: Add missing PL011 "uartclk"

    https://git.kernel.org/soc/soc/c/0d495db1b9bd

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html