1# Atmel SAMC21 MCU series
2
3# Copyright (c) 2022 Kamil Serwus
4# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
5# SPDX-License-Identifier: Apache-2.0
6
7config SOC_SERIES_SAMC21
8	bool
9	select SOC_FAMILY_ATMEL_SAM0
10	help
11	  Enable support for Atmel SAMC21 Cortex-M0+ microcontrollers.
12
13config SOC_SERIES
14	default "samc21" if SOC_SERIES_SAMC21
15
16config SOC_SAMC21E15A
17	bool
18	select SOC_SERIES_SAMC21
19
20config SOC_SAMC21E16A
21	bool
22	select SOC_SERIES_SAMC21
23
24config SOC_SAMC21E17A
25	bool
26	select SOC_SERIES_SAMC21
27
28config SOC_SAMC21E18A
29	bool
30	select SOC_SERIES_SAMC21
31
32config SOC_SAMC21G15A
33	bool
34	select SOC_SERIES_SAMC21
35
36config SOC_SAMC21G16A
37	bool
38	select SOC_SERIES_SAMC21
39
40config SOC_SAMC21G17A
41	bool
42	select SOC_SERIES_SAMC21
43
44config SOC_SAMC21G18A
45	bool
46	select SOC_SERIES_SAMC21
47
48config SOC_SAMC21J15A
49	bool
50	select SOC_SERIES_SAMC21
51
52config SOC_SAMC21J16A
53	bool
54	select SOC_SERIES_SAMC21
55
56config SOC_SAMC21J17A
57	bool
58	select SOC_SERIES_SAMC21
59
60config SOC_SAMC21J18A
61	bool
62	select SOC_SERIES_SAMC21
63
64config SOC_SAMC21J17AU
65	bool
66	select SOC_SERIES_SAMC21
67
68config SOC_SAMC21J18AU
69	bool
70	select SOC_SERIES_SAMC21
71
72config SOC_SAMC21N17A
73	bool
74	select SOC_SERIES_SAMC21
75	select SOC_SERIES_REVISION_N
76
77config SOC_SAMC21N18A
78	bool
79	select SOC_SERIES_SAMC21
80	select SOC_SERIES_REVISION_N
81
82config SOC
83	default "samc21e15a" if SOC_SAMC21E15A
84	default "samc21e16a" if SOC_SAMC21E16A
85	default "samc21e17a" if SOC_SAMC21E17A
86	default "samc21e18a" if SOC_SAMC21E18A
87	default "samc21g15a" if SOC_SAMC21G15A
88	default "samc21g16a" if SOC_SAMC21G16A
89	default "samc21g17a" if SOC_SAMC21G17A
90	default "samc21g18a" if SOC_SAMC21G18A
91	default "samc21j15a" if SOC_SAMC21J15A
92	default "samc21j16a" if SOC_SAMC21J16A
93	default "samc21j17a" if SOC_SAMC21J17A
94	default "samc21j18a" if SOC_SAMC21J18A
95	default "samc21j17au" if SOC_SAMC21J17AU
96	default "samc21j18au" if SOC_SAMC21J18AU
97	default "samc21n17a" if SOC_SAMC21N17A
98	default "samc21n18a" if SOC_SAMC21N18A
99