Skip to content

Commit 0a038f4

Browse files
committed
dts: arm: st: c0: Add clk-hsi48 for stm32c071 SOC
Allow to use internal HSI to clock the USB bus if HSE is not available. Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
1 parent 8c37252 commit 0a038f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dts/arm/st/c0/stm32c071.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
#include <st/c0/stm32c031.dtsi>
88

99
/ {
10+
clocks {
11+
clk_hsi48: clk-hsi48 {
12+
#clock-cells = <0>;
13+
compatible = "st,stm32-hsi48-clock";
14+
clock-frequency = <DT_FREQ_M(48)>;
15+
status = "disabled";
16+
};
17+
};
18+
1019
soc {
1120
compatible = "st,stm32c071", "st,stm32c0", "simple-bus";
1221

0 commit comments

Comments
 (0)