Skip to content

Commit 4b784a6

Browse files
committed
boards: st: stm32h745i_disco: m7: Fix sdram available size
According to UM2488 section 6.12[1], the available SDRAM size is only 8MB by hardware design, though 128Bit SDRAM is connected. Link: https://www.st.com/resource/en/user_manual/um2488-discovery-kits-with-stm32h745xi-and-stm32h750xb-mcus-stmicroelectronics.pdf [1] Signed-off-by: Jisheng Zhang <[email protected]>
1 parent f1c2ce4 commit 4b784a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
sdram2: sdram@d0000000 {
3838
compatible = "zephyr,memory-region", "mmio-sram";
3939
device_type = "memory";
40-
reg = <0xd0000000 DT_SIZE_M(16)>; /* 128Mbit */
40+
reg = <0xd0000000 DT_SIZE_M(8)>; /* 128Mbit, but only half is available by HW design */
4141
zephyr,memory-region = "SDRAM2";
4242
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM)>;
4343
};

0 commit comments

Comments
 (0)