tests: drivers: counter: basic_api: add overlay for da1469x_dk_pro
Overlay adds 4 timers for testing and selects various frequencies to select high speed (DIVN) and low-speed (LP-CLK) as sources. Different prescalers are applied for different timers to test wider range of conditions. Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
This commit is contained in:
parent
cc53f3f021
commit
d58b315165
2 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
&timer1 {
|
||||
clock-src = <&lp_clk>;
|
||||
prescaler = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer2 {
|
||||
clock-src = <&divn_clk>;
|
||||
prescaler = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer3 {
|
||||
clock-src = <&lp_clk>;
|
||||
prescaler = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer4 {
|
||||
clock-src = <&divn_clk>;
|
||||
prescaler = <32>;
|
||||
status = "okay";
|
||||
};
|
|
@ -53,6 +53,7 @@ static const struct device *const devices[] = {
|
|||
DEVS_FOR_DT_COMPAT(microchip_xec_timer)
|
||||
DEVS_FOR_DT_COMPAT(nxp_imx_epit)
|
||||
DEVS_FOR_DT_COMPAT(nxp_imx_gpt)
|
||||
DEVS_FOR_DT_COMPAT(renesas_smartbond_timer)
|
||||
#ifdef CONFIG_COUNTER_MCUX_CTIMER
|
||||
DEVS_FOR_DT_COMPAT(nxp_lpc_ctimer)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue