tests: drivers: counter: Enable counter test for MAX32666
This commit enables counter test for MAX32666 boards. Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
parent
7f5fa21333
commit
6e36e9bfae
2 changed files with 74 additions and 0 deletions
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Analog Devices, Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&timer0 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&timer1 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&timer2 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&timer3 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Analog Devices, Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&timer0 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&timer1 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&timer2 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&timer3 {
|
||||
status = "okay";
|
||||
prescaler = <2>;
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue