Skip to content

Commit 01fc83d

Browse files
nordic-krchnashif
authored andcommitted
boards: nordic: nrf54h20dk: Add cpuapp TCM memory section
Add memory section which is placed in cpuapp TCM (Tightly Coupled Memory) RAM0 which is fast, non-cacheable. Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent d9f1761 commit 01fc83d

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -334,26 +334,24 @@ zephyr_udc0: &usbhs {
334334
status = "okay";
335335
};
336336

337-
/* Trim this RAM block for power management related features. */
338337
&cpuapp_ram0 {
339-
reg = <0x22000000 (DT_SIZE_K(32) - 256)>;
340-
ranges = <0x0 0x22000000 (0x8000 - 0x100)>;
341-
};
338+
cpuapp_tcm_region: cpuapp_ram0@0 {
339+
compatible = "zephyr,memory-region";
340+
reg = <0x00000000 (DT_SIZE_K(32) - 256)>;
341+
zephyr,memory-region = "APP_RAM0";
342+
};
342343

343-
/ {
344-
soc {
345-
/* cache control functions - must be executed from local SRAM */
346-
pm_ramfunc: cpuapp_s2ram@22007f00 {
347-
compatible = "zephyr,memory-region", "mmio-sram";
348-
reg = <0x22007f00 192>;
349-
zephyr,memory-region = "PMLocalRamfunc";
350-
};
344+
/* cache control functions - must be executed from local SRAM */
345+
pm_ramfunc: cpuapp_s2ram@7f00 {
346+
compatible = "zephyr,memory-region", "mmio-sram";
347+
reg = <0x00007f00 192>;
348+
zephyr,memory-region = "PMLocalRamfunc";
349+
};
351350

352-
/* run-time common S2RAM cpu context RAM */
353-
pm_s2ram: cpuapp_s2ram@22007fe0 {
354-
compatible = "zephyr,memory-region", "mmio-sram";
355-
reg = <0x22007fe0 32>;
356-
zephyr,memory-region = "pm_s2ram_context";
357-
};
351+
/* run-time common S2RAM cpu context RAM */
352+
pm_s2ram: cpuapp_s2ram@7fe0 {
353+
compatible = "zephyr,memory-region", "mmio-sram";
354+
reg = <0x00007fe0 32>;
355+
zephyr,memory-region = "pm_s2ram_context";
358356
};
359357
};

0 commit comments

Comments
 (0)