Browse Source
Port M7 core of imx8mp to HWMv2 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>collab-hwm
13 changed files with 58 additions and 90 deletions
@ -1,10 +1,12 @@ |
|||||||
# |
# |
||||||
# Copyright (c) 2021, Laird Connectivity |
# Copyright (c) 2021, Laird Connectivity |
||||||
|
# Copyright 2024 NXP |
||||||
# |
# |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
# |
# |
||||||
|
|
||||||
zephyr_include_directories(${ZEPHYR_BASE}/drivers) |
zephyr_include_directories(${ZEPHYR_BASE}/drivers) |
||||||
|
zephyr_include_directories(.) |
||||||
|
|
||||||
zephyr_sources( |
zephyr_sources( |
||||||
soc.c |
soc.c |
@ -1,22 +0,0 @@ |
|||||||
# i.MX8ML M7 SoC series defconfig |
|
||||||
|
|
||||||
# Copyright (c) 2021, Laird Connectivity |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
if SOC_SERIES_IMX8ML_M7 |
|
||||||
|
|
||||||
config SOC_SERIES |
|
||||||
default "mimx8ml8_m7" |
|
||||||
|
|
||||||
config NUM_IRQS |
|
||||||
int |
|
||||||
# must be >= the highest interrupt number used |
|
||||||
default 159 |
|
||||||
|
|
||||||
config PINCTRL_IMX |
|
||||||
default y if HAS_MCUX_IOMUXC |
|
||||||
depends on PINCTRL |
|
||||||
|
|
||||||
source "soc/soc_legacy/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.mimx8ml8_m7" |
|
||||||
|
|
||||||
endif # SOC_SERIES_IMX8ML_M7 |
|
@ -1,16 +0,0 @@ |
|||||||
# i.MX8ML M7 core series |
|
||||||
|
|
||||||
# Copyright (c) 2021, Laird Connectivity |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_IMX8ML_M7 |
|
||||||
bool "i.MX8ML M7 Core Series" |
|
||||||
select ARM |
|
||||||
select CPU_CORTEX_M7 |
|
||||||
select SOC_FAMILY_IMX |
|
||||||
select CPU_HAS_FPU |
|
||||||
select CPU_HAS_ICACHE |
|
||||||
select CPU_HAS_DCACHE |
|
||||||
select INIT_VIDEO_PLL |
|
||||||
help |
|
||||||
Enable support for i.MX8ML M7 MCU series |
|
@ -1,50 +0,0 @@ |
|||||||
# i.MX8ML M7 SoC series |
|
||||||
|
|
||||||
# Copyright (c) 2021, Laird Connectivity |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
choice |
|
||||||
prompt "i.MX8ML M7 Selection" |
|
||||||
depends on SOC_SERIES_IMX8ML_M7 |
|
||||||
|
|
||||||
config SOC_MIMX8ML8 |
|
||||||
bool "SOC_MIMX8ML8" |
|
||||||
select HAS_MCUX |
|
||||||
select HAS_MCUX_CCM |
|
||||||
select HAS_MCUX_RDC |
|
||||||
select CPU_HAS_ARM_MPU |
|
||||||
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS |
|
||||||
select ARM_MPU |
|
||||||
select HAS_MCUX_IGPIO |
|
||||||
select HAS_MCUX_IOMUXC |
|
||||||
|
|
||||||
endchoice |
|
||||||
|
|
||||||
if SOC_SERIES_IMX8ML_M7 |
|
||||||
|
|
||||||
config SOC_PART_NUMBER_MIMX8ML8DVNLZ |
|
||||||
bool |
|
||||||
|
|
||||||
config SOC_PART_NUMBER_IMX8ML_M7 |
|
||||||
string |
|
||||||
default "MIMX8ML8DVNLZ" if SOC_PART_NUMBER_MIMX8ML8DVNLZ |
|
||||||
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 |
|
||||||
the default value for this string. |
|
||||||
|
|
||||||
choice CODE_LOCATION |
|
||||||
prompt "Code location selection" |
|
||||||
|
|
||||||
config CODE_ITCM |
|
||||||
bool "Link code into internal instruction tightly coupled memory (ITCM)" |
|
||||||
|
|
||||||
config CODE_DDR |
|
||||||
bool "Link code into DDR memory" |
|
||||||
|
|
||||||
endchoice |
|
||||||
|
|
||||||
config INIT_VIDEO_PLL |
|
||||||
bool "Initialize Video PLL" |
|
||||||
|
|
||||||
endif # SOC_SERIES_IMX8ML_M7 |
|
Loading…
Reference in new issue