1# Atmel SAMD20 MCU series
2
3# Copyright (c) 2018 Sean Nyekjaer
4# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
5# SPDX-License-Identifier: Apache-2.0
6
7config SOC_SERIES_SAMD20
8	bool
9	select SOC_FAMILY_ATMEL_SAM0
10	help
11	  Enable support for Atmel SAMD20 Cortex-M0+ microcontrollers.
12
13config SOC_SERIES
14	default "samd20" if SOC_SERIES_SAMD20
15
16config SOC_SAMD20E14
17	bool
18	select SOC_SERIES_SAMD20
19
20config SOC_SAMD20E15
21	bool
22	select SOC_SERIES_SAMD20
23
24config SOC_SAMD20E16
25	bool
26	select SOC_SERIES_SAMD20
27
28config SOC_SAMD20E17
29	bool
30	select SOC_SERIES_SAMD20
31
32config SOC_SAMD20E18
33	bool
34	select SOC_SERIES_SAMD20
35
36config SOC_SAMD20G14
37	bool
38	select SOC_SERIES_SAMD20
39
40config SOC_SAMD20G15
41	bool
42	select SOC_SERIES_SAMD20
43
44config SOC_SAMD20G16
45	bool
46	select SOC_SERIES_SAMD20
47
48config SOC_SAMD20G17
49	bool
50
51config SOC_SAMD20G18
52	bool
53	select SOC_SERIES_SAMD20
54
55config SOC_SAMD20G17U
56	bool
57	select SOC_SERIES_SAMD20
58
59config SOC_SAMD20G18U
60	bool
61	select SOC_SERIES_SAMD20
62
63config SOC_SAMD20J14
64	bool
65	select SOC_SERIES_SAMD20
66
67config SOC_SAMD20J15
68	bool
69	select SOC_SERIES_SAMD20
70
71config SOC_SAMD20J16
72	bool
73	select SOC_SERIES_SAMD20
74
75config SOC_SAMD20J17
76	bool
77	select SOC_SERIES_SAMD20
78
79config SOC_SAMD20J18
80	bool
81	select SOC_SERIES_SAMD20
82
83config SOC
84	default "samd20e14" if SOC_SAMD20E14
85	default "samd20e15" if SOC_SAMD20E15
86	default "samd20e16" if SOC_SAMD20E16
87	default "samd20e17" if SOC_SAMD20E17
88	default "samd20e18" if SOC_SAMD20E18
89	default "samd20g14" if SOC_SAMD20G14
90	default "samd20g15" if SOC_SAMD20G15
91	default "samd20g16" if SOC_SAMD20G16
92	default "samd20g17" if SOC_SAMD20G17
93	default "samd20g18" if SOC_SAMD20G18
94	default "samd20g17u" if SOC_SAMD20G17U
95	default "samd20g18u" if SOC_SAMD20G18U
96	default "samd20j14" if SOC_SAMD20J14
97	default "samd20j15" if SOC_SAMD20J15
98	default "samd20j16" if SOC_SAMD20J16
99	default "samd20j17" if SOC_SAMD20J17
100	default "samd20j18" if SOC_SAMD20J18
101