Skip to content

Commit faddb5a

Browse files
FRASTMkartben
authored andcommitted
dts: arm: stm32h7rs mcu with external memory area
Defines the corresponding memory area of the MPU for the external NOR xspi node. Signed-off-by: Francois Ramu <[email protected]>
1 parent 4bb618c commit faddb5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <zephyr/dt-bindings/adc/adc.h>
1616
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
1717
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
18+
#include <zephyr/dt-bindings/flash_controller/xspi.h>
1819
#include <freq.h>
1920

2021
/*
@@ -81,7 +82,8 @@
8182
compatible = "zephyr,memory-region";
8283
reg = <0x70000000 DT_SIZE_M(256)>;
8384
zephyr,memory-region = "EXTMEM";
84-
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_EXTMEM) )>;
85+
/* The ATTR_MPU_EXTMEM attribut causing a MPU FAULT */
86+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
8587
};
8688

8789
clocks {

0 commit comments

Comments
 (0)