73 lines
691 B
Plaintext
73 lines
691 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_EM_STARTERKIT
|
|
|
|
config BOARD
|
|
default "em_starterkit"
|
|
|
|
if GPIO
|
|
|
|
config GPIO_DW
|
|
default y
|
|
|
|
if GPIO_DW
|
|
|
|
config GPIO_DW_0
|
|
default y
|
|
|
|
config GPIO_DW_1
|
|
default y
|
|
|
|
config GPIO_DW_2
|
|
default y
|
|
|
|
config GPIO_DW_3
|
|
default y
|
|
|
|
endif # GPIO_DW
|
|
|
|
endif # GPIO
|
|
|
|
if I2C
|
|
|
|
config I2C_DW
|
|
default y
|
|
|
|
if I2C_DW
|
|
|
|
config I2C_DW_CLOCK_SPEED
|
|
default 100
|
|
|
|
endif # I2C_DW
|
|
|
|
endif # I2C
|
|
|
|
config UART_NS16550
|
|
default y
|
|
depends on SERIAL
|
|
|
|
if SPI
|
|
|
|
config SPI_DW
|
|
default y
|
|
|
|
if SPI_DW
|
|
|
|
config SPI_DW_FIFO_DEPTH
|
|
default 32
|
|
|
|
config SPI_DW_ARC_AUX_REGS
|
|
default n
|
|
|
|
config SPI_0
|
|
default y
|
|
|
|
config SPI_1
|
|
default y
|
|
|
|
endif # SPI_DW
|
|
|
|
endif # SPI
|
|
|
|
endif # BOARD_EM_STARTERKIT
|