74 lines
736 B
Plaintext
74 lines
736 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
|
|
|
|
if BOARD_EM_STARTERKIT_R23
|
|
|
|
config GPIO_SNPS_CREG
|
|
default y
|
|
|
|
endif # BOARD_EM_STARTERKIT_R23
|
|
|
|
endif # SPI_DW
|
|
|
|
endif # SPI
|
|
|
|
endif # BOARD_EM_STARTERKIT
|