From 0b83e1c13581b6ea324b6a61c86d843119594913 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 10 Jan 2023 15:21:14 +0100 Subject: [PATCH] boards: olimex f4 based: Provide a USB compatible clock on PLL_Q On these boards, adapt clock configuration to output a USB compatible 48MHz on PLL_Q. Signed-off-by: Erwan Gouriou --- boards/arm/olimex_stm32_e407/olimex_stm32_e407.dts | 4 ++-- boards/arm/olimex_stm32_h405/olimex_stm32_h405.dts | 4 ++-- boards/arm/olimex_stm32_h407/olimex_stm32_h407.dts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/arm/olimex_stm32_e407/olimex_stm32_e407.dts b/boards/arm/olimex_stm32_e407/olimex_stm32_e407.dts index b2e1dd286d4..3d07b2acf3f 100644 --- a/boards/arm/olimex_stm32_e407/olimex_stm32_e407.dts +++ b/boards/arm/olimex_stm32_e407/olimex_stm32_e407.dts @@ -52,8 +52,8 @@ }; &pll { - div-m = <6>; - mul-n = <168>; + div-m = <12>; + mul-n = <336>; div-p = <2>; div-q = <7>; clocks = <&clk_hse>; diff --git a/boards/arm/olimex_stm32_h405/olimex_stm32_h405.dts b/boards/arm/olimex_stm32_h405/olimex_stm32_h405.dts index 1a13a8e2e69..4c168a3d939 100644 --- a/boards/arm/olimex_stm32_h405/olimex_stm32_h405.dts +++ b/boards/arm/olimex_stm32_h405/olimex_stm32_h405.dts @@ -53,8 +53,8 @@ }; &pll { - div-m = <4>; - mul-n = <168>; + div-m = <8>; + mul-n = <336>; div-p = <2>; div-q = <7>; clocks = <&clk_hse>; diff --git a/boards/arm/olimex_stm32_h407/olimex_stm32_h407.dts b/boards/arm/olimex_stm32_h407/olimex_stm32_h407.dts index f74bddb953d..a0d1dd1f80b 100644 --- a/boards/arm/olimex_stm32_h407/olimex_stm32_h407.dts +++ b/boards/arm/olimex_stm32_h407/olimex_stm32_h407.dts @@ -52,8 +52,8 @@ }; &pll { - div-m = <6>; - mul-n = <168>; + div-m = <12>; + mul-n = <336>; div-p = <2>; div-q = <7>; clocks = <&clk_hse>;