2019-11-01 20:45:29 +08:00
|
|
|
# Microchip MEC1501HSZ MCU
|
|
|
|
|
2019-04-02 06:10:44 +08:00
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_MEC1501_HSZ
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
default "mec1501hsz"
|
|
|
|
|
|
|
|
if SERIAL
|
|
|
|
|
|
|
|
config UART_NS16550
|
2019-10-24 14:13:13 +08:00
|
|
|
default y
|
2019-04-02 06:10:44 +08:00
|
|
|
|
|
|
|
endif # SERIAL
|
|
|
|
|
2019-05-15 16:56:49 +08:00
|
|
|
if PINMUX
|
|
|
|
|
|
|
|
config PINMUX_XEC
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PINMUX
|
|
|
|
|
2019-04-10 16:45:16 +08:00
|
|
|
config GPIO
|
|
|
|
default y
|
|
|
|
|
2019-09-14 01:16:04 +08:00
|
|
|
if ADC
|
|
|
|
|
|
|
|
config ADC_XEC
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # ADC
|
|
|
|
|
2019-04-10 16:45:16 +08:00
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_XEC
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # GPIO
|
|
|
|
|
2019-05-08 05:34:19 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_XEC
|
2019-10-24 14:13:13 +08:00
|
|
|
default y
|
2019-05-08 05:34:19 +08:00
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2019-06-25 18:46:07 +08:00
|
|
|
if COUNTER
|
|
|
|
|
|
|
|
config COUNTER_XEC
|
2019-10-24 14:13:13 +08:00
|
|
|
default y
|
2019-06-25 18:46:07 +08:00
|
|
|
|
|
|
|
endif # COUNTER
|
|
|
|
|
2019-08-13 02:36:03 +08:00
|
|
|
if PS2
|
|
|
|
|
|
|
|
config PS2_XEC
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PS2
|
|
|
|
|
2019-09-19 07:45:20 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_XEC
|
2019-10-24 14:13:13 +08:00
|
|
|
default y
|
2019-09-19 07:45:20 +08:00
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
2019-10-01 08:43:47 +08:00
|
|
|
if KSCAN
|
|
|
|
|
|
|
|
config KSCAN_XEC
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # KSCAN
|
|
|
|
|
2019-09-26 22:27:07 +08:00
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_XEC_QMSPI
|
2019-10-24 14:13:13 +08:00
|
|
|
default y
|
2019-09-26 22:27:07 +08:00
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2019-04-02 06:10:44 +08:00
|
|
|
endif # SOC_MEC1501_HSZ
|