zephyr/dts/bindings/clock/st,stm32f4-pll-clock.yaml
Benjamin Cabé 2c1538d57e dts: stm32: Streamline Devicetree binding descriptions
Ensure consistent (and concise) short descriptions of all the st,*.yaml
bindings

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-04 21:55:54 +01:00

71 lines
1.5 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copyright (c) 2021, Linaro ltd
# SPDX-License-Identifier: Apache-2.0
description: |
STM32F4 Main PLL.
Takes one of clk_hse or clk_hsi as input clock, with an
input frequency from 1 to 2 MHz. PLLM factor is used to set the input clock
in this acceptable range.
Up to 2 output clocks could be supported and for each output clock, the
frequency can be computed with the following formula:
f(PLL_P) = f(VCO clock) / PLLP --> PLLCLK (System Clock)
f(PLL_Q) = f(VCO clock) / PLLQ --> PLL48CLK (Optional)
with f(VCO clock) = f(PLL clock input) × (PLLN / PLLM)
The PLL output frequency must not exceed 80 MHz.
compatible: "st,stm32f4-pll-clock"
include: [clock-controller.yaml, base.yaml]
properties:
"#clock-cells":
const: 0
clocks:
required: true
div-m:
type: int
required: true
description: |
Division factor for the PLL input clock
Valid range: 2 - 63
mul-n:
type: int
required: true
description: |
Main PLL multiplication factor for VCO
Valid range: 50 - 432
div-p:
type: int
required: true
description: |
Main PLL division factor for PLLSAI2CLK
enum:
- 2
- 4
- 6
- 8
div-q:
type: int
description: |
Main PLL (PLL) division factor for USB OTG FS, SDMMC and random number
generator clocks.
Valid range: 2 - 15
div-r:
type: int
description: |
Main PLL (PLL) division factor for I2S and DFSDM
generator clocks.
Valid range: 2 - 7