arch: arm: nxp: imxrt1064: add device support

- Add SoC information for RT1064

Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
This commit is contained in:
Ryan QIAN 2018-10-09 10:00:15 +08:00 committed by Maureen Helm
commit fe9ea3b26c
2 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,54 @@
# Kconfig - i.MX RT1064
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_MIMXRT1064
config SOC
string
default "mimxrt1064"
if CLOCK_CONTROL
config CLOCK_CONTROL_MCUX_CCM
def_bool y
endif # CLOCK_CONTROL
config ARM_DIV
default 1
config AHB_DIV
default 0
config IPG_DIV
default 3
config GPIO
def_bool y
if GPIO
config GPIO_MCUX_IGPIO
def_bool y
endif # GPIO
if SERIAL
config UART_MCUX_LPUART
def_bool y
endif # SERIAL
if ENTROPY_GENERATOR
config ENTROPY_MCUX_TRNG
default y
endif #ENTROPY_MCUX_TRNG
endif # SOC_MIMXRT1064

View file

@ -82,6 +82,19 @@ config SOC_MIMXRT1062
select INIT_SYS_PLL
select INIT_USB1_PLL
config SOC_MIMXRT1064
bool "SOC_MIMXRT1064"
select HAS_MCUX
select HAS_MCUX_CCM
select HAS_MCUX_IGPIO
select HAS_MCUX_LPUART
select HAS_MCUX_TRNG
select CPU_HAS_FPU
select CPU_HAS_MPU
select INIT_ARM_PLL
select INIT_SYS_PLL
select INIT_USB1_PLL
endchoice
if SOC_SERIES_IMX_RT
@ -122,6 +135,12 @@ config SOC_PART_NUMBER_MIMXRT1062CVL5A
config SOC_PART_NUMBER_MIMXRT1062DVL6A
bool
config SOC_PART_NUMBER_MIMXRT1064CVL5A
bool
config SOC_PART_NUMBER_MIMXRT1064DVL6A
bool
config SOC_PART_NUMBER_IMX_RT
string
default "MIMXRT1021CAG4A" if SOC_PART_NUMBER_MIMXRT1021CAG4A
@ -136,6 +155,8 @@ config SOC_PART_NUMBER_IMX_RT
default "MIMXRT1061DVL6A" if SOC_PART_NUMBER_MIMXRT1061DVL6A
default "MIMXRT1062CVL5A" if SOC_PART_NUMBER_MIMXRT1062CVL5A
default "MIMXRT1062DVL6A" if SOC_PART_NUMBER_MIMXRT1062DVL6A
default "MIMXRT1064CVL5A" if SOC_PART_NUMBER_MIMXRT1064CVL5A
default "MIMXRT1064DVL6A" if SOC_PART_NUMBER_MIMXRT1064DVL6A
help
This string holds the full part number of the SoC. It is a hidden option
that you should not set directly. The part number selection choice defines