dts: nordic nrf-timer: Expose max frequency as DT property
The counter driver needs to know what is the maximum counting frequency of each timer peripheral. Let's add it to its DT. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
5468569dab
commit
0ecfac663d
3 changed files with 18 additions and 1 deletions
|
@ -24,10 +24,20 @@ properties:
|
|||
interrupts:
|
||||
required: true
|
||||
|
||||
max-frequency:
|
||||
type: int
|
||||
default: 16000000
|
||||
description: |
|
||||
Maximum timer frequency in Hz.
|
||||
|
||||
The default value is 16MHz which was the maximum frequency for all nRF TIMER peripherals
|
||||
up to the nRF54 series, and still remains the most typical maximum frequency for nRF54
|
||||
TIMERs.
|
||||
|
||||
prescaler:
|
||||
type: int
|
||||
required: true
|
||||
description: Prescaler value determines frequency (base_frequency/2^prescaler)
|
||||
description: Prescaler value determines frequency (max-frequency/2^prescaler)
|
||||
|
||||
zli:
|
||||
type: boolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue