clock_control: Add stm32mp157c_dk2 board support

Add support for stm32mp1x RCC with Zephyr clock_control driver

Signed-off-by: Yaël Boutreux <yael.boutreux@st.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
This commit is contained in:
Yaël Boutreux 2019-04-01 13:24:18 +02:00 committed by Kumar Gala
commit aca4b075f1
7 changed files with 439 additions and 3 deletions

View file

@ -11,5 +11,6 @@ config SOC_SERIES_STM32MP1X
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for STM32MP1 MPU series

View file

@ -31,6 +31,13 @@
#include <stm32mp1xx_ll_exti.h>
#endif
#ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE
#include <stm32mp1xx_ll_utils.h>
#include <stm32mp1xx_ll_bus.h>
#include <stm32mp1xx_ll_rcc.h>
#include <stm32mp1xx_ll_system.h>
#endif
#endif /* !_ASMLANGUAGE */
#endif /* _STM32MP1SOC_H_ */