Skip to content

Commit 382a6d5

Browse files
jerome-pouillerkartben
authored andcommitted
drivers: dma: siwx91x: Do not cache shared memory
Memory areas for DMA descriptors are shared with the DMA hardware block. There area should be cached by the CPU. Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent 164bbdf commit 382a6d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dts/arm/silabs/siwg917.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
compatible = "zephyr,memory-region", "mmio-sram";
3737
reg = <0x0002fc00 DT_SIZE_K(1)>;
3838
zephyr,memory-region = "dma0";
39-
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM)>;
39+
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)>;
4040
};
4141

4242
sram_dma1: memory-dma@24061c00 {
4343
compatible = "zephyr,memory-region", "mmio-sram";
4444
reg = <0x24061c00 DT_SIZE_K(1)>;
4545
zephyr,memory-region = "dma1";
46-
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM)>;
46+
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)>;
4747
};
4848

4949
bt_hci0: bt_hci {

0 commit comments

Comments
 (0)