boards: nrf54h20dk: add ram21 memory region

This memory region is used for not only but also DMA transfers
of the fast peripherals.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
Nikodem Kastelik 2024-05-29 14:31:38 +02:00 committed by Fabio Baltieri
commit 8b8c0a7bf0
2 changed files with 30 additions and 0 deletions

View file

@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
/ {
reserved-memory {
@ -92,6 +93,27 @@
};
};
ram21_region: memory@2f890000 {
compatible = "nordic,owned-memory";
status = "disabled";
reg = <0x2f890000 DT_SIZE_K(64)>;
perm-read;
perm-write;
perm-secure;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x2f890000 0x10000>;
dma_fast_region: memory@8000 {
compatible = "zephyr,memory-region";
reg = <0x8000 DT_SIZE_K(16)>;
status = "disabled";
#memory-region-cells = <0>;
zephyr,memory-region = "DMA_RAM21";
zephyr,memory-attr = <( DT_MEM_CACHEABLE )>;
};
};
cpuppr_ram3x_region: memory@2fc00000 {
compatible = "nordic,owned-memory";
reg = <0x2fc00000 DT_SIZE_K(64)>;

View file

@ -108,6 +108,10 @@
status = "okay";
};
&ram21_region {
status = "okay";
};
&cpuapp_bellboard {
status = "okay";
interrupts = <96 NRF_DEFAULT_IRQ_PRIORITY>;
@ -156,6 +160,10 @@ ipc0: &cpuapp_cpurad_ipc {
status = "okay";
};
&dma_fast_region {
status = "okay";
};
&cpuapp_rx_partitions {
status = "okay";
};