Skip to content

Commit 14829cf

Browse files
committed
boards: portentah7: allow memory mapping external QSPI flash
This commit enable QSPI flash memory mapping on Arduino Portenta H7 Signed-off-by: Mattia Pennasilico <[email protected]>
1 parent 0972207 commit 14829cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

boards/arduino/portenta_h7/arduino_portenta_h7_stm32h747xx_m7.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@
4545
zephyr,memory-region = "SDRAM1";
4646
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM) )>;
4747
};
48+
49+
ext_memory: memory@90000000 {
50+
compatible = "zephyr,memory-region";
51+
reg = <0x90000000 DT_SIZE_M(16)>; /* max addressable area */
52+
zephyr,memory-region = "EXTMEM";
53+
/* The ATTR_MPU_EXTMEM attribut causing a MPU FAULT */
54+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
55+
};
4856
};
4957

5058
&clk_hse {

0 commit comments

Comments
 (0)