dts: arm: silabs: Describe RTC timers correctly
The DT node "stimer0" represented two different hardware timers, RTCC and SYSRTC. Use the correct peripheral names for the nodes. Add interrupt names and missing interrupt numbers. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
parent
578008cd47
commit
f302daf67a
9 changed files with 13 additions and 9 deletions
|
|
@ -134,7 +134,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&stimer0 {
|
||||
&rtcc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&stimer0 {
|
||||
&sysrtc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&stimer0 {
|
||||
&rtcc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&stimer0 {
|
||||
&sysrtc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -74,8 +74,9 @@
|
|||
clocks = <&cmu CLOCK_BURTC CLOCK_BRANCH_EM4GRPACLK>;
|
||||
};
|
||||
|
||||
&stimer0 {
|
||||
&rtcc0 {
|
||||
interrupts = <12 0>;
|
||||
interrupt-names = "rtcc";
|
||||
clocks = <&cmu CLOCK_RTCC CLOCK_BRANCH_RTCCCLK>;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -84,8 +84,9 @@
|
|||
clocks = <&cmu CLOCK_BURTC CLOCK_BRANCH_EM4GRPACLK>;
|
||||
};
|
||||
|
||||
&stimer0 {
|
||||
&rtcc0 {
|
||||
interrupts = <15 0>;
|
||||
interrupt-names = "rtcc";
|
||||
clocks = <&cmu CLOCK_RTCC CLOCK_BRANCH_RTCCCLK>;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
stimer0: stimer@58000000 {
|
||||
rtcc0: stimer0: rtcc@58000000 {
|
||||
compatible = "silabs,gecko-stimer";
|
||||
reg = <0x58000000 0x3054>;
|
||||
clock-frequency = <32768>;
|
||||
|
|
|
|||
|
|
@ -260,6 +260,7 @@
|
|||
compatible = "silabs,gecko-stimer";
|
||||
reg = <0x58000000 0x400>;
|
||||
interrupts = <10 0>;
|
||||
interrupt-names = "rtcc";
|
||||
clock-frequency = <32768>;
|
||||
prescaler = <1>;
|
||||
clocks = <&cmu CLOCK_AUTO CLOCK_BRANCH_RTCCCLK>;
|
||||
|
|
|
|||
|
|
@ -330,10 +330,11 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
stimer0: stimer@500a8000 {
|
||||
sysrtc0: stimer0: sysrtc@500a8000 {
|
||||
compatible = "silabs,gecko-stimer";
|
||||
reg = <0x500a8000 0x3054>;
|
||||
interrupts = <67 0>;
|
||||
interrupts = <67 0>, <68 0>;
|
||||
interrupt-names = "sysrtc_app", "sysrtc_seq";
|
||||
clock-frequency = <32768>;
|
||||
prescaler = <1>;
|
||||
clocks = <&cmu CLOCK_SYSRTC0 CLOCK_BRANCH_SYSRTCCLK>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue