dts: nordic: add CC count to RTC and TIMER nodes

The number of capture/compare registers available on a peripheral
should be exposed in devicetree.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2020-10-31 07:48:37 -05:00 committed by Carles Cufí
commit ae6b236d26
13 changed files with 77 additions and 0 deletions

View file

@ -11,6 +11,14 @@ properties:
reg:
required: true
cc-num:
type: int
required: true
description: |
Number of compare (CC) registers available.
On nRF53 these registers can also be used for capture.
# If enabled, overflow different than full range (24 bits) is handled
# through PPI channel which ensures precise timing. If disabled then
# counter is cleared in the interrupt which results in accumulative error