Skip to content

Commit 1a8bd48

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 1a8bd48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts

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

0 commit comments

Comments
 (0)