[PATCH v16 9/9] arm64: dts: realtek: Add clock support for RTD1625

From: Yu-Chun Lin

Date: Thu Nov 12 2026 - 00:32:58 EST


Add the clock controller nodes and osc27m fixed clock for the
Realtek RTD1625 SoC.

Signed-off-by: Yu-Chun Lin <eleanor.lin@xxxxxxxxxxx>
---
Changes in v16:
- Add 'clock-names = "osc27m"' to the 'cc' and 'iso_s_cc' clock controller nodes.
- Explicitly wire up internal parent clocks from the 'cc' controller to the 'ic'
clock controller, along with their corresponding 'clock-names'.
---
arch/arm64/boot/dts/realtek/kent.dtsi | 41 +++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/kent.dtsi b/arch/arm64/boot/dts/realtek/kent.dtsi
index df0d5ee3b1b9..fdb2bc2b3c79 100644
--- a/arch/arm64/boot/dts/realtek/kent.dtsi
+++ b/arch/arm64/boot/dts/realtek/kent.dtsi
@@ -5,6 +5,7 @@
* Copyright (c) 2024 Realtek Semiconductor Corp.
*/

+#include <dt-bindings/clock/realtek,rtd1625-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

@@ -26,6 +27,15 @@ timer {
<GIC_PPI 12 IRQ_TYPE_LEVEL_HIGH>;
};

+ clocks {
+ osc27m: osc {
+ compatible = "fixed-clock";
+ clock-frequency = <27000000>;
+ clock-output-names = "osc27m";
+ #clock-cells = <0>;
+ };
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
@@ -141,6 +151,28 @@ rbus: bus@98000000 {
#address-cells = <1>;
#size-cells = <1>;

+ cc: clock-controller@0 {
+ compatible = "realtek,rtd1625-crt-clk";
+ reg = <0x0 0x900>;
+ clocks = <&osc27m>;
+ clock-names = "osc27m";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
+
+ ic: clock-controller@7088 {
+ compatible = "realtek,rtd1625-iso-clk";
+ reg = <0x7088 0x8>;
+ clocks = <&osc27m>, <&cc RTD1625_CRT_CLK_SYS>,
+ <&cc RTD1625_CRT_CLK_SYSH>,
+ <&cc RTD1625_CRT_CLK_DDSA_DIV4>,
+ <&cc RTD1625_CRT_CLK_EN_MISC>;
+ clock-names = "osc27m", "clk_sys", "clk_sysh", "clk_ddsa_div4",
+ "clk_en_misc";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
+
uart0: serial@7800 {
compatible = "snps,dw-apb-uart";
reg = <0x7800 0x100>;
@@ -205,6 +237,15 @@ isom_pinctrl: pinctrl@146200 {
reg = <0x146200 0x34>;
};

+ iso_s_cc: clock-controller@146310 {
+ compatible = "realtek,rtd1625-iso-s-clk";
+ reg = <0x146310 0x8>;
+ clocks = <&osc27m>;
+ clock-names = "osc27m";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
+
ve4_pinctrl: pinctrl@14e000 {
compatible = "realtek,rtd1625-ve4-pinctrl";
reg = <0x14e000 0x84>;
--
2.43.0