tests: drivers: retained_mem: api: add support for nrf54h20
retained_mem driver is now compatible with nrf54h20 cpuapp & cpurad. Also add missing .conf for nrf54l15. Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
parent
7048e0bec3
commit
e9f1f41e28
6 changed files with 52 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
CONFIG_POWEROFF=y
|
|
@ -0,0 +1,22 @@
|
|||
/ {
|
||||
cpuapp_ram0_ret@22004000 {
|
||||
compatible = "zephyr,memory-region", "mmio-sram";
|
||||
reg = <0x22004000 DT_SIZE_K(16)>;
|
||||
zephyr,memory-region = "RetainedMem";
|
||||
status = "okay";
|
||||
|
||||
retainedmem0: retainedmem {
|
||||
compatible = "zephyr,retained-ram";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
aliases {
|
||||
retainedmemtestdevice = &retainedmem0;
|
||||
};
|
||||
};
|
||||
|
||||
&cpuapp_ram0 {
|
||||
reg = <0x22000000 DT_SIZE_K(16)>;
|
||||
ranges = <0x0 0x22000000 0x4000>;
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
CONFIG_POWEROFF=y
|
|
@ -0,0 +1,22 @@
|
|||
/ {
|
||||
cpurad_ram0_ret@2302c000 {
|
||||
compatible = "zephyr,memory-region", "mmio-sram";
|
||||
reg = <0x2302c000 DT_SIZE_K(16)>;
|
||||
zephyr,memory-region = "RetainedMem";
|
||||
status = "okay";
|
||||
|
||||
retainedmem0: retainedmem {
|
||||
compatible = "zephyr,retained-ram";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
aliases {
|
||||
retainedmemtestdevice = &retainedmem0;
|
||||
};
|
||||
};
|
||||
|
||||
&cpurad_ram0 {
|
||||
reg = <0x23000000 DT_SIZE_K(176)>;
|
||||
ranges = <0x0 0x23000000 0x2c000>;
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
CONFIG_POWEROFF=y
|
|
@ -5,7 +5,11 @@ tests:
|
|||
- drivers
|
||||
- retained_mem
|
||||
drivers.retained_mem.api.ram:
|
||||
platform_allow: qemu_cortex_m3 nrf54l15dk/nrf54l15/cpuapp
|
||||
platform_allow:
|
||||
- qemu_cortex_m3
|
||||
- nrf54h20dk/nrf54h20/cpuapp
|
||||
- nrf54h20dk/nrf54h20/cpurad
|
||||
- nrf54l15dk/nrf54l15/cpuapp
|
||||
tags:
|
||||
- drivers
|
||||
- retained_mem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue