Skip to content

Commit fbf5ded

Browse files
duda-patrykstephanosio
authored andcommitted
dts: arm: st: wb: Add RTC BBRAM to DTS
All STM32WB devices have 20 4-byte battery-backed backup registers in RTC. Signed-off-by: Patryk Duda <[email protected]>
1 parent 5c3f8bf commit fbf5ded

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dts/arm/st/wb/stm32wb.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,12 @@
247247
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00000400>;
248248
prescaler = <32768>;
249249
status = "disabled";
250+
251+
bbram: backup_regs {
252+
compatible = "st,stm32-bbram";
253+
st,backup-regs = <20>;
254+
status = "disabled";
255+
};
250256
};
251257

252258
spi1: spi@40013000 {

0 commit comments

Comments
 (0)