2019-07-25 16:44:41 +08:00
|
|
|
# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_HSDK
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "hsdk"
|
|
|
|
|
2019-09-10 14:45:29 +08:00
|
|
|
if GPIO
|
|
|
|
|
2021-11-06 05:58:21 +08:00
|
|
|
config GPIO_INIT_PRIORITY
|
|
|
|
default 60
|
|
|
|
|
2022-08-04 02:42:05 +08:00
|
|
|
config I2C
|
|
|
|
default y
|
|
|
|
|
2019-09-10 14:45:29 +08:00
|
|
|
endif # GPIO
|
|
|
|
|
|
|
|
if SPI_DW
|
|
|
|
|
|
|
|
config SPI_DW_FIFO_DEPTH
|
|
|
|
default 32
|
|
|
|
|
|
|
|
config SPI_DW_ARC_AUX_REGS
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SPI_DW_ACCESS_WORD_ONLY
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI_DW
|
|
|
|
|
2021-03-31 14:19:04 +08:00
|
|
|
if I2C_DW
|
|
|
|
|
|
|
|
config I2C_DW_CLOCK_SPEED
|
|
|
|
default 200
|
|
|
|
|
|
|
|
endif #I2C_DW
|
|
|
|
|
2019-07-25 16:44:41 +08:00
|
|
|
endif # BOARD_HSDK
|