tests/drivers/watchdog: stm32: Move bus config to dts

Bus frequency configuration should now be done using device tree.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-05-05 12:03:35 +02:00 committed by Kumar Gala
commit 7d21af4d39
4 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,8 @@
&rcc {
/* Reduce APB1 speed to achieve test window timings */
apb1-prescaler = <16>;
};
&wwdg {
status = "okay";
};

View file

@ -4,6 +4,11 @@
* SPDX-License-Identifier: Apache-2.0
*/
&rcc {
/* Reduce APB1 speed to achieve test window timings */
apb1-prescaler = <16>;
};
&wwdg {
status = "okay";
};

View file

@ -4,6 +4,11 @@
* SPDX-License-Identifier: Apache-2.0
*/
&rcc {
/* Reduce APB1 speed to achieve test window timings */
apb1-prescaler = <16>;
};
&wwdg {
status = "okay";
};

View file

@ -8,8 +8,6 @@ tests:
depends_on: watchdog
tags: drivers watchdog
filter: dt_compat_enabled("st,stm32-window-watchdog")
extra_configs:
- CONFIG_CLOCK_STM32_APB1_PRESCALER=16
drivers.watchdog.mec15xxevb_assy6853:
depends_on: watchdog
tags: drivers watchdog