Skip to content

Commit e07f124

Browse files
nordic-krchkl-cruz
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]>
1 parent 83e7a28 commit e07f124

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
@@ -374,7 +374,7 @@
374374
status = "disabled";
375375
cc-num = <8>;
376376
interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
377-
clocks = <&fll16m>;
377+
clocks = <&hfxo>;
378378
max-bit-width = <32>;
379379
max-frequency = <DT_FREQ_M(32)>;
380380
prescaler = <0>;
@@ -386,7 +386,7 @@
386386
status = "disabled";
387387
cc-num = <8>;
388388
interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>;
389-
clocks = <&fll16m>;
389+
clocks = <&hfxo>;
390390
max-bit-width = <32>;
391391
max-frequency = <DT_FREQ_M(32)>;
392392
prescaler = <0>;
@@ -398,7 +398,7 @@
398398
status = "disabled";
399399
cc-num = <8>;
400400
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
401-
clocks = <&fll16m>;
401+
clocks = <&hfxo>;
402402
max-bit-width = <32>;
403403
max-frequency = <DT_FREQ_M(32)>;
404404
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
@@ -88,6 +88,13 @@
8888
#clock-cells = <0>;
8989
clock-frequency = <DT_FREQ_M(16)>;
9090
};
91+
92+
hsfll120: hsfll120 {
93+
compatible = "fixed-clock";
94+
clocks = <&fll16m>;
95+
#clock-cells = <0>;
96+
clock-frequency = <DT_FREQ_M(320)>;
97+
};
9198
};
9299

93100
soc {
@@ -261,7 +268,7 @@
261268
cc-num = <8>;
262269
interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
263270
max-bit-width = <32>;
264-
max-frequency = <DT_FREQ_M(32)>;
271+
clocks = <&hfxo>;
265272
prescaler = <0>;
266273
};
267274

@@ -272,7 +279,7 @@
272279
cc-num = <8>;
273280
interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>;
274281
max-bit-width = <32>;
275-
max-frequency = <DT_FREQ_M(32)>;
282+
clocks = <&hfxo>;
276283
prescaler = <0>;
277284
};
278285

@@ -283,7 +290,7 @@
283290
cc-num = <8>;
284291
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
285292
max-bit-width = <32>;
286-
max-frequency = <DT_FREQ_M(32)>;
293+
clocks = <&hfxo>;
287294
prescaler = <0>;
288295
};
289296

@@ -462,7 +469,7 @@
462469
cc-num = <6>;
463470
interrupts = <226 NRF_DEFAULT_IRQ_PRIORITY>;
464471
max-bit-width = <32>;
465-
max-frequency = <DT_FREQ_M(320)>;
472+
clocks = <&hsfll120>;
466473
prescaler = <0>;
467474
};
468475

@@ -473,7 +480,7 @@
473480
cc-num = <6>;
474481
interrupts = <227 NRF_DEFAULT_IRQ_PRIORITY>;
475482
max-bit-width = <32>;
476-
max-frequency = <DT_FREQ_M(320)>;
483+
clocks = <&hsfll120>;
477484
prescaler = <0>;
478485
};
479486

0 commit comments

Comments
 (0)