Skip to content

Commit 71c83df

Browse files
benjaminbjornssoncarlescufi
authored andcommitted
dts: arm: stm32c0: Add rtc node
Add rtc node to the STM32C0-series. Signed-off-by: Benjamin Björnsson <[email protected]>
1 parent c02688a commit 71c83df

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dts/arm/st/c0/stm32c0.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@
142142
};
143143
};
144144

145+
rtc: rtc@40002800 {
146+
compatible = "st,stm32-rtc";
147+
reg = <0x40002800 0x400>;
148+
interrupts = <2 0>;
149+
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000400>;
150+
prescaler = <32768>;
151+
status = "disabled";
152+
};
153+
145154
usart1: serial@40013800 {
146155
compatible = "st,stm32-usart", "st,stm32-uart";
147156
reg = <0x40013800 0x400>;

0 commit comments

Comments
 (0)