Skip to content

Commit a7a9570

Browse files
jurenatfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 4abf3d5 commit a7a9570

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dts/arm/st/c0/stm32c071.dtsi

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

99
/ {
10+
clocks {
11+
/* Node representing the HSIUSB48 generator */
12+
clk_hsi48: clk-hsi48 {
13+
#clock-cells = <0>;
14+
compatible = "st,stm32-hsi48-clock";
15+
clock-frequency = <DT_FREQ_M(48)>;
16+
status = "disabled";
17+
};
18+
};
19+
1020
soc {
1121
compatible = "st,stm32c071", "st,stm32c0", "simple-bus";
1222

0 commit comments

Comments
 (0)