[PATCH v2 1/3] arm64: dts: socfpga: agilex5: replace clocks reference with clock-frequency for dw-apb-timer
From: Adrian Ng Ho Yin
Date: Thu Sep 03 2026 - 14:02:28 EST
The Agilex5 clock manager is a platform driver initialised at
core_initcall, after time_init() where TIMER_OF_DECLARE callbacks run.
The timer cannot defer its probe, so clk_get() fails and the timer is
never brought up.
With clock-frequency, the tick rate is read directly from the DT node
without involving the clock framework, allowing the timer to initialise
regardless of when the clock manager is ready.
Replace clocks/clock-names with a static clock-frequency of 100 MHz,
which is the L4_SP clock rate configured by the bootloader.
Fixes: 2d599bc43813 ("arm64: dts: agilex5: add initial support for Intel Agilex5 SoCFPGA")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng@xxxxxxxxxx>
---
arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
index f54767d1526e..f5bc37fa8583 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
@@ -429,32 +429,28 @@ timer0: timer0@10c03000 {
compatible = "snps,dw-apb-timer";
reg = <0x10c03000 0x100>;
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clkmgr AGILEX5_L4_SP_CLK>;
- clock-names = "timer";
+ clock-frequency = <100000000>;
};
timer1: timer1@10c03100 {
compatible = "snps,dw-apb-timer";
reg = <0x10c03100 0x100>;
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clkmgr AGILEX5_L4_SP_CLK>;
- clock-names = "timer";
+ clock-frequency = <100000000>;
};
timer2: timer2@10d00000 {
compatible = "snps,dw-apb-timer";
reg = <0x10d00000 0x100>;
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clkmgr AGILEX5_L4_SP_CLK>;
- clock-names = "timer";
+ clock-frequency = <100000000>;
};
timer3: timer3@10d00100 {
compatible = "snps,dw-apb-timer";
reg = <0x10d00100 0x100>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clkmgr AGILEX5_L4_SP_CLK>;
- clock-names = "timer";
+ clock-frequency = <100000000>;
};
uart0: serial@10c02000 {
--
2.49.GIT