Skip to content

Commit 70eb6e5

Browse files
committed
dts: arm: st: h7rs: Enable HSI internal clock
Enable HSI clock node to fix get_hclk_frequency() returns 0 when called from stm32_clock_control_init(). HSI on is the devices reset default value anyway, but the STM32_HSI_FREQ define is set to 0 when not enabled. Signed-off-by: Thomas Decker <[email protected]>
1 parent 6cbf0b8 commit 70eb6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
compatible = "st,stm32h7-hsi-clock";
112112
hsi-div = <1>; /* HSI RC: 64MHz, hsi_clk = 64MHz */
113113
clock-frequency = <DT_FREQ_M(64)>;
114-
status = "disabled";
114+
status = "okay"; /* controller reset default is on */
115115
};
116116

117117
clk_hsi48: clk-hsi48 {

0 commit comments

Comments
 (0)