samples/drivers/watchdog: stm32: Configure bus using device tree
Move bus configuration to device tree. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
13860524dd
commit
37d2227412
4 changed files with 8 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
CONFIG_CLOCK_STM32_APB1_PRESCALER=16
|
|
@ -1,3 +1,7 @@
|
|||
&rcc {
|
||||
apb1-prescaler = <16>;
|
||||
};
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
CONFIG_CLOCK_STM32_APB1_PRESCALER=4
|
|
@ -4,6 +4,10 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&rcc {
|
||||
apb1-prescaler = <4>;
|
||||
};
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue