1# Atmel SAMC20 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_SAMC20
8	bool
9	select SOC_FAMILY_ATMEL_SAM0
10	help
11	  Enable support for Atmel SAMC20 Cortex-M0+ microcontrollers.
12
13config SOC_SERIES
14	default "samc20" if SOC_SERIES_SAMC20
15
16config SOC_SAMC20E15A
17	bool
18	select SOC_SERIES_SAMC20
19
20config SOC_SAMC20E16A
21	bool
22	select SOC_SERIES_SAMC20
23
24config SOC_SAMC20E17A
25	bool
26	select SOC_SERIES_SAMC20
27
28config SOC_SAMC20E18A
29	bool
30	select SOC_SERIES_SAMC20
31
32config SOC_SAMC20G15A
33	bool
34	select SOC_SERIES_SAMC20
35
36config SOC_SAMC20G16A
37	bool
38	select SOC_SERIES_SAMC20
39
40config SOC_SAMC20G17A
41	bool
42	select SOC_SERIES_SAMC20
43
44config SOC_SAMC20G18A
45	bool
46	select SOC_SERIES_SAMC20
47
48config SOC_SAMC20J15A
49	bool
50	select SOC_SERIES_SAMC20
51
52config SOC_SAMC20J16A
53	bool
54	select SOC_SERIES_SAMC20
55
56config SOC_SAMC20J17A
57	bool
58	select SOC_SERIES_SAMC20
59
60config SOC_SAMC20J18A
61	bool
62	select SOC_SERIES_SAMC20
63
64config SOC_SAMC20J17AU
65	bool
66	select SOC_SERIES_SAMC20
67
68config SOC_SAMC20J18AU
69	bool
70	select SOC_SERIES_SAMC20
71
72config SOC_SAMC20N17A
73	bool
74	select SOC_SERIES_SAMC20
75	select SOC_SERIES_REVISION_N
76
77config SOC_SAMC20N18A
78	bool
79	select SOC_SERIES_SAMC20
80	select SOC_SERIES_REVISION_N
81
82config SOC
83	default "samc20e15a" if SOC_SAMC20E15A
84	default "samc20e16a" if SOC_SAMC20E16A
85	default "samc20e17a" if SOC_SAMC20E17A
86	default "samc20e18a" if SOC_SAMC20E18A
87	default "samc20g15a" if SOC_SAMC20G15A
88	default "samc20g16a" if SOC_SAMC20G16A
89	default "samc20g17a" if SOC_SAMC20G17A
90	default "samc20g18a" if SOC_SAMC20G18A
91	default "samc20j15a" if SOC_SAMC20J15A
92	default "samc20j16a" if SOC_SAMC20J16A
93	default "samc20j17a" if SOC_SAMC20J17A
94	default "samc20j18a" if SOC_SAMC20J18A
95	default "samc20j17au" if SOC_SAMC20J17AU
96	default "samc20j18au" if SOC_SAMC20J18AU
97	default "samc20n17a" if SOC_SAMC20N17A
98	default "samc20n18a" if SOC_SAMC20N18A
99