2020-03-18 22:11:48 +08:00
|
|
|
# LPC11U6X series configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2020, Seagate
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_SERIES_LPC11U6X
|
|
|
|
|
|
|
|
source "soc/arm/nxp_lpc/lpc11u6x/Kconfig.defconfig.lp*"
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
default "lpc11u6x"
|
|
|
|
|
|
|
|
config NUM_IRQS
|
|
|
|
# must be >= the highest interrupt number used
|
|
|
|
default 40
|
|
|
|
|
2020-09-13 20:17:24 +08:00
|
|
|
if PINMUX
|
|
|
|
|
|
|
|
# The pinmux device must be initialized before all the other devices, including
|
|
|
|
# the clock control device which uses it.
|
|
|
|
|
|
|
|
config PINMUX_INIT_PRIORITY
|
|
|
|
default 1
|
|
|
|
|
|
|
|
endif # PINMUX
|
|
|
|
|
2020-03-31 22:45:26 +08:00
|
|
|
if CLOCK_CONTROL
|
|
|
|
|
|
|
|
config CLOCK_CONTROL_LPC11U6X
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # CLOCK_CONTROL
|
2020-03-18 22:11:48 +08:00
|
|
|
|
2020-05-04 18:57:25 +08:00
|
|
|
if SERIAL
|
|
|
|
|
|
|
|
config UART_LPC11U6X
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SERIAL
|
|
|
|
|
2020-05-14 22:35:27 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_LPC11U6X
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2020-03-18 22:11:48 +08:00
|
|
|
endif # SOC_SERIES_LPC11U6X
|