drivers: clock_control: Add STM32G4X clock support
Add clock support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
This commit is contained in:
parent
b87878d09c
commit
ca7cbb5a08
8 changed files with 158 additions and 9 deletions
|
@ -12,5 +12,6 @@ config SOC_SERIES_STM32G4X
|
|||
select SOC_FAMILY_STM32
|
||||
select HAS_STM32CUBE
|
||||
select CPU_HAS_ARM_MPU
|
||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||
help
|
||||
Enable support for STM32G4 MCU series
|
||||
|
|
|
@ -27,6 +27,13 @@
|
|||
/* Add include for DTS generated information */
|
||||
#include <generated_dts_board.h>
|
||||
|
||||
#ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE
|
||||
#include <stm32g4xx_ll_utils.h>
|
||||
#include <stm32g4xx_ll_bus.h>
|
||||
#include <stm32g4xx_ll_rcc.h>
|
||||
#include <stm32g4xx_ll_system.h>
|
||||
#include <stm32g4xx_ll_pwr.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32G4_SOC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue