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:
Aksel Skauge Mellbye 2024-10-21 12:14:07 +02:00 committed by Carles Cufí
parent 578008cd47
commit f302daf67a
9 changed files with 13 additions and 9 deletions

View file

@ -134,7 +134,7 @@
status = "okay";
};
&stimer0 {
&rtcc0 {
status = "okay";
};

View file

@ -225,7 +225,7 @@
status = "okay";
};
&stimer0 {
&sysrtc0 {
status = "okay";
};

View file

@ -134,7 +134,7 @@
status = "okay";
};
&stimer0 {
&rtcc0 {
status = "okay";
};

View file

@ -152,7 +152,7 @@
status = "okay";
};
&stimer0 {
&sysrtc0 {
status = "okay";
};

View file

@ -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>;
};

View file

@ -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>;
};

View file

@ -254,7 +254,7 @@
status = "disabled";
};
stimer0: stimer@58000000 {
rtcc0: stimer0: rtcc@58000000 {
compatible = "silabs,gecko-stimer";
reg = <0x58000000 0x3054>;
clock-frequency = <32768>;

View file

@ -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>;

View file

@ -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>;