boards: nordic: do not enable DMA_RAM21 region by default

This region is only required if certain fast peripherals make use of such
region for DMAing. It was now enabled on all builds, often resulting in:

```
[134/134] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       24372 B       248 KB      9.60%
             RAM:        4448 B       256 KB      1.70%
       DMA_RAM21:          0 GB        16 KB      0.00% <~~ Not used!
   DMA_RAM3x_APP:          40 B         4 KB      0.98%
        IDT_LIST:          0 GB        32 KB      0.00%
```

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-09-26 14:43:57 +02:00 committed by Fabio Baltieri
parent d82acdc4e4
commit de70ebd66f
6 changed files with 16 additions and 8 deletions

View file

@ -193,10 +193,6 @@ ipc0: &cpuapp_cpurad_ipc {
status = "okay";
};
&dma_fast_region {
status = "okay";
};
&cpuapp_rx_partitions {
status = "okay";
};

View file

@ -197,10 +197,6 @@ ipc0: &cpuapp_cpurad_ipc {
status = "okay";
};
&dma_fast_region {
status = "okay";
};
&cpuapp_rx_partitions {
status = "okay";
};

View file

@ -47,6 +47,10 @@
memory-regions = <&cpuapp_dma_region>;
};
&dma_fast_region {
status = "okay";
};
&spi120
{
compatible = "nordic,nrf-spim";

View file

@ -46,6 +46,10 @@
status = "okay";
};
&dma_fast_region {
status = "okay";
};
&spi121 {
compatible = "nordic,nrf-spim";
status = "okay";

View file

@ -46,6 +46,10 @@
status = "okay";
};
&dma_fast_region {
status = "okay";
};
&spi121 {
compatible = "nordic,nrf-spim";
status = "okay";

View file

@ -23,6 +23,10 @@
};
};
&dma_fast_region {
status = "okay";
};
&spi120 {
status = "okay";
pinctrl-0 = <&spi120_default>;