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:
parent
02ce386d05
commit
7d21af4d39
4 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
&rcc {
|
||||
/* Reduce APB1 speed to achieve test window timings */
|
||||
apb1-prescaler = <16>;
|
||||
};
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue