arch: arm: nxp: imxrt1060: add device support
- Add SoC information for RT1060 Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
This commit is contained in:
parent
a4633da9f5
commit
5b62ea0e7a
2 changed files with 87 additions and 0 deletions
47
soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1062
Normal file
47
soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1062
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
# Kconfig - i.MX RT1062
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018, NXP
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
if SOC_MIMXRT1062
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
string
|
||||||
|
default "mimxrt1062"
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
endif # SOC_MIMXRT1062
|
|
@ -35,6 +35,30 @@ config SOC_MIMXRT1052
|
||||||
select INIT_SYS_PLL
|
select INIT_SYS_PLL
|
||||||
select INIT_USB1_PLL
|
select INIT_USB1_PLL
|
||||||
|
|
||||||
|
config SOC_MIMXRT1061
|
||||||
|
bool "SOC_MIMXRT1061"
|
||||||
|
select HAS_MCUX
|
||||||
|
select HAS_MCUX_CCM
|
||||||
|
select HAS_MCUX_IGPIO
|
||||||
|
select HAS_MCUX_LPUART
|
||||||
|
select CPU_HAS_FPU
|
||||||
|
select CPU_HAS_MPU
|
||||||
|
select INIT_ARM_PLL
|
||||||
|
select INIT_SYS_PLL
|
||||||
|
select INIT_USB1_PLL
|
||||||
|
|
||||||
|
config SOC_MIMXRT1062
|
||||||
|
bool "SOC_MIMXRT1062"
|
||||||
|
select HAS_MCUX
|
||||||
|
select HAS_MCUX_CCM
|
||||||
|
select HAS_MCUX_IGPIO
|
||||||
|
select HAS_MCUX_LPUART
|
||||||
|
select CPU_HAS_FPU
|
||||||
|
select CPU_HAS_MPU
|
||||||
|
select INIT_ARM_PLL
|
||||||
|
select INIT_SYS_PLL
|
||||||
|
select INIT_USB1_PLL
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
if SOC_SERIES_IMX_RT
|
if SOC_SERIES_IMX_RT
|
||||||
|
@ -51,12 +75,28 @@ config SOC_PART_NUMBER_MIMXRT1052CVL5A
|
||||||
config SOC_PART_NUMBER_MIMXRT1052DVL6A
|
config SOC_PART_NUMBER_MIMXRT1052DVL6A
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config SOC_PART_NUMBER_MIMXRT1061CVL5A
|
||||||
|
bool
|
||||||
|
|
||||||
|
config SOC_PART_NUMBER_MIMXRT1061DVL6A
|
||||||
|
bool
|
||||||
|
|
||||||
|
config SOC_PART_NUMBER_MIMXRT1062CVL5A
|
||||||
|
bool
|
||||||
|
|
||||||
|
config SOC_PART_NUMBER_MIMXRT1062DVL6A
|
||||||
|
bool
|
||||||
|
|
||||||
config SOC_PART_NUMBER_IMX_RT
|
config SOC_PART_NUMBER_IMX_RT
|
||||||
string
|
string
|
||||||
default "MIMXRT1051CVL5A" if SOC_PART_NUMBER_MIMXRT1051CVL5A
|
default "MIMXRT1051CVL5A" if SOC_PART_NUMBER_MIMXRT1051CVL5A
|
||||||
default "MIMXRT1051DVL6A" if SOC_PART_NUMBER_MIMXRT1051DVL6A
|
default "MIMXRT1051DVL6A" if SOC_PART_NUMBER_MIMXRT1051DVL6A
|
||||||
default "MIMXRT1052CVL5A" if SOC_PART_NUMBER_MIMXRT1052CVL5A
|
default "MIMXRT1052CVL5A" if SOC_PART_NUMBER_MIMXRT1052CVL5A
|
||||||
default "MIMXRT1052DVL6A" if SOC_PART_NUMBER_MIMXRT1052DVL6A
|
default "MIMXRT1052DVL6A" if SOC_PART_NUMBER_MIMXRT1052DVL6A
|
||||||
|
default "MIMXRT1061CVL5A" if SOC_PART_NUMBER_MIMXRT1061CVL5A
|
||||||
|
default "MIMXRT1061DVL6A" if SOC_PART_NUMBER_MIMXRT1061DVL6A
|
||||||
|
default "MIMXRT1062CVL5A" if SOC_PART_NUMBER_MIMXRT1062CVL5A
|
||||||
|
default "MIMXRT1062DVL6A" if SOC_PART_NUMBER_MIMXRT1062DVL6A
|
||||||
help
|
help
|
||||||
This string holds the full part number of the SoC. It is a hidden option
|
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
|
that you should not set directly. The part number selection choice defines
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue