Skip to content

Commit

Permalink
[nrf fromlist] dts: common: nordic: Add clock source to timers
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
nordic-krch authored and anangl committed Dec 30, 2024
1 parent b5039d9 commit 2d15d9a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
6 changes: 3 additions & 3 deletions dts/common/nordic/nrf54h20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
status = "disabled";
cc-num = <8>;
interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
clocks = <&fll16m>;
clocks = <&hfxo>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(32)>;
prescaler = <0>;
Expand All @@ -396,7 +396,7 @@
status = "disabled";
cc-num = <8>;
interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>;
clocks = <&fll16m>;
clocks = <&hfxo>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(32)>;
prescaler = <0>;
Expand All @@ -408,7 +408,7 @@
status = "disabled";
cc-num = <8>;
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
clocks = <&fll16m>;
clocks = <&hfxo>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(32)>;
prescaler = <0>;
Expand Down
4 changes: 2 additions & 2 deletions dts/common/nordic/nrf54l20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
cc-num = <6>;
max-bit-width = <32>;
interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>;
max-frequency = <DT_FREQ_M(128)>;
clocks = <&hfpll>;
prescaler = <0>;
};

Expand Down Expand Up @@ -181,7 +181,7 @@
cc-num = <8>;
max-bit-width = <32>;
interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>;
max-frequency = <DT_FREQ_M(32)>;
clocks = <&hfxo>;
prescaler = <0>;
};

Expand Down
4 changes: 2 additions & 2 deletions dts/common/nordic/nrf54l_05_10_15.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
cc-num = <6>;
max-bit-width = <32>;
interrupts = <85 NRF_DEFAULT_IRQ_PRIORITY>;
max-frequency = <DT_FREQ_M(128)>;
clocks = <&hfpll>;
prescaler = <0>;
};

Expand Down Expand Up @@ -220,7 +220,7 @@
cc-num = <8>;
max-bit-width = <32>;
interrupts = <133 NRF_DEFAULT_IRQ_PRIORITY>;
max-frequency = <DT_FREQ_M(32)>;
clocks = <&hfxo>;
prescaler = <0>;
};

Expand Down
17 changes: 12 additions & 5 deletions dts/common/nordic/nrf9280.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@
#clock-cells = <0>;
clock-frequency = <DT_FREQ_M(16)>;
};

hsfll120: hsfll120 {
compatible = "fixed-clock";
clocks = <&fll16m>;
#clock-cells = <0>;
clock-frequency = <DT_FREQ_M(320)>;
};
};

soc {
Expand Down Expand Up @@ -265,7 +272,7 @@
cc-num = <8>;
interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(32)>;
clocks = <&hfxo>;
prescaler = <0>;
};

Expand All @@ -276,7 +283,7 @@
cc-num = <8>;
interrupts = <41 NRF_DEFAULT_IRQ_PRIORITY>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(32)>;
clocks = <&hfxo>;
prescaler = <0>;
};

Expand All @@ -287,7 +294,7 @@
cc-num = <8>;
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(32)>;
clocks = <&hfxo>;
prescaler = <0>;
};

Expand Down Expand Up @@ -466,7 +473,7 @@
cc-num = <6>;
interrupts = <226 NRF_DEFAULT_IRQ_PRIORITY>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(320)>;
clocks = <&hsfll120>;
prescaler = <0>;
};

Expand All @@ -477,7 +484,7 @@
cc-num = <6>;
interrupts = <227 NRF_DEFAULT_IRQ_PRIORITY>;
max-bit-width = <32>;
max-frequency = <DT_FREQ_M(320)>;
clocks = <&hsfll120>;
prescaler = <0>;
};

Expand Down

0 comments on commit 2d15d9a

Please sign in to comment.