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:
Jerzy Kasenberg 2022-12-21 13:49:28 +01:00 committed by Carles Cufí
commit d58b315165
2 changed files with 24 additions and 0 deletions

View file

@ -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";
};

View file

@ -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