boards: st: stm32h750 disco kit rd/wr the sdram2

Set the Mode Register definition of the SDRAM command Mode
register to 0x230 when programming the CAS_LATENCY
of the external memory mode.
Adjust the delay on read data path.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2024-07-09 11:14:03 +02:00 committed by Fabio Baltieri
commit f408184b01
2 changed files with 3 additions and 2 deletions

View file

@ -208,7 +208,7 @@
status = "okay"; status = "okay";
power-up-delay = <100>; power-up-delay = <100>;
num-auto-refresh = <8>; num-auto-refresh = <8>;
mode-register = <0x220>; mode-register = <0x230>;
refresh-rate = <0x603>; refresh-rate = <0x603>;
bank@1 { bank@1 {
reg = <1>; reg = <1>;
@ -219,7 +219,7 @@
STM32_FMC_SDRAM_CAS_3 STM32_FMC_SDRAM_CAS_3
STM32_FMC_SDRAM_SDCLK_PERIOD_2 STM32_FMC_SDRAM_SDCLK_PERIOD_2
STM32_FMC_SDRAM_RBURST_ENABLE STM32_FMC_SDRAM_RBURST_ENABLE
STM32_FMC_SDRAM_RPIPE_0>; STM32_FMC_SDRAM_RPIPE_1>;
st,sdram-timing = <2 7 4 7 2 2 2>; st,sdram-timing = <2 7 4 7 2 2 2>;
}; };
}; };

View file

@ -14,4 +14,5 @@ supported:
- dma - dma
- flash - flash
- rtc - rtc
- memc
vendor: st vendor: st