Skip to content

Commit ab7db7c

Browse files
committed
boards: st: stm32h7s3l8 nucleo board supporting xspi instance
Add the XSPI 2 which is an octoSPI connection to a octo NOR flash MX25UW25645GXDI00 (256 Mbits, 1.8 V, 200 MHz, DTR, rww) on the nucleo_h7s3l8 board. Use the STM32Cube programmer to flash with the corresponding external loader for XiP mode. Signed-off-by: Francois Ramu <[email protected]>
1 parent 78caa9a commit ab7db7c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

boards/st/nucleo_h7s3l8/nucleo_h7s3l8.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@
5555
watchdog0 = &iwdg;
5656
spi-flash0 = &mx25uw25645;
5757
};
58+
59+
ext_memory: memory@70000000 {
60+
compatible = "zephyr,memory-region";
61+
reg = <0x70000000 DT_SIZE_M(64)>;
62+
zephyr,memory-region = "EXTMEM";
63+
/* The ATTR_MPU_EXTMEM attribut causing a MPU FAULT */
64+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
65+
};
5866
};
5967

6068
&clk_lsi {
@@ -186,6 +194,7 @@
186194
ospi-max-frequency = <DT_FREQ_M(50)>;
187195
spi-bus-width = <XSPI_OCTO_MODE>;
188196
data-rate = <XSPI_DTR_TRANSFER>;
197+
four-byte-opcodes;
189198
status = "okay";
190199

191200
partitions {

0 commit comments

Comments
 (0)