Skip to content

Commit ee0aecc

Browse files
djiatsaf-stdanieldegrasse
authored andcommitted
boards: st: nucleo_u385rg_q: update clock domain source for rng
Several tests failed due to a low clock frequency for the RNG peripheral. Increase the RNG clock frequency by providing MSIK with 96 MHz as the domain source. Signed-off-by: Fabrice DJIATSA <[email protected]> (cherry picked from commit ac733b1)
1 parent 21c942f commit ee0aecc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
status = "okay";
111111
};
112112

113+
&clk_msik {
114+
status = "okay";
115+
};
116+
113117
&clk_msis {
114118
status = "okay";
115119
msi-pll-mode;
@@ -160,6 +164,8 @@
160164
};
161165

162166
&rng {
167+
clocks = <&rcc STM32_CLOCK(AHB2, 18)>,
168+
<&rcc STM32_SRC_MSIK RNG_SEL(1)>;
163169
status = "okay";
164170
};
165171

0 commit comments

Comments
 (0)