Skip to content

Commit 0a2c6a0

Browse files
joerchancarlescufi
authored andcommitted
include: dt-bindings: clock: fix stm32f7 missing HSE and PLLI2S_R source
Fix stm32f7 missing the definition for HSE and PLLI2S_R clock source. Signed-off-by: Joakim Andersson <[email protected]>
1 parent 3b9c34d commit 0a2c6a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@
3030
/** Fixed clocks */
3131
/* Low speed clocks defined in stm32_common_clocks.h */
3232
#define STM32_SRC_HSI (STM32_SRC_LSI + 1)
33+
#define STM32_SRC_HSE (STM32_SRC_HSI + 1)
3334
/** PLL clock outputs */
34-
#define STM32_SRC_PLL_P (STM32_SRC_HSI + 1)
35+
#define STM32_SRC_PLL_P (STM32_SRC_HSE + 1)
3536
#define STM32_SRC_PLL_Q (STM32_SRC_PLL_P + 1)
3637
#define STM32_SRC_PLL_R (STM32_SRC_PLL_Q + 1)
3738
/** Peripheral bus clock */
3839
#define STM32_SRC_PCLK (STM32_SRC_PLL_R + 1)
3940

41+
#define STM32_SRC_PLLI2S_R (STM32_SRC_PCLK + 1)
42+
4043

4144
#define STM32_CLOCK_REG_MASK 0xFFU
4245
#define STM32_CLOCK_REG_SHIFT 0U

0 commit comments

Comments
 (0)