2017-06-23 13:57:25 +08:00
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_INTEL_S1000_CRB
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "intel_s1000_crb"
|
2017-06-23 13:57:25 +08:00
|
|
|
|
2017-10-12 21:02:23 +08:00
|
|
|
config CAVS_ICTL_0_OFFSET
|
2018-11-25 14:43:06 +08:00
|
|
|
default 6
|
2017-10-12 21:02:23 +08:00
|
|
|
config CAVS_ICTL_1_OFFSET
|
2018-11-25 14:43:06 +08:00
|
|
|
default 10
|
2017-10-12 21:02:23 +08:00
|
|
|
config CAVS_ICTL_2_OFFSET
|
2018-11-25 14:43:06 +08:00
|
|
|
default 13
|
2017-10-12 21:02:23 +08:00
|
|
|
config CAVS_ICTL_3_OFFSET
|
2018-11-25 14:43:06 +08:00
|
|
|
default 16
|
2017-10-12 21:02:23 +08:00
|
|
|
|
|
|
|
config DW_ICTL_OFFSET
|
2018-11-25 14:43:06 +08:00
|
|
|
default 7
|
2017-10-12 21:02:23 +08:00
|
|
|
|
|
|
|
config 2ND_LVL_INTR_00_OFFSET
|
|
|
|
default CAVS_ICTL_0_OFFSET
|
|
|
|
config 2ND_LVL_INTR_01_OFFSET
|
|
|
|
default CAVS_ICTL_1_OFFSET
|
|
|
|
config 2ND_LVL_INTR_02_OFFSET
|
|
|
|
default CAVS_ICTL_2_OFFSET
|
|
|
|
config 2ND_LVL_INTR_03_OFFSET
|
|
|
|
default CAVS_ICTL_3_OFFSET
|
|
|
|
config 3RD_LVL_INTR_00_OFFSET
|
|
|
|
default DW_ICTL_OFFSET
|
|
|
|
|
|
|
|
config MAX_IRQ_PER_AGGREGATOR
|
|
|
|
default 32
|
|
|
|
config NUM_2ND_LEVEL_AGGREGATORS
|
|
|
|
default 4
|
|
|
|
config NUM_3RD_LEVEL_AGGREGATORS
|
|
|
|
default 1
|
|
|
|
config 2ND_LVL_ISR_TBL_OFFSET
|
|
|
|
default 21
|
|
|
|
config 3RD_LVL_ISR_TBL_OFFSET
|
|
|
|
default 149
|
|
|
|
|
|
|
|
config CAVS_ISR_TBL_OFFSET
|
|
|
|
default 2ND_LVL_ISR_TBL_OFFSET
|
|
|
|
config DW_ISR_TBL_OFFSET
|
|
|
|
default 3RD_LVL_ISR_TBL_OFFSET
|
|
|
|
|
2020-02-10 15:37:24 +08:00
|
|
|
config ROM_START_OFFSET
|
2018-11-29 14:30:36 +08:00
|
|
|
default 0x100
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on BOOTLOADER_MCUBOOT
|
2018-11-29 14:30:36 +08:00
|
|
|
|
2018-03-13 21:55:51 +08:00
|
|
|
if USB
|
|
|
|
config USB_DW
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2019-02-12 11:56:56 +08:00
|
|
|
|
2018-05-06 06:11:07 +08:00
|
|
|
config USB_DW_USB_2_0
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2019-02-12 11:56:56 +08:00
|
|
|
|
2018-11-02 21:58:57 +08:00
|
|
|
config USB_REQUEST_BUFFER_SIZE
|
2018-05-06 06:11:07 +08:00
|
|
|
default 128
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on USB_DEVICE_HID
|
2019-02-12 11:56:56 +08:00
|
|
|
|
2018-11-02 21:58:57 +08:00
|
|
|
config USB_REQUEST_BUFFER_SIZE
|
2018-12-19 17:18:31 +08:00
|
|
|
default 4096
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on USB_DFU_CLASS
|
2018-12-19 17:18:31 +08:00
|
|
|
|
2019-02-12 11:56:56 +08:00
|
|
|
config USB_DEVICE_STACK
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USB_DEVICE_VID
|
|
|
|
default "0x8087"
|
|
|
|
|
|
|
|
config USB_DEVICE_PID
|
|
|
|
default "0x0B1A"
|
|
|
|
|
|
|
|
config USB_DEVICE_MANUFACTURER
|
|
|
|
default "Intel(R) Corporation"
|
|
|
|
|
|
|
|
config USB_DEVICE_PRODUCT
|
|
|
|
default "Sue Creek (S1000) ASIC"
|
|
|
|
|
2018-03-13 21:55:51 +08:00
|
|
|
endif # USB
|
|
|
|
|
2020-03-09 22:37:20 +08:00
|
|
|
if SERIAL
|
2017-08-30 17:15:44 +08:00
|
|
|
|
2017-10-12 21:02:23 +08:00
|
|
|
config UART_INTERRUPT_DRIVEN
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2017-08-30 17:15:44 +08:00
|
|
|
|
2020-03-09 22:37:20 +08:00
|
|
|
endif # SERIAL
|
2017-08-30 17:15:44 +08:00
|
|
|
|
2018-11-12 22:24:28 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_DW
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2019-12-09 21:01:37 +08:00
|
|
|
config DMA_DW
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on DMA
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
config I2S_CAVS
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on I2S
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
if AUDIO
|
|
|
|
config AUDIO_CODEC
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
config AUDIO_TLV320DAC
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
config AUDIO_DMIC
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
config AUDIO_INTEL_DMIC
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config INTEL_GNA
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on NEURAL_NET_ACCEL
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_DW
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
config GPIO_DW_0
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-11-12 22:24:28 +08:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2018-12-05 01:34:53 +08:00
|
|
|
if FLASH
|
|
|
|
|
|
|
|
config SPI
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2018-12-05 01:34:53 +08:00
|
|
|
|
|
|
|
config SPI_NOR
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2018-12-05 01:34:53 +08:00
|
|
|
|
|
|
|
config FLASH_HAS_PAGE_LAYOUT
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2018-12-05 01:34:53 +08:00
|
|
|
|
|
|
|
config FLASH_PAGE_LAYOUT
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2018-12-05 01:34:53 +08:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2018-11-13 14:27:56 +08:00
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_DW
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2018-11-13 14:27:56 +08:00
|
|
|
|
|
|
|
endif
|
2018-11-12 22:24:28 +08:00
|
|
|
|
2018-11-25 14:00:58 +08:00
|
|
|
config PINMUX_INTEL_S1000
|
kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files
Same deal as in commit 4638652214 ("Kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), fixing new stuff that got
introduced since then.
Some symbols, like ALTERA_AVALON_PIO, are only defined in
Kconfig.defconfig files, and so need the def_bool.
Motivation (from the note at the end of
guides/kconfig/index.html#common-shorthands):
For a symbol defined in multiple locations (e.g., in a Kconfig.defconfig
file in Zephyr), it is best to only give the symbol type for the "base"
definition of the symbol, and to use 'default' (instead of 'def_<type>'
value) for the remaining definitions. That way, if the base definition
of the symbol is removed, the symbol ends up without a type, which
generates a warning that points to the other definitions. That makes the
extra definitions easier to discover and remove.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-18 19:29:31 +08:00
|
|
|
default y
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on PINMUX
|
2018-11-25 14:00:58 +08:00
|
|
|
|
2017-06-23 13:57:25 +08:00
|
|
|
endif # BOARD_INTEL_S1000_CRB
|