Skip to content

Commit 0f8c0f3

Browse files
nordic-krchanangl
authored andcommitted
[nrf fromlist] dts: common: nordic: Add clock source to timers
Add clock source to timers which indicates maximum frequency of the timer instance. Upstream PR #: 82901 Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit f5efb38)
1 parent 26e52d0 commit 0f8c0f3

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

dts/common/nordic/nrf54h20.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
status = "disabled";
385385
cc-num = <8>;
386386
interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
387-
clocks = <&fll16m>;
387+
clocks = <&hfxo>;
388388
max-bit-width = <32>;
389389
max-frequency = <DT_FREQ_M(32)>;
390390
prescaler = <0>;
@@ -396,7 +396,7 @@
396396
status = "disabled";
397397
cc-num = <8>;
398398
interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>;
399-
clocks = <&fll16m>;
399+
clocks = <&hfxo>;
400400
max-bit-width = <32>;
401401
max-frequency = <DT_FREQ_M(32)>;
402402
prescaler = <0>;
@@ -408,7 +408,7 @@
408408
status = "disabled";
409409
cc-num = <8>;
410410
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
411-
clocks = <&fll16m>;
411+
clocks = <&hfxo>;
412412
max-bit-width = <32>;
413413
max-frequency = <DT_FREQ_M(32)>;
414414
prescaler = <0>;

dts/common/nordic/nrf54l20.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
cc-num = <6>;
153153
max-bit-width = <32>;
154154
interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>;
155-
max-frequency = <DT_FREQ_M(128)>;
155+
clocks = <&hfpll>;
156156
prescaler = <0>;
157157
};
158158

@@ -181,7 +181,7 @@
181181
cc-num = <8>;
182182
max-bit-width = <32>;
183183
interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>;
184-
max-frequency = <DT_FREQ_M(32)>;
184+
clocks = <&hfxo>;
185185
prescaler = <0>;
186186
};
187187

dts/common/nordic/nrf54l_05_10_15.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
cc-num = <6>;
192192
max-bit-width = <32>;
193193
interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>;
194-
max-frequency = <DT_FREQ_M(128)>;
194+
clocks = <&hfpll>;
195195
prescaler = <0>;
196196
};
197197

@@ -220,7 +220,7 @@
220220
cc-num = <8>;
221221
max-bit-width = <32>;
222222
interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>;
223-
max-frequency = <DT_FREQ_M(32)>;
223+
clocks = <&hfxo>;
224224
prescaler = <0>;
225225
};
226226

dts/common/nordic/nrf9280.dtsi

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@
9292
#clock-cells = <0>;
9393
clock-frequency = <DT_FREQ_M(16)>;
9494
};
95+
96+
hsfll120: hsfll120 {
97+
compatible = "fixed-clock";
98+
clocks = <&fll16m>;
99+
#clock-cells = <0>;
100+
clock-frequency = <DT_FREQ_M(320)>;
101+
};
95102
};
96103

97104
soc {
@@ -265,7 +272,7 @@
265272
cc-num = <8>;
266273
interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
267274
max-bit-width = <32>;
268-
max-frequency = <DT_FREQ_M(32)>;
275+
clocks = <&hfxo>;
269276
prescaler = <0>;
270277
};
271278

@@ -276,7 +283,7 @@
276283
cc-num = <8>;
277284
interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>;
278285
max-bit-width = <32>;
279-
max-frequency = <DT_FREQ_M(32)>;
286+
clocks = <&hfxo>;
280287
prescaler = <0>;
281288
};
282289

@@ -287,7 +294,7 @@
287294
cc-num = <8>;
288295
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
289296
max-bit-width = <32>;
290-
max-frequency = <DT_FREQ_M(32)>;
297+
clocks = <&hfxo>;
291298
prescaler = <0>;
292299
};
293300

@@ -466,7 +473,7 @@
466473
cc-num = <6>;
467474
interrupts = <226 NRF_DEFAULT_IRQ_PRIORITY>;
468475
max-bit-width = <32>;
469-
max-frequency = <DT_FREQ_M(320)>;
476+
clocks = <&hsfll120>;
470477
prescaler = <0>;
471478
};
472479

@@ -477,7 +484,7 @@
477484
cc-num = <6>;
478485
interrupts = <227 NRF_DEFAULT_IRQ_PRIORITY>;
479486
max-bit-width = <32>;
480-
max-frequency = <DT_FREQ_M(320)>;
487+
clocks = <&hsfll120>;
481488
prescaler = <0>;
482489
};
483490

0 commit comments

Comments
 (0)