Add clocks property to CPUs in nRF54L series which can be used to get CPU clock frequency #83527
+12
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
nRF54L CPUs and fast peripherals can run at 64 MHz or 128 MHz. So far DT was indicating that CPU is running at 128 MHz and changing that to 64 MHz did not result in changing actual CPU frequency. On the other hand to use 64 MHz a cryptic Kconfig had to be set (
CONFIG_SOC_NRF54LX_SKIP_CLOCK_CONFIG=y
).Added
clocks = <&hfpll>
property to CPU cores in nRF54L and reworked cmake file so that changinghfpll
frequency in DT results in changing CPU frequency.#82901 is adding same property to TIMERs so that there will be a single source of truth regarding frequency of peripherals clocked by the same source.