blob: dc2be7d24464a6299cd2c979a9c1417d32c3004c [file] [log] [blame]
/*
* Copyright (c) 2021 Linaro Limited
* Copyright (c) 2023 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Warning: This overlay performs configuration from clean sheet.
* It is assumed that it is applied after clear_clocks.overlay file.
*/
/*
* Warning: HSE frequency differs on available boards, hence:
* This configuration is only available stm32h573 disco kit
*/
&clk_hse {
hse-bypass; /* X3 is a 25MHz oscillator on PH0 */
status = "okay";
clock-frequency = <DT_FREQ_M(25)>;
};
&pll1 {
div-m = <5>;
mul-n = <96>;
div-p = <2>;
div-q = <2>;
div-r = <2>;
clocks = <&clk_hse>;
status = "okay";
};
&rcc {
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(240)>;
ahb-prescaler = <1>;
apb1-prescaler = <1>;
apb2-prescaler = <1>;
apb3-prescaler = <1>;
};