tests: counter: RW612 dts overlay support for basic_api tests

Remove memory spaces not needed for the counter_basic_api test.
Add frdm_rw612.overlay

Signed-off-by: David Leach <david.leach@nxp.com>
This commit is contained in:
David Leach 2024-10-30 14:27:39 -05:00 committed by Mahesh Mahadevan
parent 0856ceed7b
commit 21f37c8bfd
2 changed files with 64 additions and 1 deletions

View File

@ -0,0 +1,48 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&ctimer1 {
status = "okay";
};
&ctimer2 {
status = "okay";
};
&ctimer3 {
status = "okay";
};
&mrt0_channel1 {
status = "okay";
};
&mrt0_channel3 {
status = "okay";
};
&mrt1_channel2 {
status = "okay";
};
&mrt1_channel3 {
status = "okay";
};
/*
* For testing purposes, free up memory spaces not needed by the testing.
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};

View File

@ -1,5 +1,5 @@
/*
* Copyright 2023 NXP
* Copyright 2023-2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -31,3 +31,18 @@
&mrt1_channel3 {
status = "okay";
};
/*
* For testing purposes, free up memory spaces not needed by the testing.
*/
&smu1 {
smu1_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};
&smu2 {
smu2_data: memory@0 {
/delete-property/ zephyr,memory-attr;
};
};