The latest development version of this page may be more current than this released 4.0.0 version.

st,stm32f1-rcc

Vendor: STMicroelectronics

Description

STM32F1 and STM32F37x Reset and Clock controller node.
Adds the ADC prescaler to the standard generic STM32 RCC.
For more description confere st,stm32-rcc.yaml

Properties

Properties not inherited from the base binding file.

Name

Type

Details

adc-prescaler

int

ADC prescaler. Defines ADC core clock frequency
based on APB2 frequency input.

Legal values: 2, 4, 6, 8

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.

Constant value: 2

clock-frequency

int

default frequency in Hz for clock output

This property is required.

ahb-prescaler

int

AHB prescaler. Defines actual core clock frequency (HCLK)
based on system frequency input.
The HCLK clocks CPU, AHB, memories and DMA.

This property is required.

Legal values: 1, 2, 4, 8, 16, 64, 128, 256, 512

apb1-prescaler

int

This property is required.

Legal values: 1, 2, 4, 8, 16

apb2-prescaler

int

This property is required.

Legal values: 1, 2, 4, 8, 16

undershoot-prevention

boolean

On some parts, it could be required to set up highest core frequencies
(>80MHz) in two steps in order to prevent undershoot.
This is done by applying an intermediate AHB prescaler before switching
System Clock source to PLL. Once done, prescaler is set back to expected
value.

Specifier cell names

  • clock cells: bus, bits