1# Atmel SAMD21 MCU series
2
3# Copyright (c) 2017 Google LLC.
4# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
5# SPDX-License-Identifier: Apache-2.0
6
7config SOC_SERIES_SAMD21
8	bool
9	select SOC_FAMILY_ATMEL_SAM0
10	help
11	  Enable support for Atmel SAMD21 Cortex-M0+ microcontrollers.
12
13config SOC_SERIES
14	default "samd21" if SOC_SERIES_SAMD21
15
16config SOC_SAMD21E15A
17	bool
18	select SOC_SERIES_SAMD21
19
20config SOC_SAMD21E16A
21	bool
22	select SOC_SERIES_SAMD21
23
24config SOC_SAMD21E17A
25	bool
26	select SOC_SERIES_SAMD21
27
28config SOC_SAMD21E18A
29	bool
30	select SOC_SERIES_SAMD21
31
32config SOC_SAMD21E19A
33	bool
34	select SOC_SERIES_SAMD21
35
36config SOC_SAMD21G15A
37	bool
38	select SOC_SERIES_SAMD21
39
40config SOC_SAMD21G16A
41	bool
42	select SOC_SERIES_SAMD21
43
44config SOC_SAMD21G17A
45	bool
46	select SOC_SERIES_SAMD21
47
48config SOC_SAMD21G18A
49	bool
50	select SOC_SERIES_SAMD21
51
52config SOC_SAMD21G17AU
53	bool
54	select SOC_SERIES_SAMD21
55
56config SOC_SAMD21G18AU
57	bool
58	select SOC_SERIES_SAMD21
59
60config SOC_SAMD21J15A
61	bool
62	select SOC_SERIES_SAMD21
63
64config SOC_SAMD21J16A
65	bool
66	select SOC_SERIES_SAMD21
67
68config SOC_SAMD21J17A
69	bool
70	select SOC_SERIES_SAMD21
71
72config SOC_SAMD21J18A
73	bool
74	select SOC_SERIES_SAMD21
75
76config SOC
77	default "samd21e15a" if SOC_SAMD21E15A
78	default "samd21e16a" if SOC_SAMD21E16A
79	default "samd21e17a" if SOC_SAMD21E17A
80	default "samd21e18a" if SOC_SAMD21E18A
81	default "samd21g15a" if SOC_SAMD21G15A
82	default "samd21g16a" if SOC_SAMD21G16A
83	default "samd21g17a" if SOC_SAMD21G17A
84	default "samd21g18a" if SOC_SAMD21G18A
85	default "samd21g17au" if SOC_SAMD21G17AU
86	default "samd21g18au" if SOC_SAMD21G18AU
87	default "samd21j15a" if SOC_SAMD21J15A
88	default "samd21j16a" if SOC_SAMD21J16A
89	default "samd21j17a" if SOC_SAMD21J17A
90	default "samd21j18a" if SOC_SAMD21J18A
91