1# Atmel SAM4S MCU series
2
3# Copyright (c) 2017 Justin Watson
4# Copyright (c) 2018 Vincent van der Locht
5# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
6# SPDX-License-Identifier: Apache-2.0
7
8config SOC_SERIES_SAM4S
9	bool
10	select SOC_FAMILY_ATMEL_SAM
11	help
12	  Enable support for Atmel SAM4S Cortex-M4 microcontrollers.
13	  Part No.: SAM4S16C, SAM4S16B, SAM4S8C, SAM4S8B,
14	  SAM4S4C, SAM4S4B, SAM4S4A, SAM4S2C, SAM4S2B, SAM4S2A
15
16config SOC_SERIES
17	default "sam4s" if SOC_SERIES_SAM4S
18
19config SOC_SAM4S2A
20	bool
21	select SOC_SERIES_SAM4S
22
23config SOC_SAM4S2B
24	bool
25	select SOC_SERIES_SAM4S
26
27config SOC_SAM4S2C
28	bool
29	select SOC_SERIES_SAM4S
30
31config SOC_SAM4S4A
32	bool
33	select SOC_SERIES_SAM4S
34
35config SOC_SAM4S4B
36	bool
37	select SOC_SERIES_SAM4S
38
39config SOC_SAM4S4C
40	bool
41	select SOC_SERIES_SAM4S
42
43config SOC_SAM4S8B
44	bool
45	select SOC_SERIES_SAM4S
46
47config SOC_SAM4S8C
48	bool
49	select SOC_SERIES_SAM4S
50
51config SOC_SAM4S16B
52	bool
53	select SOC_SERIES_SAM4S
54
55config SOC_SAM4S16C
56	bool
57	select SOC_SERIES_SAM4S
58
59config SOC_SAM4SA16C
60	bool
61	select SOC_SERIES_SAM4S
62
63config SOC
64	default "sam4s2a" if SOC_SAM4S2A
65	default "sam4s2b" if SOC_SAM4S2B
66	default "sam4s2c" if SOC_SAM4S2C
67	default "sam4s4a" if SOC_SAM4S4A
68	default "sam4s4b" if SOC_SAM4S4B
69	default "sam4s4c" if SOC_SAM4S4C
70	default "sam4s8b" if SOC_SAM4S8B
71	default "sam4s8c" if SOC_SAM4S8C
72	default "sam4s16b" if SOC_SAM4S16B
73	default "sam4s16c" if SOC_SAM4S16C
74	default "sam4sa16c" if SOC_SAM4SA16C
75