2016-09-28 03:01:54 +08:00
|
|
|
# Kconfig - Atmel SAM E70 MCU series configuration options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Piotr Mienkowski
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if SOC_SERIES_SAME70
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
string
|
2018-05-23 20:07:08 +08:00
|
|
|
default "same70"
|
2016-09-28 03:01:54 +08:00
|
|
|
|
|
|
|
config SOC_PART_NUMBER
|
|
|
|
string
|
2018-05-23 20:07:08 +08:00
|
|
|
default "same70q21" if SOC_PART_NUMBER_SAME70Q21
|
|
|
|
default "same70q20" if SOC_PART_NUMBER_SAME70Q20
|
|
|
|
default "same70q19" if SOC_PART_NUMBER_SAME70Q19
|
|
|
|
default "same70n21" if SOC_PART_NUMBER_SAME70N21
|
|
|
|
default "same70n20" if SOC_PART_NUMBER_SAME70N20
|
|
|
|
default "same70n19" if SOC_PART_NUMBER_SAME70N19
|
|
|
|
default "same70j21" if SOC_PART_NUMBER_SAME70J21
|
|
|
|
default "same70j20" if SOC_PART_NUMBER_SAME70J20
|
|
|
|
default "same70j19" if SOC_PART_NUMBER_SAME70J19
|
2016-09-28 03:01:54 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# SAM E70 family has in total 71 peripherals capable of generating interrupts
|
|
|
|
# (not all Peripheral Identifiers are used).
|
|
|
|
#
|
|
|
|
config NUM_IRQS
|
|
|
|
int
|
|
|
|
default 71
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
int
|
|
|
|
default 300000000
|
|
|
|
|
2017-01-21 00:52:34 +08:00
|
|
|
# Configure default device drivers. If a feature is supported by more than one
|
|
|
|
# device driver the default configuration will be placed in the board defconfig
|
|
|
|
# file.
|
|
|
|
|
|
|
|
if DMA
|
|
|
|
config DMA_SAM_XDMAC
|
|
|
|
default y
|
|
|
|
endif # DMA
|
|
|
|
|
2016-09-28 03:01:54 +08:00
|
|
|
endif # SOC_SERIES_SAME70
|