st,stm32g5-pll-clock

Description

STM32G5 PLL

STM32G5 devices have PLL1 and, on supported devices, PLL2. Each PLL uses
HSI or HSE as its input, with an M prescaler and an integer or fractional N
multiplier to generate the VCO clock. P, Q and R dividers produce the PLL
outputs. The R output feeds an additional divider for IC1 or IC2.

The VCO and PLL output frequencies are given by:

  f(VCO) = f(PLL input) / M * (N + FRACN / 8192)
  f(PLLx_P) = f(VCO) / P
  f(PLLx_Q) = f(VCO) / Q
  f(PLLx_R) = f(VCO) / R

The intermediate clocks are derived from the corresponding R output:

  f(IC1) = f(PLL1_R) / ICLK1DIV
  f(IC2) = f(PLL2_R) / ICLK2DIV

The iclk-div property selects a division ratio of 3 or 5 for each PLL.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

iclk-div

int

Additional division ratio for the PLL intermediate clock output (PLLx_R).
STM32G5 supports only division by 3 or 5.

Default value: 5

Legal values: 3, 5

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.

Constant value: 0

div-m

int

Prescaler for PLLx
input clock

This property is required.

Value range: 1 to 16

mul-n

int

PLLx multiplication factor for VCO

This property is required.

Value range: 4 to 512

div-p

int

PLLx DIVP division factor

Value range: 1 to 128

div-q

int

PLLx DIVQ division factor

Value range: 1 to 128

div-r

int

PLLx DIVR division factor
On PLL1, only division by 1 and even division values are allowed.
No restrictions for PLL2 and PLL3

This property is required.

Value range: 1 to 128

fracn

int

PLLx FRACN value

Value range: 0 to 8191