Skip to content

Commit 61fbc0d

Browse files
nordic-krchmstasiaknordic
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 2f94056 commit 61fbc0d

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
@@ -145,7 +145,7 @@
145145
cc-num = <6>;
146146
max-bit-width = <32>;
147147
interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>;
148-
max-frequency = <DT_FREQ_M(128)>;
148+
clocks = <&hfpll>;
149149
prescaler = <0>;
150150
};
151151

@@ -174,7 +174,7 @@
174174
cc-num = <8>;
175175
max-bit-width = <32>;
176176
interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>;
177-
max-frequency = <DT_FREQ_M(32)>;
177+
clocks = <&hfxo>;
178178
prescaler = <0>;
179179
};
180180

dts/common/nordic/nrf54l_05_10_15.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
cc-num = <6>;
185185
max-bit-width = <32>;
186186
interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>;
187-
max-frequency = <DT_FREQ_M(128)>;
187+
clocks = <&hfpll>;
188188
prescaler = <0>;
189189
};
190190

@@ -213,7 +213,7 @@
213213
cc-num = <8>;
214214
max-bit-width = <32>;
215215
interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>;
216-
max-frequency = <DT_FREQ_M(32)>;
216+
clocks = <&hfxo>;
217217
prescaler = <0>;
218218
};
219219

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

@@ -463,7 +470,7 @@
463470
cc-num = <6>;
464471
interrupts = <226 NRF_DEFAULT_IRQ_PRIORITY>;
465472
max-bit-width = <32>;
466-
max-frequency = <DT_FREQ_M(320)>;
473+
clocks = <&hsfll120>;
467474
prescaler = <0>;
468475
};
469476

@@ -474,7 +481,7 @@
474481
cc-num = <6>;
475482
interrupts = <227 NRF_DEFAULT_IRQ_PRIORITY>;
476483
max-bit-width = <32>;
477-
max-frequency = <DT_FREQ_M(320)>;
484+
clocks = <&hsfll120>;
478485
prescaler = <0>;
479486
};
480487

0 commit comments

Comments
 (0)