Skip to content

Commit

Permalink
boards: nucleo_wba52cg: Update core freq to provide 48MHz on PLLQ
Browse files Browse the repository at this point in the history
PLL Q is used as 48MHz clock source, which is required for RNG

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
  • Loading branch information
erwango authored and fabiobaltieri committed Jul 19, 2023
1 parent ef0d358 commit e13c193
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions boards/arm/nucleo_wba52cg/nucleo_wba52cg.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@

&pll1 {
div-m = <8>;
mul-n = <100>;
mul-n = <48>;
div-q = <2>;
div-r = <4>;
div-r = <2>;
clocks = <&clk_hse>;
status = "okay";
};

&rcc {
clocks = <&pll1>;
clock-frequency = <DT_FREQ_M(100)>;
clock-frequency = <DT_FREQ_M(96)>;
ahb-prescaler = <1>;
ahb5-prescaler = <4>;
apb1-prescaler = <1>;
Expand Down Expand Up @@ -123,3 +123,7 @@
<&rcc STM32_SRC_LSE LPTIM1_SEL(3)>;
status = "okay";
};

&rng {
status = "okay";
};

0 comments on commit e13c193

Please sign in to comment.