st,stm32g0-pll-clock

Description

STM32G0 main PLL.

It can take one of clk_hse or clk_hsi as input clock, with
an input frequency from 2.66 to 16 MHz. PLLM factor is used to set the input
clock in this acceptable range.

PLL can have up to 3 output clocks and for each output clock, the
frequency can be computed with the following formulae:

  f(PLL_P) = f(VCO clock) / PLLP  --> to I2S
  f(PLL_Q) = f(VCO clock) / PLLQ  --> to RNG
  f(PLL_R) = f(VCO clock) / PLLR  --> PLLCLK (System Clock)

    with f(VCO clock) = f(PLL clock input) × (PLLN / PLLM)

The PLL output frequency must not exceed 64 MHz.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.

Constant value: 0

div-m

int

Division factor for PLL input clock

This property is required.

Value range: 1 to 8

mul-n

int

Main PLL multiplication factor for VCO

This property is required.

Value range: 8 to 86

div-p

int

PLL division factor for PLL P output

Value range: 2 to 32

div-q

int

PLL division factor for PLL Q output

Value range: 2 to 8

div-r

int

PLL division factor for PLLCLK (system clock)

This property is required.

Value range: 2 to 8