Skip to content
Snippets Groups Projects
Commit cb97ff9d authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

clk: stm32: retrieve external oscillator frequency from DT


All current STM32F4 supported boards uses a 8MHz external oscillator.
All current STM32F7 supported boards uses a 25MHz external oscillator.

In order to introduce the new stm32f429-evaluation board which uses a
25MHz external oscillator without creating a dedicated struct
stm32_clk_info for this board, retrieve the external oscillator
frequency from DT and set pll_m accordingly to obtain 1MHz for the VCO.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent baf20a7d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment