Skip to content

Commit 0023986

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

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
@@ -79,6 +79,13 @@
7979
sw0 = &user_button;
8080
spi-flash0 = &mx25l51245g;
8181
};
82+
83+
quadspi_memory_avail: memory-avail@90000000 {
84+
compatible = "zephyr,memory-region", "mmio-sram";
85+
reg = <0x90000000 DT_SIZE_M(64)>;
86+
zephyr,memory-region = "QSPI_AVAIL";
87+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
88+
};
8289
};
8390

8491
&clk_hse {

dts/arm/st/f7/stm32f7.dtsi

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

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

0 commit comments

Comments
 (0)