soc: arm: nxp_imx: rt: add device support i.MX RT1010

- Add device support for i.MXRT1010

Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
This commit is contained in:
Ryan QIAN 2019-09-24 08:52:39 +08:00 committed by Maureen Helm
commit 7f75e4f83b
6 changed files with 171 additions and 1 deletions

View file

@ -49,7 +49,7 @@ const clock_usb_pll_config_t usb1PllConfig = {
#ifdef CONFIG_INIT_ENET_PLL
/* ENET PLL configuration for RUN mode */
const clock_enet_pll_config_t ethPllConfig = {
#if defined(CONFIG_SOC_MIMXRT1021) || defined(CONFIG_SOC_MIMXRT1015)
#if defined(CONFIG_SOC_MIMXRT1021) || defined(CONFIG_SOC_MIMXRT1015) || defined(CONFIG_SOC_MIMXRT1011)
.enableClkOutput500M = true,
#endif
#ifdef CONFIG_ETH_MCUX
@ -145,7 +145,9 @@ static ALWAYS_INLINE void clock_init(void)
CLOCK_InitVideoPll(&videoPllConfig);
#endif
#ifdef CONFIG_HAS_ARM_DIV
CLOCK_SetDiv(kCLOCK_ArmDiv, CONFIG_ARM_DIV); /* Set ARM PODF */
#endif
CLOCK_SetDiv(kCLOCK_AhbDiv, CONFIG_AHB_DIV); /* Set AHB PODF */
CLOCK_SetDiv(kCLOCK_IpgDiv, CONFIG_IPG_DIV); /* Set IPG PODF */