1# Atmel SAM E70 MCU series
2
3# Copyright (c) 2016 Piotr Mienkowski
4# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
5# SPDX-License-Identifier: Apache-2.0
6
7config SOC_SERIES_SAME70
8	bool
9	select SOC_FAMILY_ATMEL_SAM
10	help
11	  Enable support for Atmel SAM E70 ARM Cortex-M7 Microcontrollers.
12	  Part No.: SAME70J19, SAME70J20, SAME70J21, SAME70N19, SAME70N20,
13	  SAME70N21, SAME70Q19, SAME70Q20, SAME70Q21, SAME70J19B, SAME70J20B,
14	  SAME70J21B, SAME70N19B, SAME70N20B, SAME70N21B, SAME70Q19B,
15	  SAME70Q20B, SAME70Q21B
16
17config SOC_ATMEL_SAME70_REVB
18	bool
19
20config SOC_SERIES
21	default "same70" if SOC_SERIES_SAME70
22
23config SOC_SAME70J19
24	bool
25	select SOC_SERIES_SAME70
26
27config SOC_SAME70J20
28	bool
29	select SOC_SERIES_SAME70
30
31config SOC_SAME70J21
32	bool
33	select SOC_SERIES_SAME70
34
35config SOC_SAME70N19
36	bool
37	select SOC_SERIES_SAME70
38
39config SOC_SAME70N20
40	bool
41	select SOC_SERIES_SAME70
42
43config SOC_SAME70N21
44	bool
45	select SOC_SERIES_SAME70
46
47config SOC_SAME70Q19
48	bool
49	select SOC_SERIES_SAME70
50
51config SOC_SAME70Q20
52	bool
53	select SOC_SERIES_SAME70
54
55config SOC_SAME70Q21
56	bool
57	select SOC_SERIES_SAME70
58
59config SOC_SAME70J19B
60	bool
61	select SOC_SERIES_SAME70
62	select SOC_ATMEL_SAME70_REVB
63
64config SOC_SAME70J20B
65	bool
66	select SOC_SERIES_SAME70
67	select SOC_ATMEL_SAME70_REVB
68
69config SOC_SAME70J21B
70	bool
71	select SOC_SERIES_SAME70
72	select SOC_ATMEL_SAME70_REVB
73
74config SOC_SAME70N19B
75	bool
76	select SOC_SERIES_SAME70
77	select SOC_ATMEL_SAME70_REVB
78
79config SOC_SAME70N20B
80	bool
81	select SOC_SERIES_SAME70
82	select SOC_ATMEL_SAME70_REVB
83
84config SOC_SAME70N21B
85	bool
86	select SOC_SERIES_SAME70
87	select SOC_ATMEL_SAME70_REVB
88
89config SOC_SAME70Q19B
90	bool
91	select SOC_SERIES_SAME70
92	select SOC_ATMEL_SAME70_REVB
93
94config SOC_SAME70Q20B
95	bool
96	select SOC_SERIES_SAME70
97	select SOC_ATMEL_SAME70_REVB
98
99config SOC_SAME70Q21B
100	bool
101	select SOC_SERIES_SAME70
102	select SOC_ATMEL_SAME70_REVB
103
104config SOC
105	default "same70j19" if SOC_SAME70J19
106	default "same70j20" if SOC_SAME70J20
107	default "same70j21" if SOC_SAME70J21
108	default "same70n19" if SOC_SAME70N19
109	default "same70n20" if SOC_SAME70N20
110	default "same70n21" if SOC_SAME70N21
111	default "same70q19" if SOC_SAME70Q19
112	default "same70q20" if SOC_SAME70Q20
113	default "same70q21" if SOC_SAME70Q21
114	default "same70j19b" if SOC_SAME70J19B
115	default "same70j20b" if SOC_SAME70J20B
116	default "same70j21b" if SOC_SAME70J21B
117	default "same70n19b" if SOC_SAME70N19B
118	default "same70n20b" if SOC_SAME70N20B
119	default "same70n21b" if SOC_SAME70N21B
120	default "same70q19b" if SOC_SAME70Q19B
121	default "same70q20b" if SOC_SAME70Q20B
122	default "same70q21b" if SOC_SAME70Q21B
123