Skip to content

Commit 8c37252

Browse files
committed
include: zephyr: dt-bindings: clock: Add HSI48 support STM32C071
STM32C071 have USB peripheral which can be clocked from HSI (HSIUSB48). Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
1 parent e22ca6b commit 8c37252

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/zephyr/dt-bindings/clock/stm32c0_clock.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@
2424
/* defined in stm32_common_clocks.h */
2525
/** Fixed clocks */
2626
/* Low speed clocks defined in stm32_common_clocks.h */
27+
/* STM32_SRC_HSI relates to HSI48 clock mentioned in RM0490 Reference Manual */
2728
#define STM32_SRC_HSI (STM32_SRC_LSI + 1)
28-
#define STM32_SRC_HSE (STM32_SRC_HSI + 1)
29+
/* STM32_SRC_HSI48 relates to HSIUSB48 mentioned in RM0490 Reference Manual */
30+
#define STM32_SRC_HSI48 (STM32_SRC_HSI + 1)
31+
#define STM32_SRC_HSE (STM32_SRC_HSI48 + 1)
2932
/** Peripheral bus clock */
3033
#define STM32_SRC_PCLK (STM32_SRC_HSE + 1)
3134

0 commit comments

Comments
 (0)