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:
parent
ba2413f544
commit
ae6b236d26
13 changed files with 77 additions and 0 deletions
|
@ -149,6 +149,7 @@
|
|||
rtc0: rtc@4000b000 {
|
||||
compatible = "nordic,nrf-rtc";
|
||||
reg = <0x4000b000 0x1000>;
|
||||
cc-num = <3>;
|
||||
interrupts = <11 1>;
|
||||
status = "okay";
|
||||
clock-frequency = <32768>;
|
||||
|
@ -159,6 +160,7 @@
|
|||
rtc1: rtc@40011000 {
|
||||
compatible = "nordic,nrf-rtc";
|
||||
reg = <0x40011000 0x1000>;
|
||||
cc-num = <4>;
|
||||
interrupts = <17 1>;
|
||||
status = "okay";
|
||||
clock-frequency = <32768>;
|
||||
|
@ -170,6 +172,7 @@
|
|||
compatible = "nordic,nrf-timer";
|
||||
status = "okay";
|
||||
reg = <0x40008000 0x1000>;
|
||||
cc-num = <4>;
|
||||
interrupts = <8 1>;
|
||||
prescaler = <0>;
|
||||
label = "TIMER_0";
|
||||
|
@ -179,6 +182,7 @@
|
|||
compatible = "nordic,nrf-timer";
|
||||
status = "okay";
|
||||
reg = <0x40009000 0x1000>;
|
||||
cc-num = <4>;
|
||||
interrupts = <9 1>;
|
||||
prescaler = <0>;
|
||||
label = "TIMER_1";
|
||||
|
@ -188,6 +192,7 @@
|
|||
compatible = "nordic,nrf-timer";
|
||||
status = "okay";
|
||||
reg = <0x4000a000 0x1000>;
|
||||
cc-num = <4>;
|
||||
interrupts = <10 1>;
|
||||
prescaler = <0>;
|
||||
label = "TIMER_2";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue