2019-11-01 20:45:29 +08:00
|
|
|
# STM32G0 PLL configuration options
|
|
|
|
|
2019-07-02 17:22:51 +08:00
|
|
|
# Copyright (c) 2019 Linaro
|
2019-11-01 20:45:29 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2019-07-02 17:22:51 +08:00
|
|
|
|
|
|
|
if SOC_SERIES_STM32G0X
|
|
|
|
|
|
|
|
config CLOCK_STM32_PLL_N_MULTIPLIER
|
|
|
|
int "PLL multiplier"
|
|
|
|
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
|
|
|
default 8
|
|
|
|
range 8 86
|
|
|
|
help
|
2019-11-01 17:24:07 +08:00
|
|
|
PLL multiplier, allowed values: 8-86
|
|
|
|
PLL output must not exceed 56MHz(1.8V)/26MHz(1.2V).
|
2019-07-02 17:22:51 +08:00
|
|
|
|
|
|
|
config CLOCK_STM32_PLL_M_DIVISOR
|
|
|
|
int "PLL divisor"
|
|
|
|
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
|
|
|
default 1
|
|
|
|
range 1 8
|
|
|
|
help
|
|
|
|
PLL divisor, allowed values: 1-8.
|
|
|
|
|
|
|
|
config CLOCK_STM32_PLL_P_DIVISOR
|
|
|
|
int "PLL P Divisor"
|
|
|
|
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
|
|
|
default 2
|
|
|
|
range 2 32
|
|
|
|
help
|
|
|
|
PLL P VCO divisor, allowed values: 2-32.
|
|
|
|
|
2020-10-08 02:16:01 +08:00
|
|
|
config CLOCK_STM32_PLL_Q_DIVISOR
|
|
|
|
int "PLL Q Divisor"
|
2021-02-18 03:56:24 +08:00
|
|
|
depends on CLOCK_STM32_SYSCLK_SRC_PLL && \
|
|
|
|
(SOC_STM32G031XX || SOC_STM32G051XX || SOC_STM32G071XX || SOC_STM32G0B1XX || SOC_STM32G0B0XX)
|
2020-10-08 02:16:01 +08:00
|
|
|
default 2
|
|
|
|
range 2 8
|
|
|
|
help
|
|
|
|
PLL Q VCO divisor, allowed values: 2-8.
|
2021-02-18 03:56:24 +08:00
|
|
|
Limited to STM32G0B0 and STM32G0X1 variants.
|
2020-10-08 02:16:01 +08:00
|
|
|
|
2019-07-02 17:22:51 +08:00
|
|
|
config CLOCK_STM32_PLL_R_DIVISOR
|
|
|
|
int "PLL R Divisor"
|
|
|
|
depends on CLOCK_STM32_SYSCLK_SRC_PLL
|
|
|
|
default 2
|
|
|
|
range 2 8
|
|
|
|
help
|
|
|
|
PLL R VCO divisor, allowed values: 2-8.
|
|
|
|
|
|
|
|
endif # SOC_SERIES_STM32G0X
|