Skip to content

Commit 51ca23b

Browse files
committed
boards: st: stm32n6570_dk: switch psram area to non-cacheable
Video encoder requires non-cacheable memory. Signed-off-by: Hugues Fruchet <[email protected]>
1 parent 35bce9d commit 51ca23b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <zephyr/dt-bindings/flash_controller/xspi.h>
1111
#include <zephyr/dt-bindings/gpio/raspberrypi-csi-connector.h>
1212
#include <zephyr/dt-bindings/input/input-event-codes.h>
13+
#include <zephyr/dt-bindings/memory-attr/memory-attr-sw.h>
1314
#include <zephyr/dt-bindings/video/video-interfaces.h>
1415
#include "arduino_r3_connector.dtsi"
1516

@@ -42,7 +43,7 @@
4243
compatible = "zephyr,memory-region";
4344
reg = <0x90000000 DT_SIZE_M(32)>;
4445
zephyr,memory-region = "PSRAM";
45-
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM) | DT_MEM_SW_ALLOC_CACHE )>;
46+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) | DT_MEM_SW_ALLOC_NON_CACHE )>;
4647
};
4748

4849
leds: leds {

0 commit comments

Comments
 (0)