1# Copyright (c) 2020-2024 Gerson Fernando Budke <nandojve@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_SERIES_SAM4L
5	bool
6	select SOC_FAMILY_ATMEL_SAM
7	help
8	  Enable support for Atmel SAM4L Cortex-M4 microcontrollers.
9	  Part No.: SAM4LS8C, SAM4LS8B, SAM4LS8A, SAM4LS4C, SAM4LS4B,
10	  SAM4LS4A, SAM4LS2C, SAM4LS2B, SAM4LS2A, SAM4LC8C, SAM4LC8B,
11	  SAM4LC8A, SAM4LC4C, SAM4LC4B, SAM4LC4A SAM4LC2C, SAM4LC2B,
12	  SAM4LC2A
13
14config SOC_SERIES
15	default "sam4l" if SOC_SERIES_SAM4L
16
17config SOC_SAM4LS2A
18	bool
19	select SOC_SERIES_SAM4L
20
21config SOC_SAM4LS2B
22	bool
23	select SOC_SERIES_SAM4L
24
25config SOC_SAM4LS2C
26	bool
27	select SOC_SERIES_SAM4L
28
29config SOC_SAM4LS4A
30	bool
31	select SOC_SERIES_SAM4L
32
33config SOC_SAM4LS4B
34	bool
35	select SOC_SERIES_SAM4L
36
37config SOC_SAM4LS4C
38	bool
39	select SOC_SERIES_SAM4L
40
41config SOC_SAM4LS8A
42	bool
43	select SOC_SERIES_SAM4L
44
45config SOC_SAM4LS8B
46	bool
47	select SOC_SERIES_SAM4L
48
49config SOC_SAM4LS8C
50	bool
51	select SOC_SERIES_SAM4L
52
53config SOC_SAM4LC2A
54	bool
55	select SOC_SERIES_SAM4L
56
57config SOC_SAM4LC2B
58	bool
59	select SOC_SERIES_SAM4L
60
61config SOC_SAM4LC2C
62	bool
63	select SOC_SERIES_SAM4L
64
65config SOC_SAM4LC4A
66	bool
67	select SOC_SERIES_SAM4L
68
69config SOC_SAM4LC4B
70	bool
71	select SOC_SERIES_SAM4L
72
73config SOC_SAM4LC4C
74	bool
75	select SOC_SERIES_SAM4L
76
77config SOC_SAM4LC8A
78	bool
79	select SOC_SERIES_SAM4L
80
81config SOC_SAM4LC8B
82	bool
83	select SOC_SERIES_SAM4L
84
85config SOC_SAM4LC8C
86	bool
87	select SOC_SERIES_SAM4L
88
89config SOC
90	default "sam4ls2a" if SOC_SAM4LS2A
91	default "sam4ls2b" if SOC_SAM4LS2B
92	default "sam4ls2c" if SOC_SAM4LS2C
93	default "sam4ls4a" if SOC_SAM4LS4A
94	default "sam4ls4b" if SOC_SAM4LS4B
95	default "sam4ls4c" if SOC_SAM4LS4C
96	default "sam4ls8a" if SOC_SAM4LS8A
97	default "sam4ls8b" if SOC_SAM4LS8B
98	default "sam4ls8c" if SOC_SAM4LS8C
99	default "sam4lc2a" if SOC_SAM4LC2A
100	default "sam4lc2b" if SOC_SAM4LC2B
101	default "sam4lc2c" if SOC_SAM4LC2C
102	default "sam4lc4a" if SOC_SAM4LC4A
103	default "sam4lc4b" if SOC_SAM4LC4B
104	default "sam4lc4c" if SOC_SAM4LC4C
105	default "sam4lc8a" if SOC_SAM4LC8A
106	default "sam4lc8b" if SOC_SAM4LC8B
107	default "sam4lc8c" if SOC_SAM4LC8C
108