Skip to content

Commit 444e59e

Browse files
FRASTMkartben
authored andcommitted
dts: arm: stm32h7 hsi clock requires hsi-div property
The compatible: "st,stm32h7-hsi-clock" has HSI clock divider required which is set to 1, by default, delevering 64MHz in the stm32h7.dtsi and stm32h7rs.dtsi (As done for stm32h5 and other series) Signed-off-by: Francois Ramu <[email protected]>
1 parent 661161c commit 444e59e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dts/arm/st/h7/stm32h7.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
clk_hsi: clk-hsi {
6767
#clock-cells = <0>;
6868
compatible = "st,stm32h7-hsi-clock";
69+
hsi-div = <1>; /* HSI RC: 64MHz, hsi_clk = 64MHz */
6970
clock-frequency = <DT_FREQ_M(64)>;
7071
status = "disabled";
7172
};

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
clk_hsi: clk-hsi {
9898
#clock-cells = <0>;
9999
compatible = "st,stm32h7-hsi-clock";
100+
hsi-div = <1>; /* HSI RC: 64MHz, hsi_clk = 64MHz */
100101
clock-frequency = <DT_FREQ_M(64)>;
101102
status = "disabled";
102103
};

0 commit comments

Comments
 (0)