Skip to content

Commit 582f702

Browse files
committed
boards/stm32f769i_disco: add accessible memory region for QSPI flash
By default, the QSPI region is marked as EXTMEM and inaccessible (see zephyrproject-rtos#57467), mark the first 64MB as IO on stm32f769i_disco. Signed-off-by: Armin Brauns <[email protected]>
1 parent d5ced65 commit 582f702

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

boards/st/stm32f769i_disco/stm32f769i_disco.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@
7474
sw0 = &user_button;
7575
spi-flash0 = &mx25l51245g;
7676
};
77+
78+
quadspi_memory_avail: memory-avail@90000000 {
79+
compatible = "zephyr,memory-region", "mmio-sram";
80+
reg = <0x90000000 DT_SIZE_M(64)>;
81+
zephyr,memory-region = "QSPI_AVAIL";
82+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
83+
};
7784
};
7885

7986
&clk_hse {

dts/arm/st/f7/stm32f7.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
};
4545
};
4646

47-
quadspi_memory: memory@90000000 {
47+
quadspi_memory: memory-placeholder@90000000 {
4848
compatible = "zephyr,memory-region", "mmio-sram";
4949
reg = <0x90000000 DT_SIZE_M(256)>;
50-
zephyr,memory-region = "QSPI";
50+
zephyr,memory-region = "QSPI_PLACEHOLDER";
5151
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_EXTMEM) )>;
5252
};
5353

0 commit comments

Comments
 (0)