Skip to content

Commit 800edb2

Browse files
FRASTMcarlescufi
authored andcommitted
dts: arm: stm32f7 declares sram0 as zephyr, memory-region
Declare the SRAM0 region as memory-region for the stm32f745 serie. Will be included for the stm32f746 for the stm32f765 serie. Will be included for the stm32f767 for the stm32f722 serie. Will be included for the stm32f723 Signed-off-by: Francois Ramu <[email protected]>
1 parent 0a3b601 commit 800edb2

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

dts/arm/st/f7/stm32f722.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
*/
1313

1414
sram0: memory@20010000 {
15-
compatible = "mmio-sram";
15+
compatible = "zephyr,memory-region", "mmio-sram";
1616
reg = <0x20010000 DT_SIZE_K(192)>;
17+
zephyr,memory-region = "SRAM0";
1718
};
1819

1920
dtcm: memory@20000000 {

dts/arm/st/f7/stm32f745.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
/* 64KB DTCM @ 20000000, 240KB SRAM1 @ 20010000, 16KB SRAM2 @ 2004C000 */
1111

1212
sram0: memory@20010000 {
13-
compatible = "mmio-sram";
13+
compatible = "zephyr,memory-region", "mmio-sram";
1414
reg = <0x20010000 DT_SIZE_K(256)>;
15+
zephyr,memory-region = "SRAM0";
1516
};
1617

1718
dtcm: memory@20000000 {

dts/arm/st/f7/stm32f765.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
*/
1313

1414
sram0: memory@20020000 {
15-
compatible = "mmio-sram";
15+
compatible = "zephyr,memory-region", "mmio-sram";
1616
reg = <0x20020000 DT_SIZE_K(384)>;
17+
zephyr,memory-region = "SRAM0";
1718
};
1819

1920
dtcm: memory@20000000 {

0 commit comments

Comments
 (0)