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:
parent
df12b9ee7f
commit
7f75e4f83b
6 changed files with 171 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue