File tree Expand file tree Collapse file tree 2 files changed +30
-6
lines changed
include/zephyr/dt-bindings/clock Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,23 @@ properties:
2424 description : |
2525 Division factor for the PLL input clock
2626 Valid range: 2 - 63
27+
28+ div-q :
29+ type : int
30+ description : |
31+ PLLI2S division factor for I2S Clocks to supply USB/SDIO/RNG
32+ enum :
33+ - 2
34+ - 3
35+ - 4
36+ - 5
37+ - 6
38+ - 7
39+ - 8
40+ - 9
41+ - 10
42+ - 11
43+ - 12
44+ - 13
45+ - 14
46+ - 15
Original file line number Diff line number Diff line change 2828/* defined in stm32_common_clocks.h */
2929/** Fixed clocks */
3030/* Low speed clocks defined in stm32_common_clocks.h */
31- #define STM32_SRC_HSI (STM32_SRC_LSI + 1)
32- #define STM32_SRC_HSE (STM32_SRC_HSI + 1)
31+ #define STM32_SRC_HSI (STM32_SRC_LSI + 1)
32+ #define STM32_SRC_HSE (STM32_SRC_HSI + 1)
3333/** PLL clock outputs */
34- #define STM32_SRC_PLL_P (STM32_SRC_HSE + 1)
35- #define STM32_SRC_PLL_Q (STM32_SRC_PLL_P + 1)
36- #define STM32_SRC_PLL_R (STM32_SRC_PLL_Q + 1)
34+ #define STM32_SRC_PLL_P (STM32_SRC_HSE + 1)
35+ #define STM32_SRC_PLL_Q (STM32_SRC_PLL_P + 1)
36+ #define STM32_SRC_PLL_R (STM32_SRC_PLL_Q + 1)
3737/** I2S sources */
38- #define STM32_SRC_PLLI2S_R (STM32_SRC_PLL_R + 1)
38+ #define STM32_SRC_PLLI2S_Q (STM32_SRC_PLL_R + 1)
39+ #define STM32_SRC_PLLI2S_R (STM32_SRC_PLLI2S_Q + 1)
40+ /* CLK48MHz sources */
41+ #define STM32_SRC_CK48 (STM32_SRC_PLLI2S_R + 1)
42+
3943/* I2S_CKIN not supported yet */
4044/* #define STM32_SRC_I2S_CKIN TBD */
4145
You can’t perform that action at this time.
0 commit comments