dts: arm: st: h7rs: Increase memory size of sram0
The h7rs option byte default setting configures the AXI SRAM1-4 as one
contiguous memory, sram0 can therefore be increased to 456k (3x128k + 72k).
The .yaml files of the boards nucleo_h7s3l8 and stm32h7s78_dk are adjusted
accordingly.
Signed-off-by: Thomas Decker <decker@jb-lighting.de>
diff --git a/boards/st/nucleo_h7s3l8/nucleo_h7s3l8.yaml b/boards/st/nucleo_h7s3l8/nucleo_h7s3l8.yaml
index 76ca9c1..f3527b8 100644
--- a/boards/st/nucleo_h7s3l8/nucleo_h7s3l8.yaml
+++ b/boards/st/nucleo_h7s3l8/nucleo_h7s3l8.yaml
@@ -4,7 +4,7 @@
arch: arm
toolchain:
- zephyr
-ram: 128
+ram: 456
flash: 64
supported:
- gpio
diff --git a/boards/st/stm32h7s78_dk/stm32h7s78_dk.yaml b/boards/st/stm32h7s78_dk/stm32h7s78_dk.yaml
index 7e27000..1d21206 100644
--- a/boards/st/stm32h7s78_dk/stm32h7s78_dk.yaml
+++ b/boards/st/stm32h7s78_dk/stm32h7s78_dk.yaml
@@ -4,7 +4,7 @@
arch: arm
toolchain:
- zephyr
-ram: 128
+ram: 456
flash: 64
supported:
- arduino_gpio
diff --git a/boards/st/stm32h7s78_dk/stm32h7s78_dk_stm32h7s7xx_ext_flash_app.yaml b/boards/st/stm32h7s78_dk/stm32h7s78_dk_stm32h7s7xx_ext_flash_app.yaml
index 3538615..92ef668 100644
--- a/boards/st/stm32h7s78_dk/stm32h7s78_dk_stm32h7s7xx_ext_flash_app.yaml
+++ b/boards/st/stm32h7s78_dk/stm32h7s78_dk_stm32h7s7xx_ext_flash_app.yaml
@@ -4,7 +4,7 @@
arch: arm
toolchain:
- zephyr
-ram: 128
+ram: 456
flash: 61439 # size in kB of 1 app slot minus MCUboot header size (1KB)
sysbuild: true
supported:
diff --git a/dts/arm/st/h7rs/stm32h7rs.dtsi b/dts/arm/st/h7rs/stm32h7rs.dtsi
index 834ea11..d5746a2 100644
--- a/dts/arm/st/h7rs/stm32h7rs.dtsi
+++ b/dts/arm/st/h7rs/stm32h7rs.dtsi
@@ -49,9 +49,9 @@
};
};
- /* System data RAM accessible over AXI bus: AXI SRAM1 in CD domain */
+ /* System data RAM accessible over AXI bus: AXI SRAM1 to AXI SRAM4 in CD domain */
sram0: memory@24000000 {
- reg = <0x24000000 DT_SIZE_K(128)>;
+ reg = <0x24000000 DT_SIZE_K(456)>;
compatible = "zephyr,memory-region", "mmio-sram";
zephyr,memory-region = "SRAM0";
};