Skip to contentSkip to conversation

arm64: dts: cavium: thunder-88xx: Add missing PL011 "uartclk"

PATCH Applied Rob Herring (Arm) 2 participants 2 messages Dec 16, 2025 – Dec 22, 2025 Device tree bindings

lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: cavium: thunder-88xx: 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.

---
SoC maintainers, Please take this directly.

 arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/cavium/thunder-88xx.dtsi +4 -4
index cc860a80af51..70430cb2b053 100644
@@ -401,16 +401,16 @@ uaa0: serial@87e024000000 {
 			compatible = "arm,pl011", "arm,primecell";
 			reg = <0x87e0 0x24000000 0x0 0x1000>;
 			interrupts = <1 21 4>;
-			clocks = <&refclk50mhz>;
-			clock-names = "apb_pclk";
+			clocks = <&refclk50mhz>, <&refclk50mhz>;
+			clock-names = "uartclk", "apb_pclk";
 		};
 
 		uaa1: serial@87e025000000 {
 			compatible = "arm,pl011", "arm,primecell";
 			reg = <0x87e0 0x25000000 0x0 0x1000>;
 			interrupts = <1 22 4>;
-			clocks = <&refclk50mhz>;
-			clock-names = "apb_pclk";
+			clocks = <&refclk50mhz>, <&refclk50mhz>;
+			clock-names = "uartclk", "apb_pclk";
 		};
 	};
 };
Signature · 1 line
2.51.0
#1 lore raw
Quoted 6 lines · Rob Herring (Arm)

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.

Applied, thanks!

[1/1] arm64: dts: cavium: thunder-88xx: Add missing PL011 "uartclk"

      https://git.kernel.org/krzk/linux-dt/c/15e3ce53673289624bab4e6a60207af4775f4a38

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>