tests/drivers/clock_control: stm32u5: Fix pll_msis_80 test config
PLL input should be between 4 and 16MHz, so when MSI is set to 4MHz fix PLLM can't be higher than 1. Fix PLL1-NQR in consequence. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
424f937c2b
commit
bc2a0b65a6
2 changed files with 6 additions and 6 deletions
|
@ -21,9 +21,9 @@
|
|||
|
||||
&pll1 {
|
||||
div-m = <1>;
|
||||
mul-n = <40>;
|
||||
div-q = <1>;
|
||||
div-r = <1>;
|
||||
mul-n = <80>;
|
||||
div-q = <4>;
|
||||
div-r = <4>;
|
||||
clocks = <&clk_msis>;
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
|||
&rcc {
|
||||
clocks = <&pll1>;
|
||||
ahb-prescaler = <2>; /* Use AHB prescaler to reduce HCLK */
|
||||
clock-frequency = <DT_FREQ_M(80)>;
|
||||
clock-frequency = <DT_FREQ_M(40)>;
|
||||
apb1-prescaler = <1>;
|
||||
apb2-prescaler = <1>;
|
||||
apb3-prescaler = <1>;
|
|
@ -4,8 +4,8 @@ common:
|
|||
tests:
|
||||
drivers.stm32_clock_configuration.u5.sysclksrc_pll_msis_160:
|
||||
extra_args: DTC_OVERLAY_FILE="boards/clear_clocks.overlay;boards/pll_msis_160.overlay"
|
||||
drivers.stm32_clock_configuration.u5.pll_msis_hab_2_80:
|
||||
extra_args: DTC_OVERLAY_FILE="boards/clear_clocks.overlay;boards/pll_msis_ahb_2_80.overlay"
|
||||
drivers.stm32_clock_configuration.u5.pll_msis_hab_2_40:
|
||||
extra_args: DTC_OVERLAY_FILE="boards/clear_clocks.overlay;boards/pll_msis_ahb_2_40.overlay"
|
||||
drivers.stm32_clock_configuration.u5.sysclksrc_pll_hsi_160:
|
||||
extra_args: DTC_OVERLAY_FILE="boards/clear_clocks.overlay;boards/pll_hsi_160.overlay"
|
||||
drivers.stm32_clock_configuration.u5.sysclksrc_pll_hsi_40:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue