Skip to content

Commit 9d111f9

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 b4c741d commit 9d111f9

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
@@ -382,7 +382,7 @@
382382
status = "disabled";
383383
cc-num = <8>;
384384
interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
385-
clocks = <&fll16m>;
385+
clocks = <&hfxo>;
386386
max-bit-width = <32>;
387387
max-frequency = <DT_FREQ_M(32)>;
388388
prescaler = <0>;
@@ -394,7 +394,7 @@
394394
status = "disabled";
395395
cc-num = <8>;
396396
interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>;
397-
clocks = <&fll16m>;
397+
clocks = <&hfxo>;
398398
max-bit-width = <32>;
399399
max-frequency = <DT_FREQ_M(32)>;
400400
prescaler = <0>;
@@ -406,7 +406,7 @@
406406
status = "disabled";
407407
cc-num = <8>;
408408
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
409-
clocks = <&fll16m>;
409+
clocks = <&hfxo>;
410410
max-bit-width = <32>;
411411
max-frequency = <DT_FREQ_M(32)>;
412412
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)