1# MCUXpresso SDK
2
3# Copyright (c) 2016, Freescale Semiconductor, Inc.
4# SPDX-License-Identifier: Apache-2.0
5
6config HAS_MCUX
7	bool
8	depends on SOC_FAMILY_KINETIS || SOC_FAMILY_IMX || SOC_FAMILY_LPC || \
9		SOC_FAMILY_NXP_ADSP || SOC_FAMILY_NXP_S32
10
11if HAS_MCUX
12
13config HAS_MCUX_12B1MSPS_SAR
14	bool
15	help
16	  Set if the 12B1MSPS SAR ADC module is present in the SoC.
17
18config HAS_MCUX_ADC12
19	bool
20	help
21	  Set if the 12-bit ADC (ADC12) module is present in the SoC.
22
23config HAS_MCUX_ADC16
24	bool
25	help
26	  Set if the 16-bit ADC (ADC16) module is present in the SoC.
27
28config HAS_MCUX_LPADC
29	bool
30	help
31	  Set if the LPADC module is present in the SoC.
32
33config HAS_MCUX_CACHE
34	bool
35	help
36	  Set if the L1 or L2 cache is present in the SoC.
37
38config HAS_MCUX_CCM
39	bool
40	help
41	  Set if the clock control module (CCM) module is present in the SoC.
42
43config HAS_MCUX_CCM_REV2
44	bool
45	help
46	  Set if the revision 2 of clock control module (CCM) module is present in the SoC.
47	  This is present in SoC's such as RT1170
48
49config HAS_MCUX_SYSCON
50	bool
51	help
52	  Set if the syscon module is present in the SoC.
53
54config HAS_MCUX_PCC
55	bool
56	help
57	  Set if the peripheral clock controller module (PCC) module is
58	  present in the SoC.
59
60config HAS_MCUX_ELCDIF
61	bool
62	help
63	  Set if the enhanced LCD interface (eLCDIF) module is present in the
64	  SoC.
65
66config HAS_MCUX_MIPI_DSI
67	bool
68	help
69	  Set if the MIPI DSI module is present in the SoC.
70
71config HAS_MCUX_ENET
72	bool
73	help
74	  Set if the ethernet (ENET) module is present in the SoC.
75
76config HAS_MCUX_FLEXCAN
77	bool
78	help
79	  Set if the FlexCAN module is presents in the SoC.
80
81config HAS_MCUX_FLEXCOMM
82	bool
83	help
84	  Set if the flexcomm (FLEXCOMM) module is present in the SoC.
85
86config HAS_MCUX_FLEXSPI
87	bool
88	help
89	  Set if the flexible SPI (FlexSPI) module is present in the SoC.
90
91config HAS_MCUX_FTFX
92	bool
93	help
94	  Set if the flash memory (FTFA, FTFE, or FTFL) module is present in
95	  the SoC.
96
97config HAS_MCUX_FTM
98	bool
99	help
100	  Set if the FlexTimer (FTM) module is present in the SoC.
101
102config HAS_MCUX_IAP
103	bool
104	help
105	  Set if the flash memory In Application Programming is present in
106	  the LPC55xxx family SoCs.
107
108config HAS_MCUX_IAP_LEGACY
109	bool
110	help
111	  Set if the flash memory In Application Programming is present in
112	  the older LPC family SoCs (LPC54xxx, LPC11xxx).
113
114config HAS_MCUX_IGPIO
115	bool
116	help
117	  Set if the iMX GPIO (IGPIO) module is present in the SoC.
118
119config HAS_MCUX_IOMUXC
120	bool
121	help
122	  Set if the iMX I/O mux controller (IOMUXC) is present in the SoC.
123
124config HAS_MCUX_LPI2C
125	bool
126	help
127	  Set if the low power I2C (LPI2C) module is present in the SoC.
128
129config HAS_MCUX_LPSCI
130	bool
131	help
132	  Set if the low power uart (LPSCI) module is present in the SoC.
133
134config HAS_MCUX_LPSPI
135	bool
136	help
137	  Set if the low power SPI (LPSPI) module is present in the SoC.
138
139config HAS_MCUX_LPUART
140	bool
141	help
142	  Set if the low power uart (LPUART) module is present in the SoC.
143
144config HAS_MCUX_GPT
145	bool
146	help
147	  Set if the general purpose timer (GPT) module is present in the SoC.
148
149config HAS_MCUX_QTMR
150	bool
151	help
152	  Set if the quad timer (QTMR) module is present in the SoC.
153
154config HAS_MCUX_GPC
155	bool
156	help
157	  Set if the general power controller (GPC) module is present in the SoC.
158
159config HAS_MCUX_PMU
160	bool
161	help
162	  Set if the power management unit (PMU) module is present in the SoC.
163
164config HAS_MCUX_DCDC
165	bool
166	help
167	  Set if the DCDC converter module is present in the SoC.
168
169config HAS_MCUX_SNVS
170	bool
171	help
172	  Set if the SNVS module is present on the SoC.
173
174config HAS_MCUX_RNG
175	bool
176	help
177	  Set if the LPC specific random number generator (RNG) module is
178	  present in the SoC.
179
180config HAS_MCUX_RNGA
181	bool
182	help
183	  Set if the random number generator accelerator (RNGA) module is
184	  present in the SoC.
185
186config HAS_MCUX_RTC
187	bool
188	help
189	  Set if the real time clock (RTC) modules is present in the SoC.
190
191config HAS_MCUX_LPC_RTC
192	bool
193	help
194	  Set if the LPC real time clock (RTC) modules is present in the SoC.
195
196config HAS_MCUX_SCG
197	bool
198	help
199	  Set if the system clock generator (SCG) module is present in the
200	  SoC.
201
202config HAS_MCUX_SEMC
203	bool
204	help
205	  Set if the smart external memory controller (SEMC) module is present
206	  in the SoC.
207
208config HAS_MCUX_SIM
209	bool
210	help
211	  Set if the system integration module (SIM) module is present in the
212	  SoC.
213
214config HAS_MCUX_SRC
215	bool
216	help
217	  Set if the system reset controller (SRC) module is present in the
218	  SoC.
219
220config HAS_MCUX_SRC_V2
221	bool
222	help
223	  Set if version 2 of the system reset controller (SRC) module is
224	  present in the SoC.
225
226config HAS_MCUX_TRNG
227	bool
228	help
229	  Set if the true random number generator (TRNG) module is present in
230	  the SoC.
231
232config HAS_MCUX_USB_EHCI
233	bool
234	help
235	  Set if the USB controller EHCI module is present in the SoC.
236
237config HAS_MCUX_USB_LPCIP3511
238	bool
239	help
240	  Set if the USB controller LPCIP3511 module is present in the SoC.
241
242config HAS_MCUX_USDHC1
243	bool
244	help
245	  Set if the USDHC instance 1 module is present in the SoC.
246
247config HAS_MCUX_USDHC2
248	bool
249	help
250	  Set if the USDHC2 instance 2 module is present in the SoC.
251
252config HAS_MCUX_WDOG32
253	bool
254	help
255	  Set if the watchdog (WDOG32) module is present in the SoC.
256
257config HAS_MCUX_WWDT
258	bool
259	help
260	  Set if the watchdog (WWDT) module is present in the SoC.
261
262config HAS_MCUX_PWM
263	bool
264	help
265	  Set if the PWM  module is present in the SoC.
266
267config HAS_MCUX_SCTIMER
268	bool
269	help
270	  Set if the sctimer module is present in the SoC.
271
272config HAS_MCUX_SMC
273	bool
274	help
275	  Set if the SMC  module is present in the SoC.
276
277config HAS_MCUX_CSI
278	bool
279	help
280	  Set if the CMOS Sensor Interface module is present in the SoC.
281
282config HAS_MCUX_LPTMR
283	bool
284	help
285	  Set if the Low Power Timer (LPTMR) module is present in the SoC.
286
287config HAS_MCUX_DAC
288	bool
289	help
290	  Set if the Digital-to-Analog (DAC) module is present in the SoC.
291
292config HAS_MCUX_DAC32
293	bool
294	help
295	  Set if the Digital-to-Analog (DAC32) module is present in the SoC.
296
297config HAS_MCUX_TPM
298	bool
299	help
300	  Set if the Timer/PWM Module is present in the SoC
301
302config HAS_MCUX_EDMA
303	bool
304	help
305	  Set if the EDMA module is present on the SoC.
306
307config HAS_MCUX_LPC_DMA
308	bool
309	help
310	  Set if the DMA module is present on the SoC.
311
312config HAS_MCUX_RDC
313	bool
314	help
315	  Set if the RDC module is present in the SoC.
316
317config HAS_MCUX_PIT
318	bool
319	help
320	  Set if the PIT module is present on the SoC.
321
322config HAS_MCUX_OS_TIMER
323	bool
324	help
325	  Set if the OS timer is used as a kernel timer on the SoC.
326
327config HAS_MCUX_ACMP
328	bool
329	help
330	  Set if the ACMP module is present on the SoC.
331
332config HAS_MCUX_PWT
333	bool
334	help
335	  Set if the PWT module is present on the SoC.
336
337config HAS_MCUX_RCM
338	bool
339	help
340	  Set if the Reset Control Module (RCM) module is present in
341	  the SoC.
342
343config HAS_MCUX_CTIMER
344	bool
345	help
346	  Set if the CTIMER module is present in the SoC.
347
348config HAS_MCUX_I2S
349	bool
350	help
351	  Set if the I2S/SAI module is present on the Soc
352
353config HAS_MCUX_MCAN
354	bool
355	help
356	  Set if the MCAN module is present on the SoC.
357
358config HAS_MCUX_ADC_ETC
359	bool
360	help
361	  Set if the ADC External Trigger Control module is present
362	  on the SoC.
363
364config HAS_MCUX_XBARA
365	bool
366	help
367	  Set if the XBARA module is present on the SoC.
368
369endif # HAS_MCUX
370