2018-03-16 21:59:33 +08:00
|
|
|
# Kconfig - iMX7 M4 core series
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017, NXP
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if SOC_MCIMX7_M4
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
string
|
2018-05-26 03:19:21 +08:00
|
|
|
default "mcimx7d"
|
2018-03-16 21:59:33 +08:00
|
|
|
|
|
|
|
config SYS_CLOCK_TICKS_PER_SEC
|
|
|
|
int
|
|
|
|
default 1000
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
int
|
|
|
|
default 200000000
|
|
|
|
|
|
|
|
if CLOCK_CONTROL
|
|
|
|
|
|
|
|
config CLOCK_CONTROL_IMX_CCM
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-03-16 21:59:33 +08:00
|
|
|
|
|
|
|
endif # CLOCK_CONTROL
|
|
|
|
|
2018-05-08 14:38:50 +08:00
|
|
|
config GPIO
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-05-08 14:38:50 +08:00
|
|
|
|
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_IMX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-05-08 14:38:50 +08:00
|
|
|
|
|
|
|
endif # GPIO
|
|
|
|
|
2018-03-16 21:59:33 +08:00
|
|
|
if SERIAL
|
|
|
|
|
|
|
|
config UART_IMX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-03-16 21:59:33 +08:00
|
|
|
|
|
|
|
endif # SERIAL
|
|
|
|
|
2018-05-12 05:13:59 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_IMX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-05-12 05:13:59 +08:00
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2018-07-08 00:51:10 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_IMX
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-07-08 00:51:10 +08:00
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
2018-11-20 01:42:40 +08:00
|
|
|
if IPM
|
|
|
|
|
|
|
|
config IPM_IMX
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # IPM
|
|
|
|
|
2018-03-16 21:59:33 +08:00
|
|
|
endif # SOC_MCIMX7_M4
|