Skip to content

Commit 98262af

Browse files
gmarullnashif
authored andcommitted
dts: arm: st: f4: add definition for backup SRAM
Add DT definition for the backup SRAM. Only added to F4 models supporting it. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent f92d125 commit 98262af

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

dts/arm/st/f4/stm32f405.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,14 @@
235235
status = "disabled";
236236
label = "RNG";
237237
};
238+
239+
backup_sram: memory@40024000 {
240+
compatible = "st,stm32-backup-sram";
241+
reg = <0x40024000 DT_SIZE_K(4)>;
242+
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00040000>;
243+
label = "BACKUP_SRAM";
244+
status = "disabled";
245+
};
238246
};
239247

240248
otghs_fs_phy: otghs_fs_phy {

dts/arm/st/f4/stm32f446.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@
4343
status = "disabled";
4444
label= "OTGHS";
4545
};
46+
47+
backup_sram: memory@40024000 {
48+
compatible = "st,stm32-backup-sram";
49+
reg = <0x40024000 DT_SIZE_K(4)>;
50+
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00040000>;
51+
label = "BACKUP_SRAM";
52+
status = "disabled";
53+
};
4654
};
4755

4856
otghs_fs_phy: otghs_fs_phy {

0 commit comments

Comments
 (0)