1# Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_SERIES_SAM4L
5
6config SOC_SERIES
7	default "sam4l"
8
9config SOC_PART_NUMBER
10	default "sam4ls8c" if SOC_PART_NUMBER_SAM4LS8C
11	default "sam4ls8b" if SOC_PART_NUMBER_SAM4LS8B
12	default "sam4ls8a" if SOC_PART_NUMBER_SAM4LS8A
13	default "sam4ls4c" if SOC_PART_NUMBER_SAM4LS4C
14	default "sam4ls4b" if SOC_PART_NUMBER_SAM4LS4B
15	default "sam4ls4a" if SOC_PART_NUMBER_SAM4LS4A
16	default "sam4ls2c" if SOC_PART_NUMBER_SAM4LS2C
17	default "sam4ls2b" if SOC_PART_NUMBER_SAM4LS2B
18	default "sam4ls2a" if SOC_PART_NUMBER_SAM4LS2A
19	default "sam4lc8c" if SOC_PART_NUMBER_SAM4LC8C
20	default "sam4lc8b" if SOC_PART_NUMBER_SAM4LC8B
21	default "sam4lc8a" if SOC_PART_NUMBER_SAM4LC8A
22	default "sam4lc4c" if SOC_PART_NUMBER_SAM4LC4C
23	default "sam4lc4b" if SOC_PART_NUMBER_SAM4LC4B
24	default "sam4lc4a" if SOC_PART_NUMBER_SAM4LC4A
25	default "sam4lc2c" if SOC_PART_NUMBER_SAM4LC2C
26	default "sam4lc2b" if SOC_PART_NUMBER_SAM4LC2B
27	default "sam4lc2a" if SOC_PART_NUMBER_SAM4LC2A
28
29#
30# SAM4L family has total 43 peripherals capable of
31# generating interrupts.
32#
33config NUM_IRQS
34	default 80
35
36# Configure default device drivers. If a feature is supported by more than one
37# device driver the default configuration will be placed in the board defconfig
38# file.
39
40config USART_SAM
41	default y
42	depends on SERIAL
43
44endif # SOC_SERIES_SAM4L
45