1 /*
2  * Copyright 2020-2023 NXP
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef CLOCK_IP_TYPES_H
8 #define CLOCK_IP_TYPES_H
9 
10 /**
11 *   @file    Clock_Ip_Types.h
12 *   @version    3.0.0
13 *
14 *   @brief   CLOCK IP type header file.
15 *   @details CLOCK IP type header file.
16 
17 *   @addtogroup CLOCK_DRIVER Clock Ip Driver
18 *   @{
19 */
20 
21 #if defined(__cplusplus)
22 extern "C"{
23 #endif
24 /*==================================================================================================
25 *                                          INCLUDE FILES
26 * 1) system and project includes
27 * 2) needed interfaces from external units
28 * 3) internal and external interfaces from this unit
29 ==================================================================================================*/
30 #include "StandardTypes.h"
31 #include "Clock_Ip_Cfg_Defines.h"
32 
33 /*==================================================================================================
34                                SOURCE FILE VERSION INFORMATION
35 ==================================================================================================*/
36 #define CLOCK_IP_TYPES_VENDOR_ID                       43
37 #define CLOCK_IP_TYPES_AR_RELEASE_MAJOR_VERSION        4
38 #define CLOCK_IP_TYPES_AR_RELEASE_MINOR_VERSION        7
39 #define CLOCK_IP_TYPES_AR_RELEASE_REVISION_VERSION     0
40 #define CLOCK_IP_TYPES_SW_MAJOR_VERSION                3
41 #define CLOCK_IP_TYPES_SW_MINOR_VERSION                0
42 #define CLOCK_IP_TYPES_SW_PATCH_VERSION                0
43 
44 /*==================================================================================================
45                                       FILE VERSION CHECKS
46 ==================================================================================================*/
47 #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
48 /* Check if Clock_Ip_Types.h file and StandardTypes.h file are of the same Autosar version */
49 #if ((CLOCK_IP_TYPES_AR_RELEASE_MAJOR_VERSION    != STD_AR_RELEASE_MAJOR_VERSION) || \
50      (CLOCK_IP_TYPES_AR_RELEASE_MINOR_VERSION    != STD_AR_RELEASE_MINOR_VERSION))
51     #error "AutoSar Version Numbers of Clock_Ip_Types.h and StandardTypes.h are different"
52 #endif
53 #endif
54 
55 /* Check if Clock_Ip_Types.h file and Clock_Ip_Cfg_Defines.h file have same versions */
56 #if (CLOCK_IP_TYPES_VENDOR_ID  != CLOCK_IP_CFG_DEFINES_VENDOR_ID)
57     #error "Clock_Ip_Types.h and Clock_Ip_Cfg_Defines.h have different vendor IDs"
58 #endif
59 
60 /* Check if Clock_Ip_Types.h file and Clock_Ip_Cfg_Defines.h file are of the same Autosar version */
61 #if ((CLOCK_IP_TYPES_AR_RELEASE_MAJOR_VERSION    != CLOCK_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION) || \
62      (CLOCK_IP_TYPES_AR_RELEASE_MINOR_VERSION    != CLOCK_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION) || \
63      (CLOCK_IP_TYPES_AR_RELEASE_REVISION_VERSION != CLOCK_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION))
64     #error "AutoSar Version Numbers of Clock_Ip_Types.h and Clock_Ip_Cfg_Defines.h are different"
65 #endif
66 
67 /* Check if Clock_Ip_Types.h file and Clock_Ip_Cfg_Defines.h file are of the same Software version */
68 #if ((CLOCK_IP_TYPES_SW_MAJOR_VERSION != CLOCK_IP_CFG_DEFINES_SW_MAJOR_VERSION) || \
69      (CLOCK_IP_TYPES_SW_MINOR_VERSION != CLOCK_IP_CFG_DEFINES_SW_MINOR_VERSION) || \
70      (CLOCK_IP_TYPES_SW_PATCH_VERSION != CLOCK_IP_CFG_DEFINES_SW_PATCH_VERSION))
71     #error "Software Version Numbers of Clock_Ip_Types.h and Clock_Ip_Cfg_Defines.h are different"
72 #endif
73 
74 /*==================================================================================================
75 *                                            CONSTANTS
76 ==================================================================================================*/
77 
78 /*==================================================================================================
79 *                                       DEFINES AND MACROS
80 ==================================================================================================*/
81 
82 /*==================================================================================================
83 *                                              ENUMS
84 ==================================================================================================*/
85 #if (defined(CLOCK_IP_POWER_MODE_CHANGE_NOTIFICATION))
86 /** @brief Power modes. */
87 typedef enum {
88 
89 #if defined(CLOCK_IP_HAS_RUN_MODE)
90     RUN_MODE                              = CLOCK_IP_HAS_RUN_MODE,
91     VLPR_MODE                             = 1U,
92     VLPS_MODE                             = 2U,
93     HSRUN_MODE                            = 3U,
94 #endif
95 } Clock_Ip_PowerModesType;
96 
97 /** @brief Power mode notification. */
98 typedef enum {
99 
100     BEFORE_POWER_MODE_CHANGE,                /* Before power mode change command is sent */
101     POWER_MODE_CHANGE_IN_PROGRESS,         /* Power mode transition is in progress */
102     POWER_MODE_CHANGED,                    /* Power mode transition completed */
103 
104 } Clock_Ip_PowerNotificationType;
105 #endif
106 
107 /** @brief Clock names. */
108 typedef enum {
109 
110     CLOCK_IS_OFF              = 0U,
111 
112 #if defined(CLOCK_IP_HAS_FIRC_CLK)
113     FIRC_CLK                  = CLOCK_IP_HAS_FIRC_CLK,
114 #endif
115 #if defined(CLOCK_IP_HAS_FIRC_AE_CLK)
116     FIRC_AE_CLK                  = CLOCK_IP_HAS_FIRC_AE_CLK,
117 #endif
118 #if defined(CLOCK_IP_HAS_FIRC_MUXED_CLK)
119     FIRC_MUXED_CLK                  = CLOCK_IP_HAS_FIRC_MUXED_CLK,
120 #endif
121 #if defined(CLOCK_IP_HAS_FIRC_VLP_CLK)
122     FIRC_VLP_CLK              = CLOCK_IP_HAS_FIRC_VLP_CLK,
123 #endif
124 #if defined(CLOCK_IP_HAS_FIRC_STOP_CLK)
125     FIRC_STOP_CLK             = CLOCK_IP_HAS_FIRC_STOP_CLK,
126 #endif
127 #if defined(CLOCK_IP_HAS_FIRC_STANDBY_CLK)
128     FIRC_STANDBY_CLK          = CLOCK_IP_HAS_FIRC_STANDBY_CLK,
129 #endif
130 #if defined(CLOCK_IP_HAS_FIRC_POSTDIV_CLK)
131     FIRC_POSTDIV_CLK          = CLOCK_IP_HAS_FIRC_POSTDIV_CLK,
132 #endif
133 #if defined(CLOCK_IP_HAS_FRO_CLK)
134     FRO_CLK          = CLOCK_IP_HAS_FRO_CLK,
135 #endif
136 #if defined(CLOCK_IP_HAS_SAFE_CLK)
137     SAFE_CLK                  = CLOCK_IP_HAS_SAFE_CLK,
138 #endif
139 #if defined(CLOCK_IP_HAS_SIRC_CLK)
140     SIRC_CLK                  = CLOCK_IP_HAS_SIRC_CLK,
141 #endif
142 #if defined(CLOCK_IP_HAS_SIRC_VLP_CLK)
143     SIRC_VLP_CLK              = CLOCK_IP_HAS_SIRC_VLP_CLK,
144 #endif
145 #if defined(CLOCK_IP_HAS_SIRC_STOP_CLK)
146     SIRC_STOP_CLK             = CLOCK_IP_HAS_SIRC_STOP_CLK,
147 #endif
148 #if defined(CLOCK_IP_HAS_SIRC_STANDBY_CLK)
149     SIRC_STANDBY_CLK          = CLOCK_IP_HAS_SIRC_STANDBY_CLK,
150 #endif
151 #if defined(CLOCK_IP_HAS_SYSTEM_CLK)
152     SYSTEM_CLK          = CLOCK_IP_HAS_SYSTEM_CLK,
153 #endif
154 #if defined(CLOCK_IP_HAS_LPO_128K_CLK)
155     LPO_128K_CLK              = CLOCK_IP_HAS_LPO_128K_CLK,
156 #endif
157 #if defined(CLOCK_IP_HAS_FXOSC_CLK)
158     FXOSC_CLK                 = CLOCK_IP_HAS_FXOSC_CLK,
159 #endif
160 #if defined(CLOCK_IP_HAS_SXOSC_CLK)
161     SXOSC_CLK                 = CLOCK_IP_HAS_SXOSC_CLK,
162 #endif
163 #if defined(CLOCK_IP_HAS_SOSC_CLK)
164     SOSC_CLK                  = CLOCK_IP_HAS_SOSC_CLK,
165 #endif
166 #if defined(CLOCK_IP_HAS_ACCELPLL_CLK)
167     ACCELPLL_CLK              = CLOCK_IP_HAS_ACCELPLL_CLK,
168 #endif
169 #if defined(CLOCK_IP_HAS_COREPLL_CLK)
170     COREPLL_CLK               = CLOCK_IP_HAS_COREPLL_CLK,
171 #endif
172 #if defined(CLOCK_IP_HAS_DDRPLL_CLK)
173     DDRPLL_CLK                = CLOCK_IP_HAS_DDRPLL_CLK,
174 #endif
175 #if defined(CLOCK_IP_HAS_PERIPHPLL_CLK)
176     PERIPHPLL_CLK             = CLOCK_IP_HAS_PERIPHPLL_CLK,
177 #endif
178 #if defined(CLOCK_IP_HAS_LFAST0_PLL_CLK)
179     LFAST0_PLL_CLK             = CLOCK_IP_HAS_LFAST0_PLL_CLK,
180 #endif
181 #if defined(CLOCK_IP_HAS_LFAST1_PLL_CLK)
182     LFAST1_PLL_CLK             = CLOCK_IP_HAS_LFAST1_PLL_CLK,
183 #endif
184 #if defined(CLOCK_IP_HAS_PLL_CLK)
185     PLL_CLK                   = CLOCK_IP_HAS_PLL_CLK,
186 #endif
187 #if defined(CLOCK_IP_HAS_PLL0_CLK)
188     PLL0_CLK                   = CLOCK_IP_HAS_PLL0_CLK,
189 #endif
190 #if defined(CLOCK_IP_HAS_PLL1_CLK)
191     PLL1_CLK                   = CLOCK_IP_HAS_PLL1_CLK,
192 #endif
193 #if defined(CLOCK_IP_HAS_PLLAUX_CLK)
194     PLLAUX_CLK                   = CLOCK_IP_HAS_PLLAUX_CLK,
195 #endif
196 #if defined(CLOCK_IP_HAS_PLLAUX_PHI0_CLK)
197     PLLAUX_PHI0_CLK                   = CLOCK_IP_HAS_PLLAUX_PHI0_CLK,
198 #endif
199 #if defined(CLOCK_IP_HAS_PLLAUX_PHI1_CLK)
200     PLLAUX_PHI1_CLK                   = CLOCK_IP_HAS_PLLAUX_PHI1_CLK,
201 #endif
202 #if defined(CLOCK_IP_HAS_PLLAUX_PHI2_CLK)
203     PLLAUX_PHI2_CLK                   = CLOCK_IP_HAS_PLLAUX_PHI2_CLK,
204 #endif
205 #if defined(CLOCK_IP_HAS_SPLL_CLK)
206     SPLL_CLK                  = CLOCK_IP_HAS_SPLL_CLK,
207 #endif
208 #if defined(CLOCK_IP_HAS_AURORAPLL_CLK)
209     AURORAPLL_CLK             = CLOCK_IP_HAS_AURORAPLL_CLK,
210 #endif
211 #if defined(CLOCK_IP_HAS_ACCEL_PLL_PHI0_CLK)
212     ACCEL_PLL_PHI0_CLK        = CLOCK_IP_HAS_ACCEL_PLL_PHI0_CLK,
213 #endif
214 #if defined(CLOCK_IP_HAS_ACCEL_PLL_PHI1_CLK)
215     ACCEL_PLL_PHI1_CLK        = CLOCK_IP_HAS_ACCEL_PLL_PHI1_CLK,
216 #endif
217 #if defined(CLOCK_IP_HAS_CORE_PLL_PHI0_CLK)
218     CORE_PLL_PHI0_CLK         = CLOCK_IP_HAS_CORE_PLL_PHI0_CLK,
219 #endif
220 #if defined(CLOCK_IP_HAS_CORE_PLL_PHI1_CLK)
221     CORE_PLL_PHI1_CLK         = CLOCK_IP_HAS_CORE_PLL_PHI1_CLK,
222 #endif
223 #if defined(CLOCK_IP_HAS_CORE_PLL_DFS0_CLK)
224     CORE_PLL_DFS0_CLK         = CLOCK_IP_HAS_CORE_PLL_DFS0_CLK,
225 #endif
226 #if defined(CLOCK_IP_HAS_CORE_PLL_DFS1_CLK)
227     CORE_PLL_DFS1_CLK         = CLOCK_IP_HAS_CORE_PLL_DFS1_CLK,
228 #endif
229 #if defined(CLOCK_IP_HAS_CORE_PLL_DFS2_CLK)
230     CORE_PLL_DFS2_CLK         = CLOCK_IP_HAS_CORE_PLL_DFS2_CLK,
231 #endif
232 #if defined(CLOCK_IP_HAS_CORE_PLL_DFS3_CLK)
233     CORE_PLL_DFS3_CLK         = CLOCK_IP_HAS_CORE_PLL_DFS3_CLK,
234 #endif
235 #if defined(CLOCK_IP_HAS_CORE_PLL_DFS4_CLK)
236     CORE_PLL_DFS4_CLK         = CLOCK_IP_HAS_CORE_PLL_DFS4_CLK,
237 #endif
238 #if defined(CLOCK_IP_HAS_CORE_PLL_DFS5_CLK)
239     CORE_PLL_DFS5_CLK         = CLOCK_IP_HAS_CORE_PLL_DFS5_CLK,
240 #endif
241 #if defined(CLOCK_IP_HAS_CORE_PLL_DFS6_CLK)
242     CORE_PLL_DFS6_CLK         = CLOCK_IP_HAS_CORE_PLL_DFS6_CLK,
243 #endif
244 #if defined(CLOCK_IP_HAS_DDR_PLL_PHI0_CLK)
245     DDR_PLL_PHI0_CLK          = CLOCK_IP_HAS_DDR_PLL_PHI0_CLK,
246 #endif
247 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI0_CLK)
248     PERIPH_PLL_PHI0_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI0_CLK,
249 #endif
250 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI1_CLK)
251     PERIPH_PLL_PHI1_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI1_CLK,
252 #endif
253 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI2_CLK)
254     PERIPH_PLL_PHI2_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI2_CLK,
255 #endif
256 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI3_CLK)
257     PERIPH_PLL_PHI3_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI3_CLK,
258 #endif
259 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI4_CLK)
260     PERIPH_PLL_PHI4_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI4_CLK,
261 #endif
262 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI5_CLK)
263     PERIPH_PLL_PHI5_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI5_CLK,
264 #endif
265 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI6_CLK)
266     PERIPH_PLL_PHI6_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI6_CLK,
267 #endif
268 #if defined(CLOCK_IP_HAS_PERIPH_PLL_PHI7_CLK)
269     PERIPH_PLL_PHI7_CLK       = CLOCK_IP_HAS_PERIPH_PLL_PHI7_CLK,
270 #endif
271 #if defined(CLOCK_IP_HAS_PERIPH_PLL_DFS0_CLK)
272     PERIPH_PLL_DFS0_CLK       = CLOCK_IP_HAS_PERIPH_PLL_DFS0_CLK,
273 #endif
274 #if defined(CLOCK_IP_HAS_PERIPH_PLL_DFS1_CLK)
275     PERIPH_PLL_DFS1_CLK       = CLOCK_IP_HAS_PERIPH_PLL_DFS1_CLK,
276 #endif
277 #if defined(CLOCK_IP_HAS_PERIPH_PLL_DFS2_CLK)
278     PERIPH_PLL_DFS2_CLK       = CLOCK_IP_HAS_PERIPH_PLL_DFS2_CLK,
279 #endif
280 #if defined(CLOCK_IP_HAS_PERIPH_PLL_DFS3_CLK)
281     PERIPH_PLL_DFS3_CLK       = CLOCK_IP_HAS_PERIPH_PLL_DFS3_CLK,
282 #endif
283 #if defined(CLOCK_IP_HAS_PERIPH_PLL_DFS4_CLK)
284     PERIPH_PLL_DFS4_CLK       = CLOCK_IP_HAS_PERIPH_PLL_DFS4_CLK,
285 #endif
286 #if defined(CLOCK_IP_HAS_PERIPH_PLL_DFS5_CLK)
287     PERIPH_PLL_DFS5_CLK       = CLOCK_IP_HAS_PERIPH_PLL_DFS5_CLK,
288 #endif
289 #if defined(CLOCK_IP_HAS_PERIPH_PLL_DFS6_CLK)
290     PERIPH_PLL_DFS6_CLK       = CLOCK_IP_HAS_PERIPH_PLL_DFS6_CLK,
291 #endif
292 #if defined(CLOCK_IP_HAS_COREPLL_PHI0_CLK)
293     COREPLL_PHI0_CLK          = CLOCK_IP_HAS_COREPLL_PHI0_CLK,
294 #endif
295 #if defined(CLOCK_IP_HAS_COREPLL_PHI1_CLK)
296     COREPLL_PHI1_CLK          = CLOCK_IP_HAS_COREPLL_PHI1_CLK,
297 #endif
298 #if defined(CLOCK_IP_HAS_COREPLL_PHI2_CLK)
299     COREPLL_PHI2_CLK          = CLOCK_IP_HAS_COREPLL_PHI2_CLK,
300 #endif
301 #if defined(CLOCK_IP_HAS_COREPLL_PHI3_CLK)
302     COREPLL_PHI3_CLK          = CLOCK_IP_HAS_COREPLL_PHI3_CLK,
303 #endif
304 #if defined(CLOCK_IP_HAS_COREPLL_PHI4_CLK)
305     COREPLL_PHI4_CLK          = CLOCK_IP_HAS_COREPLL_PHI4_CLK,
306 #endif
307 #if defined(CLOCK_IP_HAS_COREPLL_PHI5_CLK)
308     COREPLL_PHI5_CLK          = CLOCK_IP_HAS_COREPLL_PHI5_CLK,
309 #endif
310 #if defined(CLOCK_IP_HAS_COREPLL_PHI6_CLK)
311     COREPLL_PHI6_CLK          = CLOCK_IP_HAS_COREPLL_PHI6_CLK,
312 #endif
313 #if defined(CLOCK_IP_HAS_COREPLL_PHI7_CLK)
314     COREPLL_PHI7_CLK          = CLOCK_IP_HAS_COREPLL_PHI7_CLK,
315 #endif
316 #if defined(CLOCK_IP_HAS_COREPLL_PHI8_CLK)
317     COREPLL_PHI8_CLK          = CLOCK_IP_HAS_COREPLL_PHI8_CLK,
318 #endif
319 #if defined(CLOCK_IP_HAS_COREPLL_PHI9_CLK)
320     COREPLL_PHI9_CLK          = CLOCK_IP_HAS_COREPLL_PHI9_CLK,
321 #endif
322 #if defined(CLOCK_IP_HAS_COREPLL_DFS0_CLK)
323     COREPLL_DFS0_CLK          = CLOCK_IP_HAS_COREPLL_DFS0_CLK,
324 #endif
325 #if defined(CLOCK_IP_HAS_COREPLL_DFS1_CLK)
326     COREPLL_DFS1_CLK          = CLOCK_IP_HAS_COREPLL_DFS1_CLK,
327 #endif
328 #if defined(CLOCK_IP_HAS_COREPLL_DFS2_CLK)
329     COREPLL_DFS2_CLK          = CLOCK_IP_HAS_COREPLL_DFS2_CLK,
330 #endif
331 #if defined(CLOCK_IP_HAS_COREPLL_DFS3_CLK)
332     COREPLL_DFS3_CLK          = CLOCK_IP_HAS_COREPLL_DFS3_CLK,
333 #endif
334 #if defined(CLOCK_IP_HAS_COREPLL_DFS4_CLK)
335     COREPLL_DFS4_CLK          = CLOCK_IP_HAS_COREPLL_DFS4_CLK,
336 #endif
337 #if defined(CLOCK_IP_HAS_COREPLL_DFS5_CLK)
338     COREPLL_DFS5_CLK          = CLOCK_IP_HAS_COREPLL_DFS5_CLK,
339 #endif
340 #if defined(CLOCK_IP_HAS_COREPLL_DFS6_CLK)
341     COREPLL_DFS6_CLK          = CLOCK_IP_HAS_COREPLL_DFS6_CLK,
342 #endif
343 #if defined(CLOCK_IP_HAS_DDRPLL_PHI0_CLK)
344     DDRPLL_PHI0_CLK           = CLOCK_IP_HAS_DDRPLL_PHI0_CLK,
345 #endif
346 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI0_CLK)
347     PERIPHPLL_PHI0_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI0_CLK,
348 #endif
349 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI1_CLK)
350     PERIPHPLL_PHI1_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI1_CLK,
351 #endif
352 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI2_CLK)
353     PERIPHPLL_PHI2_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI2_CLK,
354 #endif
355 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI3_CLK)
356     PERIPHPLL_PHI3_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI3_CLK,
357 #endif
358 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI4_CLK)
359     PERIPHPLL_PHI4_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI4_CLK,
360 #endif
361 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI5_CLK)
362     PERIPHPLL_PHI5_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI5_CLK,
363 #endif
364 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI6_CLK)
365     PERIPHPLL_PHI6_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI6_CLK,
366 #endif
367 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI7_CLK)
368     PERIPHPLL_PHI7_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI7_CLK,
369 #endif
370 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI8_CLK)
371     PERIPHPLL_PHI8_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI8_CLK,
372 #endif
373 #if defined(CLOCK_IP_HAS_PERIPHPLL_PHI9_CLK)
374     PERIPHPLL_PHI9_CLK        = CLOCK_IP_HAS_PERIPHPLL_PHI9_CLK,
375 #endif
376 #if defined(CLOCK_IP_HAS_PERIPHPLL_DFS0_CLK)
377     PERIPHPLL_DFS0_CLK        = CLOCK_IP_HAS_PERIPHPLL_DFS0_CLK,
378 #endif
379 #if defined(CLOCK_IP_HAS_PERIPHPLL_DFS1_CLK)
380     PERIPHPLL_DFS1_CLK        = CLOCK_IP_HAS_PERIPHPLL_DFS1_CLK,
381 #endif
382 #if defined(CLOCK_IP_HAS_PERIPHPLL_DFS2_CLK)
383     PERIPHPLL_DFS2_CLK        = CLOCK_IP_HAS_PERIPHPLL_DFS2_CLK,
384 #endif
385 #if defined(CLOCK_IP_HAS_PERIPHPLL_DFS3_CLK)
386     PERIPHPLL_DFS3_CLK        = CLOCK_IP_HAS_PERIPHPLL_DFS3_CLK,
387 #endif
388 #if defined(CLOCK_IP_HAS_PERIPHPLL_DFS4_CLK)
389     PERIPHPLL_DFS4_CLK        = CLOCK_IP_HAS_PERIPHPLL_DFS4_CLK,
390 #endif
391 #if defined(CLOCK_IP_HAS_PERIPHPLL_DFS5_CLK)
392     PERIPHPLL_DFS5_CLK        = CLOCK_IP_HAS_PERIPHPLL_DFS5_CLK,
393 #endif
394 #if defined(CLOCK_IP_HAS_PERIPHPLL_DFS6_CLK)
395     PERIPHPLL_DFS6_CLK        = CLOCK_IP_HAS_PERIPHPLL_DFS6_CLK,
396 #endif
397 #if defined(CLOCK_IP_HAS_PLL_PHI0_CLK)
398     PLL_PHI0_CLK              = CLOCK_IP_HAS_PLL_PHI0_CLK,
399 #endif
400 #if defined(CLOCK_IP_HAS_PLL_PHI1_CLK)
401     PLL_PHI1_CLK              = CLOCK_IP_HAS_PLL_PHI1_CLK,
402 #endif
403 #if defined(CLOCK_IP_HAS_AURORAPLL_PHI0_CLK)
404     AURORAPLL_PHI0_CLK       = CLOCK_IP_HAS_AURORAPLL_PHI0_CLK,
405 #endif
406 #if defined(CLOCK_IP_HAS_AURORAPLL_PHI1_CLK)
407     AURORAPLL_PHI1_CLK       = CLOCK_IP_HAS_AURORAPLL_PHI1_CLK,
408 #endif
409 #if defined(CLOCK_IP_HAS_AURORAPLL_PHI2_CLK)
410     AURORAPLL_PHI2_CLK       = CLOCK_IP_HAS_AURORAPLL_PHI2_CLK,
411 #endif
412 #if defined(CLOCK_IP_HAS_LFAST0_PLL_PH0_CLK)
413     LFAST0_PLL_PH0_CLK       = CLOCK_IP_HAS_LFAST0_PLL_PH0_CLK,
414 #endif
415 #if defined(CLOCK_IP_HAS_LFAST1_PLL_PH0_CLK)
416     LFAST1_PLL_PH0_CLK       = CLOCK_IP_HAS_LFAST1_PLL_PH0_CLK,
417 #endif
418 #if defined(CLOCK_IP_HAS_PLL_POSTDIV_CLK)
419     PLL_POSTDIV_CLK           = CLOCK_IP_HAS_PLL_POSTDIV_CLK,
420 #endif
421 #if defined(CLOCK_IP_HAS_PLLAUX_POSTDIV_CLK)
422     PLLAUX_POSTDIV_CLK           = CLOCK_IP_HAS_PLLAUX_POSTDIV_CLK,
423 #endif
424 #if defined(CLOCK_IP_HAS_SIRCDIV1_CLK)
425     SIRCDIV1_CLK              = CLOCK_IP_HAS_SIRCDIV1_CLK,
426 #endif
427 #if defined(CLOCK_IP_HAS_SIRCDIV2_CLK)
428     SIRCDIV2_CLK              = CLOCK_IP_HAS_SIRCDIV2_CLK,
429 #endif
430 #if defined(CLOCK_IP_HAS_FDIV0_CLK)
431     FDIV0_CLK              = CLOCK_IP_HAS_FDIV0_CLK,
432 #endif
433 #if defined(CLOCK_IP_HAS_FIRCDIV1_CLK)
434     FIRCDIV1_CLK              = CLOCK_IP_HAS_FIRCDIV1_CLK,
435 #endif
436 #if defined(CLOCK_IP_HAS_FIRCDIV2_CLK)
437     FIRCDIV2_CLK              = CLOCK_IP_HAS_FIRCDIV2_CLK,
438 #endif
439 #if defined(CLOCK_IP_HAS_SOSCDIV1_CLK)
440     SOSCDIV1_CLK              = CLOCK_IP_HAS_SOSCDIV1_CLK,
441 #endif
442 #if defined(CLOCK_IP_HAS_SOSCDIV2_CLK)
443     SOSCDIV2_CLK              = CLOCK_IP_HAS_SOSCDIV2_CLK,
444 #endif
445 #if defined(CLOCK_IP_HAS_SPLLDIV1_CLK)
446     SPLLDIV1_CLK              = CLOCK_IP_HAS_SPLLDIV1_CLK,
447 #endif
448 #if defined(CLOCK_IP_HAS_SPLLDIV2_CLK)
449     SPLLDIV2_CLK              = CLOCK_IP_HAS_SPLLDIV2_CLK,
450 #endif
451 #if defined(CLOCK_IP_HAS_LPO_32K_CLK)
452     LPO_32K_CLK               = CLOCK_IP_HAS_LPO_32K_CLK,
453 #endif
454 #if defined(CLOCK_IP_HAS_LPO_1K_CLK)
455     LPO_1K_CLK                = CLOCK_IP_HAS_LPO_1K_CLK,
456 #endif
457 #if defined(CLOCK_IP_HAS_SERDES_0_LANE_0_TX)
458     SERDES_0_LANE_0_TX        = CLOCK_IP_HAS_SERDES_0_LANE_0_TX,
459 #endif
460 #if defined(CLOCK_IP_HAS_SERDES_0_LANE_0_CDR)
461     SERDES_0_LANE_0_CDR       = CLOCK_IP_HAS_SERDES_0_LANE_0_CDR,
462 #endif
463 #if defined(CLOCK_IP_HAS_SERDES_0_LANE_1_TX)
464     SERDES_0_LANE_1_TX        = CLOCK_IP_HAS_SERDES_0_LANE_1_TX,
465 #endif
466 #if defined(CLOCK_IP_HAS_SERDES_0_LANE_1_CDR)
467     SERDES_0_LANE_1_CDR       = CLOCK_IP_HAS_SERDES_0_LANE_1_CDR,
468 #endif
469 #if defined(CLOCK_IP_HAS_SERDES_1_LANE_0_TX)
470     SERDES_1_LANE_0_TX        = CLOCK_IP_HAS_SERDES_1_LANE_0_TX,
471 #endif
472 #if defined(CLOCK_IP_HAS_SERDES_1_LANE_0_CDR)
473     SERDES_1_LANE_0_CDR       = CLOCK_IP_HAS_SERDES_1_LANE_0_CDR,
474 #endif
475 #if defined(CLOCK_IP_HAS_SERDES_1_LANE_1_TX)
476     SERDES_1_LANE_1_TX        = CLOCK_IP_HAS_SERDES_1_LANE_1_TX,
477 #endif
478 #if defined(CLOCK_IP_HAS_SERDES_1_LANE_1_CDR)
479     SERDES_1_LANE_1_CDR       = CLOCK_IP_HAS_SERDES_1_LANE_1_CDR,
480 #endif
481 #if defined(CLOCK_IP_HAS_SERDES_0_XPCS_0_TX)
482     SERDES_0_XPCS_0_TX        = CLOCK_IP_HAS_SERDES_0_XPCS_0_TX,
483 #endif
484 #if defined(CLOCK_IP_HAS_SERDES_0_XPCS_0_CDR)
485     SERDES_0_XPCS_0_CDR       = CLOCK_IP_HAS_SERDES_0_XPCS_0_CDR,
486 #endif
487 #if defined(CLOCK_IP_HAS_SERDES_0_XPCS_1_TX)
488     SERDES_0_XPCS_1_TX        = CLOCK_IP_HAS_SERDES_0_XPCS_1_TX,
489 #endif
490 #if defined(CLOCK_IP_HAS_SERDES_0_XPCS_1_CDR)
491     SERDES_0_XPCS_1_CDR       = CLOCK_IP_HAS_SERDES_0_XPCS_1_CDR,
492 #endif
493 #if defined(CLOCK_IP_HAS_SERDES_1_XPCS_0_TX)
494     SERDES_1_XPCS_0_TX        = CLOCK_IP_HAS_SERDES_1_XPCS_0_TX,
495 #endif
496 #if defined(CLOCK_IP_HAS_SERDES_1_XPCS_0_CDR)
497     SERDES_1_XPCS_0_CDR       = CLOCK_IP_HAS_SERDES_1_XPCS_0_CDR,
498 #endif
499 #if defined(CLOCK_IP_HAS_SERDES_1_XPCS_1_TX)
500     SERDES_1_XPCS_1_TX        = CLOCK_IP_HAS_SERDES_1_XPCS_1_TX,
501 #endif
502 #if defined(CLOCK_IP_HAS_SERDES_1_XPCS_1_CDR)
503     SERDES_1_XPCS_1_CDR       = CLOCK_IP_HAS_SERDES_1_XPCS_1_CDR,
504 #endif
505 #if defined(CLOCK_IP_HAS_EMAC_MII_RX_CLK)
506     EMAC_MII_RX_CLK           = CLOCK_IP_HAS_EMAC_MII_RX_CLK,
507 #endif
508 #if defined(CLOCK_IP_HAS_EMAC_MII_RMII_TX_CLK)
509     EMAC_MII_RMII_TX_CLK      = CLOCK_IP_HAS_EMAC_MII_RMII_TX_CLK,
510 #endif
511 #if defined(CLOCK_IP_HAS_ETH_RGMII_REF_CLK)
512     ETH_RGMII_REF_CLK         = CLOCK_IP_HAS_ETH_RGMII_REF_CLK,
513 #endif
514 #if defined(CLOCK_IP_HAS_ETH_EXT_TS_CLK)
515     ETH_EXT_TS_CLK            = CLOCK_IP_HAS_ETH_EXT_TS_CLK,
516 #endif
517 #if defined(CLOCK_IP_HAS_ETH0_EXT_RX_CLK)
518     ETH0_EXT_RX_CLK           = CLOCK_IP_HAS_ETH0_EXT_RX_CLK,
519 #endif
520 #if defined(CLOCK_IP_HAS_ETH0_EXT_TX_CLK)
521     ETH0_EXT_TX_CLK           = CLOCK_IP_HAS_ETH0_EXT_TX_CLK,
522 #endif
523 #if defined(CLOCK_IP_HAS_ETH1_EXT_RX_CLK)
524     ETH1_EXT_RX_CLK           = CLOCK_IP_HAS_ETH1_EXT_RX_CLK,
525 #endif
526 #if defined(CLOCK_IP_HAS_ETH1_EXT_TX_CLK)
527     ETH1_EXT_TX_CLK           = CLOCK_IP_HAS_ETH1_EXT_TX_CLK,
528 #endif
529 #if defined(CLOCK_IP_HAS_LFAST0_EXT_REF_CLK)
530     LFAST0_EXT_REF_CLK        = CLOCK_IP_HAS_LFAST0_EXT_REF_CLK,
531 #endif
532 #if defined(CLOCK_IP_HAS_LFAST1_EXT_REF_CLK)
533     LFAST1_EXT_REF_CLK        = CLOCK_IP_HAS_LFAST1_EXT_REF_CLK,
534 #endif
535 #if defined(CLOCK_IP_HAS_FTM_0_EXT_REF_CLK)
536     FTM_0_EXT_REF_CLK         = CLOCK_IP_HAS_FTM_0_EXT_REF_CLK,
537 #endif
538 #if defined(CLOCK_IP_HAS_FTM_1_EXT_REF_CLK)
539     FTM_1_EXT_REF_CLK         = CLOCK_IP_HAS_FTM_1_EXT_REF_CLK,
540 #endif
541 #if defined(CLOCK_IP_HAS_GMAC_0_EXT_REF_CLK)
542     GMAC_0_EXT_REF_CLK        = CLOCK_IP_HAS_GMAC_0_EXT_REF_CLK,
543 #endif
544 #if defined(CLOCK_IP_HAS_GMAC_0_EXT_RX_CLK)
545     GMAC_0_EXT_RX_CLK         = CLOCK_IP_HAS_GMAC_0_EXT_RX_CLK,
546 #endif
547 #if defined(CLOCK_IP_HAS_GMAC_0_EXT_TX_CLK)
548     GMAC_0_EXT_TX_CLK         = CLOCK_IP_HAS_GMAC_0_EXT_TX_CLK,
549 #endif
550 #if defined(CLOCK_IP_HAS_GMAC_0_SGMII_REF_CLK)
551     GMAC_0_SGMII_REF_CLK      = CLOCK_IP_HAS_GMAC_0_SGMII_REF_CLK,
552 #endif
553 #if defined(CLOCK_IP_HAS_GMAC_0_SGMII_RX_CLK)
554     GMAC_0_SGMII_RX_CLK       = CLOCK_IP_HAS_GMAC_0_SGMII_RX_CLK,
555 #endif
556 #if defined(CLOCK_IP_HAS_GMAC_0_SGMII_TX_CLK)
557     GMAC_0_SGMII_TX_CLK       = CLOCK_IP_HAS_GMAC_0_SGMII_TX_CLK,
558 #endif
559 #if defined(CLOCK_IP_HAS_GMAC_1_EXT_REF_CLK)
560     GMAC_1_EXT_REF_CLK        = CLOCK_IP_HAS_GMAC_1_EXT_REF_CLK,
561 #endif
562 #if defined(CLOCK_IP_HAS_GMAC_1_EXT_RX_CLK)
563     GMAC_1_EXT_RX_CLK         = CLOCK_IP_HAS_GMAC_1_EXT_RX_CLK,
564 #endif
565 #if defined(CLOCK_IP_HAS_GMAC_1_EXT_TX_CLK)
566     GMAC_1_EXT_TX_CLK         = CLOCK_IP_HAS_GMAC_1_EXT_TX_CLK,
567 #endif
568 #if defined(CLOCK_IP_HAS_GMAC_EXT_TS_CLK)
569     GMAC_EXT_TS_CLK           = CLOCK_IP_HAS_GMAC_EXT_TS_CLK,
570 #endif
571 #if defined(CLOCK_IP_HAS_GMAC_0_EXT_TS_CLK)
572     GMAC_0_EXT_TS_CLK         = CLOCK_IP_HAS_GMAC_0_EXT_TS_CLK,
573 #endif
574 #if defined(CLOCK_IP_HAS_GMAC_1_EXT_TS_CLK)
575     GMAC_1_EXT_TS_CLK         = CLOCK_IP_HAS_GMAC_1_EXT_TS_CLK,
576 #endif
577 #if defined(CLOCK_IP_HAS_GMAC_1_INT_REF_CLK)
578     GMAC_1_INT_REF_CLK         = CLOCK_IP_HAS_GMAC_1_INT_REF_CLK,
579 #endif
580 #if defined(CLOCK_IP_HAS_PFE_MAC_0_EXT_REF_CLK)
581     PFE_MAC_0_EXT_REF_CLK     = CLOCK_IP_HAS_PFE_MAC_0_EXT_REF_CLK,
582 #endif
583 #if defined(CLOCK_IP_HAS_PFE_MAC_0_EXT_RX_CLK)
584     PFE_MAC_0_EXT_RX_CLK      = CLOCK_IP_HAS_PFE_MAC_0_EXT_RX_CLK,
585 #endif
586 #if defined(CLOCK_IP_HAS_PFE_MAC_0_EXT_TX_CLK)
587     PFE_MAC_0_EXT_TX_CLK      = CLOCK_IP_HAS_PFE_MAC_0_EXT_TX_CLK,
588 #endif
589 #if defined(CLOCK_IP_HAS_PFE_MAC_1_EXT_REF_CLK)
590     PFE_MAC_1_EXT_REF_CLK     = CLOCK_IP_HAS_PFE_MAC_1_EXT_REF_CLK,
591 #endif
592 #if defined(CLOCK_IP_HAS_PFE_MAC_1_EXT_RX_CLK)
593     PFE_MAC_1_EXT_RX_CLK      = CLOCK_IP_HAS_PFE_MAC_1_EXT_RX_CLK,
594 #endif
595 #if defined(CLOCK_IP_HAS_PFE_MAC_1_EXT_TX_CLK)
596     PFE_MAC_1_EXT_TX_CLK      = CLOCK_IP_HAS_PFE_MAC_1_EXT_TX_CLK,
597 #endif
598 #if defined(CLOCK_IP_HAS_PFE_MAC_2_EXT_REF_CLK)
599     PFE_MAC_2_EXT_REF_CLK     = CLOCK_IP_HAS_PFE_MAC_2_EXT_REF_CLK,
600 #endif
601 #if defined(CLOCK_IP_HAS_PFE_MAC_2_EXT_RX_CLK)
602     PFE_MAC_2_EXT_RX_CLK      = CLOCK_IP_HAS_PFE_MAC_2_EXT_RX_CLK,
603 #endif
604 #if defined(CLOCK_IP_HAS_PFE_MAC_2_EXT_TX_CLK)
605     PFE_MAC_2_EXT_TX_CLK      = CLOCK_IP_HAS_PFE_MAC_2_EXT_TX_CLK,
606 #endif
607 #if defined(CLOCK_IP_HAS_TCLK0_REF_CLK)
608     TCLK0_REF_CLK             = CLOCK_IP_HAS_TCLK0_REF_CLK,
609 #endif
610 #if defined(CLOCK_IP_HAS_TCLK1_REF_CLK)
611     TCLK1_REF_CLK             = CLOCK_IP_HAS_TCLK1_REF_CLK,
612 #endif
613 #if defined(CLOCK_IP_HAS_TCLK2_REF_CLK)
614     TCLK2_REF_CLK             = CLOCK_IP_HAS_TCLK2_REF_CLK,
615 #endif
616 #if defined(CLOCK_IP_HAS_TEST_CLK)
617     TEST_CLK             = CLOCK_IP_HAS_TEST_CLK,
618 #endif
619 #if defined(CLOCK_IP_HAS_TPR_CLK)
620     TPR_CLK             = CLOCK_IP_HAS_TPR_CLK,
621 #endif
622 #if defined(CLOCK_IP_HAS_RTC_CLKIN)
623     RTC_CLKIN                 = CLOCK_IP_HAS_RTC_CLKIN,
624 #endif
625 #if defined(CLOCK_IP_HAS_A53_CORE_CLK)
626     A53_CORE_CLK              = CLOCK_IP_HAS_A53_CORE_CLK,
627 #endif
628 #if defined(CLOCK_IP_HAS_A53_CORE_DIV2_CLK)
629     A53_CORE_DIV2_CLK         = CLOCK_IP_HAS_A53_CORE_DIV2_CLK,
630 #endif
631 #if defined(CLOCK_IP_HAS_A53_CORE_DIV4_CLK)
632     A53_CORE_DIV4_CLK         = CLOCK_IP_HAS_A53_CORE_DIV4_CLK,
633 #endif
634 #if defined(CLOCK_IP_HAS_A53_CORE_DIV10_CLK)
635     A53_CORE_DIV10_CLK        = CLOCK_IP_HAS_A53_CORE_DIV10_CLK,
636 #endif
637 #if defined(CLOCK_IP_HAS_AIPS_PLAT_CLK)
638     AIPS_PLAT_CLK             = CLOCK_IP_HAS_AIPS_PLAT_CLK,
639 #endif
640 #if defined(CLOCK_IP_HAS_AIPS_SLOW_CLK)
641     AIPS_SLOW_CLK             = CLOCK_IP_HAS_AIPS_SLOW_CLK,
642 #endif
643 #if defined(CLOCK_IP_HAS_ACCEL3_CLK)
644     ACCEL3_CLK                = CLOCK_IP_HAS_ACCEL3_CLK,
645 #endif
646 #if defined(CLOCK_IP_HAS_ACCEL3_DIV3_CLK)
647     ACCEL3_DIV3_CLK           = CLOCK_IP_HAS_ACCEL3_DIV3_CLK,
648 #endif
649 #if defined(CLOCK_IP_HAS_ACCEL4_CLK)
650     ACCEL4_CLK                = CLOCK_IP_HAS_ACCEL4_CLK,
651 #endif
652 #if defined(CLOCK_IP_HAS_CLKOUT_RUN_CLK)
653     CLKOUT_RUN_CLK            = CLOCK_IP_HAS_CLKOUT_RUN_CLK,
654 #endif
655 #if defined(CLOCK_IP_HAS_DCM_CLK)
656     DCM_CLK                   = CLOCK_IP_HAS_DCM_CLK,
657 #endif
658 #if defined(CLOCK_IP_HAS_DDR_CLK)
659     DDR_CLK                   = CLOCK_IP_HAS_DDR_CLK,
660 #endif
661 #if defined(CLOCK_IP_HAS_DDR0_CLK)
662     DDR0_CLK                   = CLOCK_IP_HAS_DDR0_CLK,
663 #endif
664 #if defined(CLOCK_IP_HAS_DMACRC0_CLK)
665     DMACRC0_CLK                   = CLOCK_IP_HAS_DMACRC0_CLK,
666 #endif
667 #if defined(CLOCK_IP_HAS_DMACRC1_CLK)
668     DMACRC1_CLK                   = CLOCK_IP_HAS_DMACRC1_CLK,
669 #endif
670 #if defined(CLOCK_IP_HAS_DMACRC4_CLK)
671     DMACRC4_CLK                   = CLOCK_IP_HAS_DMACRC4_CLK,
672 #endif
673 #if defined(CLOCK_IP_HAS_DMACRC5_CLK)
674     DMACRC5_CLK                   = CLOCK_IP_HAS_DMACRC5_CLK,
675 #endif
676 #if defined(CLOCK_IP_HAS_GMAC_REF_DIV_CLK)
677     GMAC_REF_DIV_CLK          = CLOCK_IP_HAS_GMAC_REF_DIV_CLK,
678 #endif
679 #if defined(CLOCK_IP_HAS_GMAC0_REF_DIV_CLK)
680     GMAC0_REF_DIV_CLK         = CLOCK_IP_HAS_GMAC0_REF_DIV_CLK,
681 #endif
682 #if defined(CLOCK_IP_HAS_GMAC0_REF_CLK)
683     GMAC0_REF_CLK             = CLOCK_IP_HAS_GMAC0_REF_CLK,
684 #endif
685 #if defined(CLOCK_IP_HAS_GMAC1_REF_DIV_CLK)
686     GMAC1_REF_DIV_CLK         = CLOCK_IP_HAS_GMAC1_REF_DIV_CLK,
687 #endif
688 #if defined(CLOCK_IP_HAS_GMAC1_REF_CLK)
689     GMAC1_REF_CLK             = CLOCK_IP_HAS_GMAC1_REF_CLK,
690 #endif
691 #if defined(CLOCK_IP_HAS_GMAC1_INT_CLK)
692     GMAC1_INT_CLK             = CLOCK_IP_HAS_GMAC1_INT_CLK,
693 #endif
694 #if defined(CLOCK_IP_HAS_AURORA_TRACE_TEST_CLK)
695     AURORA_TRACE_TEST_CLK             = CLOCK_IP_HAS_AURORA_TRACE_TEST_CLK,
696 #endif
697 #if defined(CLOCK_IP_HAS_HSE_CLK)
698     HSE_CLK                   = CLOCK_IP_HAS_HSE_CLK,
699 #endif
700 #if defined(CLOCK_IP_HAS_LBIST_CLK)
701     LBIST_CLK                 = CLOCK_IP_HAS_LBIST_CLK,
702 #endif
703 #if defined(CLOCK_IP_HAS_PFE_PE_CLK)
704     PFE_PE_CLK                = CLOCK_IP_HAS_PFE_PE_CLK,
705 #endif
706 #if defined(CLOCK_IP_HAS_PFE_SYS_CLK)
707     PFE_SYS_CLK                = CLOCK_IP_HAS_PFE_SYS_CLK,
708 #endif
709 #if defined(CLOCK_IP_HAS_PER_CLK)
710     PER_CLK                   = CLOCK_IP_HAS_PER_CLK,
711 #endif
712 #if defined(CLOCK_IP_HAS_PFEMAC0_REF_DIV_CLK)
713     PFEMAC0_REF_DIV_CLK       = CLOCK_IP_HAS_PFEMAC0_REF_DIV_CLK,
714 #endif
715 #if defined(CLOCK_IP_HAS_PFEMAC1_REF_DIV_CLK)
716     PFEMAC1_REF_DIV_CLK       = CLOCK_IP_HAS_PFEMAC1_REF_DIV_CLK,
717 #endif
718 #if defined(CLOCK_IP_HAS_PFEMAC2_REF_DIV_CLK)
719     PFEMAC2_REF_DIV_CLK       = CLOCK_IP_HAS_PFEMAC2_REF_DIV_CLK,
720 #endif
721 #if defined(CLOCK_IP_HAS_QSPI_MEM_CLK)
722     QSPI_MEM_CLK              = CLOCK_IP_HAS_QSPI_MEM_CLK,
723 #endif
724 #if defined(CLOCK_IP_HAS_SCS_CLK)
725     SCS_CLK                   = CLOCK_IP_HAS_SCS_CLK,
726 #endif
727 #if defined(CLOCK_IP_HAS_XBAR_2X_CLK)
728     XBAR_2X_CLK               = CLOCK_IP_HAS_XBAR_2X_CLK,
729 #endif
730 #if defined(CLOCK_IP_HAS_XBAR_CLK)
731     XBAR_CLK                  = CLOCK_IP_HAS_XBAR_CLK,
732 #endif
733 #if defined(CLOCK_IP_HAS_XBAR_DIV2_CLK)
734     XBAR_DIV2_CLK             = CLOCK_IP_HAS_XBAR_DIV2_CLK,
735 #endif
736 #if defined(CLOCK_IP_HAS_XBAR_DIV3_CLK)
737     XBAR_DIV3_CLK             = CLOCK_IP_HAS_XBAR_DIV3_CLK,
738 #endif
739 #if defined(CLOCK_IP_HAS_XBAR_DIV4_CLK)
740     XBAR_DIV4_CLK             = CLOCK_IP_HAS_XBAR_DIV4_CLK,
741 #endif
742 #if defined(CLOCK_IP_HAS_XBAR_DIV6_CLK)
743     XBAR_DIV6_CLK             = CLOCK_IP_HAS_XBAR_DIV6_CLK,
744 #endif
745 #if defined(CLOCK_IP_HAS_XMII_CLK_125MHZ)
746     XMII_CLK_125MHZ             = CLOCK_IP_HAS_XMII_CLK_125MHZ,
747 #endif
748 #if defined(CLOCK_IP_HAS_XMII_CLK_2M5HZ)
749     XMII_CLK_2M5HZ             = CLOCK_IP_HAS_XMII_CLK_2M5HZ,
750 #endif
751 #if defined(CLOCK_IP_HAS_XMII_CLK_25MHZ)
752     XMII_CLK_25MHZ             = CLOCK_IP_HAS_XMII_CLK_25MHZ,
753 #endif
754 #if defined(CLOCK_IP_HAS_XMII_CLK_50MHZ)
755     XMII_CLK_50MHZ             = CLOCK_IP_HAS_XMII_CLK_50MHZ,
756 #endif
757 #if defined(CLOCK_IP_HAS_XOSC_CLK)
758     XOSC_CLK             = CLOCK_IP_HAS_XOSC_CLK,
759 #endif
760 #if defined(CLOCK_IP_HAS_SERDES_REF_CLK)
761     SERDES_REF_CLK            = CLOCK_IP_HAS_SERDES_REF_CLK,
762 #endif
763 #if defined(CLOCK_IP_HAS_SERDES0_REF_CLK)
764     SERDES0_REF_CLK            = CLOCK_IP_HAS_SERDES0_REF_CLK,
765 #endif
766 #if defined(CLOCK_IP_HAS_SERDES1_REF_CLK)
767     SERDES1_REF_CLK            = CLOCK_IP_HAS_SERDES1_REF_CLK,
768 #endif
769 #if defined(CLOCK_IP_HAS_SCS_RUN_CLK)
770     SCS_RUN_CLK               = CLOCK_IP_HAS_SCS_RUN_CLK,
771 #endif
772 #if defined(CLOCK_IP_HAS_SCS_VLPR_CLK)
773     SCS_VLPR_CLK              = CLOCK_IP_HAS_SCS_VLPR_CLK,
774 #endif
775 #if defined(CLOCK_IP_HAS_SCS_HSRUN_CLK)
776     SCS_HSRUN_CLK             = CLOCK_IP_HAS_SCS_HSRUN_CLK,
777 #endif
778 #if defined(CLOCK_IP_HAS_CORE_CLK)
779     CORE_CLK                  = CLOCK_IP_HAS_CORE_CLK,
780 #endif
781 #if defined(CLOCK_IP_HAS_CM7_CORE_CLK)
782     CM7_CORE_CLK              = CLOCK_IP_HAS_CM7_CORE_CLK,
783 #endif
784 #if defined(CLOCK_IP_HAS_CORE_RUN_CLK)
785     CORE_RUN_CLK              = CLOCK_IP_HAS_CORE_RUN_CLK,
786 #endif
787 #if defined(CLOCK_IP_HAS_CORE_VLPR_CLK)
788     CORE_VLPR_CLK             = CLOCK_IP_HAS_CORE_VLPR_CLK,
789 #endif
790 #if defined(CLOCK_IP_HAS_CORE_HSRUN_CLK)
791     CORE_HSRUN_CLK             = CLOCK_IP_HAS_CORE_HSRUN_CLK,
792 #endif
793 #if defined(CLOCK_IP_HAS_BUS_CLK)
794     BUS_CLK                   = CLOCK_IP_HAS_BUS_CLK,
795 #endif
796 #if defined(CLOCK_IP_HAS_BUS_RUN_CLK)
797     BUS_RUN_CLK               = CLOCK_IP_HAS_BUS_RUN_CLK,
798 #endif
799 #if defined(CLOCK_IP_HAS_BUS_VLPR_CLK)
800     BUS_VLPR_CLK              = CLOCK_IP_HAS_BUS_VLPR_CLK,
801 #endif
802 #if defined(CLOCK_IP_HAS_BUS_HSRUN_CLK)
803     BUS_HSRUN_CLK              = CLOCK_IP_HAS_BUS_HSRUN_CLK,
804 #endif
805 #if defined(CLOCK_IP_HAS_SLOW_CLK)
806     SLOW_CLK                  = CLOCK_IP_HAS_SLOW_CLK,
807 #endif
808 #if defined(CLOCK_IP_HAS_SLOW_RUN_CLK)
809     SLOW_RUN_CLK              = CLOCK_IP_HAS_SLOW_RUN_CLK,
810 #endif
811 #if defined(CLOCK_IP_HAS_SLOW_VLPR_CLK)
812     SLOW_VLPR_CLK             = CLOCK_IP_HAS_SLOW_VLPR_CLK,
813 #endif
814 #if defined(CLOCK_IP_HAS_SLOW_HSRUN_CLK)
815     SLOW_HSRUN_CLK             = CLOCK_IP_HAS_SLOW_HSRUN_CLK,
816 #endif
817 #if defined(CLOCK_IP_HAS_LPO_CLK)
818     LPO_CLK                   = CLOCK_IP_HAS_LPO_CLK,
819 #endif
820 #if defined(CLOCK_IP_HAS_SCG_CLKOUT_CLK)
821     SCG_CLKOUT_CLK            = CLOCK_IP_HAS_SCG_CLKOUT_CLK,
822 #endif
823 #if defined(CLOCK_IP_HAS_FTM0_EXT_CLK)
824     FTM0_EXT_CLK              = CLOCK_IP_HAS_FTM0_EXT_CLK,
825 #endif
826 #if defined(CLOCK_IP_HAS_FTM1_EXT_CLK)
827     FTM1_EXT_CLK              = CLOCK_IP_HAS_FTM1_EXT_CLK,
828 #endif
829 #if defined(CLOCK_IP_HAS_FTM2_EXT_CLK)
830     FTM2_EXT_CLK              = CLOCK_IP_HAS_FTM2_EXT_CLK,
831 #endif
832 #if defined(CLOCK_IP_HAS_FTM3_EXT_CLK)
833     FTM3_EXT_CLK              = CLOCK_IP_HAS_FTM3_EXT_CLK,
834 #endif
835 #if defined(CLOCK_IP_HAS_FTM4_EXT_CLK)
836     FTM4_EXT_CLK              = CLOCK_IP_HAS_FTM4_EXT_CLK,
837 #endif
838 #if defined(CLOCK_IP_HAS_FTM5_EXT_CLK)
839     FTM5_EXT_CLK              = CLOCK_IP_HAS_FTM5_EXT_CLK,
840 #endif
841 #if defined(CLOCK_IP_HAS_FTM6_EXT_CLK)
842     FTM6_EXT_CLK              = CLOCK_IP_HAS_FTM6_EXT_CLK,
843 #endif
844 #if defined(CLOCK_IP_HAS_FTM7_EXT_CLK)
845     FTM7_EXT_CLK              = CLOCK_IP_HAS_FTM7_EXT_CLK,
846 #endif
847 #if defined(CLOCK_IP_HAS_Px_CLKOUT_SRC_CLK)
848     Px_CLKOUT_SRC_CLK         = CLOCK_IP_HAS_Px_CLKOUT_SRC_CLK,
849 #endif
850 #if defined(CLOCK_IP_HAS_Px_PSI5_S_UTIL_CLK)
851     Px_PSI5_S_UTIL_CLK        = CLOCK_IP_HAS_Px_PSI5_S_UTIL_CLK,
852 #endif
853 #if defined(CLOCK_IP_HAS_SHIFT_LBIST_CLK)
854     SHIFT_LBIST_CLK           = CLOCK_IP_HAS_SHIFT_LBIST_CLK,
855 #endif
856 #if defined(CLOCK_IP_HAS_P0_SYS_CLK)
857     P0_SYS_CLK                = CLOCK_IP_HAS_P0_SYS_CLK,
858 #endif
859 #if defined(CLOCK_IP_HAS_P1_SYS_CLK)
860     P1_SYS_CLK                = CLOCK_IP_HAS_P1_SYS_CLK,
861 #endif
862 #if defined(CLOCK_IP_HAS_P1_SYS_DIV2_CLK)
863     P1_SYS_DIV2_CLK           = CLOCK_IP_HAS_P1_SYS_DIV2_CLK,
864 #endif
865 #if defined(CLOCK_IP_HAS_P1_SYS_DIV4_CLK)
866     P1_SYS_DIV4_CLK           = CLOCK_IP_HAS_P1_SYS_DIV4_CLK,
867 #endif
868 #if defined(CLOCK_IP_HAS_P2_SYS_CLK)
869     P2_SYS_CLK                = CLOCK_IP_HAS_P2_SYS_CLK,
870 #endif
871 #if defined(CLOCK_IP_HAS_CORE_M33_CLK)
872     CORE_M33_CLK              = CLOCK_IP_HAS_CORE_M33_CLK,
873 #endif
874 #if defined(CLOCK_IP_HAS_P2_SYS_DIV2_CLK)
875     P2_SYS_DIV2_CLK           = CLOCK_IP_HAS_P2_SYS_DIV2_CLK,
876 #endif
877 #if defined(CLOCK_IP_HAS_P2_SYS_DIV4_CLK)
878     P2_SYS_DIV4_CLK           = CLOCK_IP_HAS_P2_SYS_DIV4_CLK,
879 #endif
880 #if defined(CLOCK_IP_HAS_P3_SYS_CLK)
881     P3_SYS_CLK                = CLOCK_IP_HAS_P3_SYS_CLK,
882 #endif
883 #if defined(CLOCK_IP_HAS_CE_SYS_DIV2_CLK)
884     CE_SYS_DIV2_CLK           = CLOCK_IP_HAS_CE_SYS_DIV2_CLK,
885 #endif
886 #if defined(CLOCK_IP_HAS_CE_SYS_DIV4_CLK)
887     CE_SYS_DIV4_CLK           = CLOCK_IP_HAS_CE_SYS_DIV4_CLK,
888 #endif
889 #if defined(CLOCK_IP_HAS_P3_SYS_DIV2_NOC_CLK)
890     P3_SYS_DIV2_NOC_CLK       = CLOCK_IP_HAS_P3_SYS_DIV2_NOC_CLK,
891 #endif
892 #if defined(CLOCK_IP_HAS_P3_SYS_DIV4_CLK)
893     P3_SYS_DIV4_CLK           = CLOCK_IP_HAS_P3_SYS_DIV4_CLK,
894 #endif
895 #if defined(CLOCK_IP_HAS_P4_SYS_CLK)
896     P4_SYS_CLK                = CLOCK_IP_HAS_P4_SYS_CLK,
897 #endif
898 #if defined(CLOCK_IP_HAS_P4_SYS_DIV2_CLK)
899     P4_SYS_DIV2_CLK           = CLOCK_IP_HAS_P4_SYS_DIV2_CLK,
900 #endif
901 #if defined(CLOCK_IP_HAS_HSE_SYS_DIV2_CLK)
902     HSE_SYS_DIV2_CLK          = CLOCK_IP_HAS_HSE_SYS_DIV2_CLK,
903 #endif
904 #if defined(CLOCK_IP_HAS_P5_SYS_CLK)
905     P5_SYS_CLK                = CLOCK_IP_HAS_P5_SYS_CLK,
906 #endif
907 #if defined(CLOCK_IP_HAS_P5_SYS_DIV2_CLK)
908     P5_SYS_DIV2_CLK           = CLOCK_IP_HAS_P5_SYS_DIV2_CLK,
909 #endif
910 #if defined(CLOCK_IP_HAS_P5_SYS_DIV4_CLK)
911     P5_SYS_DIV4_CLK           = CLOCK_IP_HAS_P5_SYS_DIV4_CLK,
912 #endif
913 #if defined(CLOCK_IP_HAS_P2_MATH_CLK)
914     P2_MATH_CLK               = CLOCK_IP_HAS_P2_MATH_CLK,
915 #endif
916 #if defined(CLOCK_IP_HAS_P2_MATH_DIV3_CLK)
917     P2_MATH_DIV3_CLK          = CLOCK_IP_HAS_P2_MATH_DIV3_CLK,
918 #endif
919 #if defined(CLOCK_IP_HAS_RTU0_CORE_CLK)
920     RTU0_CORE_CLK             = CLOCK_IP_HAS_RTU0_CORE_CLK,
921 #endif
922 #if defined(CLOCK_IP_HAS_RTU0_CORE_DIV2_CLK)
923     RTU0_CORE_DIV2_CLK        = CLOCK_IP_HAS_RTU0_CORE_DIV2_CLK,
924 #endif
925 #if defined(CLOCK_IP_HAS_RTU1_CORE_CLK)
926     RTU1_CORE_CLK             = CLOCK_IP_HAS_RTU1_CORE_CLK,
927 #endif
928 #if defined(CLOCK_IP_HAS_RTU1_CORE_DIV2_CLK)
929     RTU1_CORE_DIV2_CLK        = CLOCK_IP_HAS_RTU1_CORE_DIV2_CLK,
930 #endif
931 #if defined(CLOCK_IP_HAS_P0_PSI5_S_UTIL_CLK)
932     P0_PSI5_S_UTIL_CLK        = CLOCK_IP_HAS_P0_PSI5_S_UTIL_CLK,
933 #endif
934 #if defined(CLOCK_IP_HAS_P4_PSI5_S_UTIL_CLK)
935     P4_PSI5_S_UTIL_CLK        = CLOCK_IP_HAS_P4_PSI5_S_UTIL_CLK,
936 #endif
937 #if defined(CLOCK_IP_HAS_SYSTEM_DRUN_CLK)
938     SYSTEM_DRUN_CLK        = CLOCK_IP_HAS_SYSTEM_DRUN_CLK,
939 #endif
940 #if defined(CLOCK_IP_HAS_SYSTEM_DIV2_CLK)
941     SYSTEM_DIV2_CLK        = CLOCK_IP_HAS_SYSTEM_DIV2_CLK,
942 #endif
943 #if defined(CLOCK_IP_HAS_SYSTEM_DIV4_CLK)
944     SYSTEM_DIV4_CLK        = CLOCK_IP_HAS_SYSTEM_DIV4_CLK,
945 #endif
946 #if defined(CLOCK_IP_HAS_SYS_CLK)
947     SYS_CLK                   = CLOCK_IP_HAS_SYS_CLK,
948 #endif
949 #if defined(CLOCK_IP_HAS_SYS_DIV2_CLK)
950     SYS_DIV2_CLK              = CLOCK_IP_HAS_SYS_DIV2_CLK,
951 #endif
952 #if defined(CLOCK_IP_HAS_SYS_DIV4_CLK)
953     SYS_DIV4_CLK              = CLOCK_IP_HAS_SYS_DIV4_CLK,
954 #endif
955 #if defined(CLOCK_IP_HAS_SYS_DIV8_CLK)
956     SYS_DIV8_CLK              = CLOCK_IP_HAS_SYS_DIV8_CLK,
957 #endif
958 #if defined(CLOCK_IP_HAS_RT_DAPB_CLK)
959     RT_DAPB_CLK               = CLOCK_IP_HAS_RT_DAPB_CLK,
960 #endif
961 #if defined(CLOCK_IP_HAS_ACCEL_CLK)
962     ACCEL_CLK                 = CLOCK_IP_HAS_ACCEL_CLK,
963 #endif
964 #if defined(CLOCK_IP_HAS_ACCEL_DIV3_CLK)
965     ACCEL_DIV3_CLK            = CLOCK_IP_HAS_ACCEL_DIV3_CLK,
966 #endif
967 #if defined(CLOCK_IP_HAS_ACCEL_DIV4_CLK)
968     ACCEL_DIV4_CLK            = CLOCK_IP_HAS_ACCEL_DIV4_CLK,
969 #endif
970 #if defined(CLOCK_IP_HAS_ACCEL_XBAR_CLK)
971     ACCEL_XBAR_CLK            = CLOCK_IP_HAS_ACCEL_XBAR_CLK,
972 #endif
973 #if defined(CLOCK_IP_HAS_ACCEL_XBAR_DIV2_CLK)
974     ACCEL_XBAR_DIV2_CLK       = CLOCK_IP_HAS_ACCEL_XBAR_DIV2_CLK,
975 #endif
976 #if defined(CLOCK_IP_HAS_ACCEL_XBAR_DIV4_CLK)
977     ACCEL_XBAR_DIV4_CLK       = CLOCK_IP_HAS_ACCEL_XBAR_DIV4_CLK,
978 #endif
979 #if defined(CLOCK_IP_HAS_ACCEL_XBAR_DIV8_CLK)
980     ACCEL_XBAR_DIV8_CLK       = CLOCK_IP_HAS_ACCEL_XBAR_DIV8_CLK,
981 #endif
982 #if defined(CLOCK_IP_HAS_AP_DAPB_CLK)
983     AP_DAPB_CLK               = CLOCK_IP_HAS_AP_DAPB_CLK,
984 #endif
985 THE_LAST_PRODUCER_CLK         = CLOCK_IP_FEATURE_PRODUCERS_NO,     /* Number of producers clocks */
986 #if defined(CLOCK_IP_HAS_ACCEL4_LAX0_CLK)
987     ACCEL4_LAX0_CLK           = CLOCK_IP_HAS_ACCEL4_LAX0_CLK,
988 #endif
989 #if defined(CLOCK_IP_HAS_ACCEL4_LAX1_CLK)
990     ACCEL4_LAX1_CLK           = CLOCK_IP_HAS_ACCEL4_LAX1_CLK,
991 #endif
992 #if defined(CLOCK_IP_HAS_ADC0_CLK)
993     ADC0_CLK                  = CLOCK_IP_HAS_ADC0_CLK,
994 #endif
995 #if defined(CLOCK_IP_HAS_ADC1_CLK)
996     ADC1_CLK                  = CLOCK_IP_HAS_ADC1_CLK,
997 #endif
998 #if defined(CLOCK_IP_HAS_ADC2_CLK)
999     ADC2_CLK                  = CLOCK_IP_HAS_ADC2_CLK,
1000 #endif
1001 #if defined(CLOCK_IP_HAS_ADC3_CLK)
1002     ADC3_CLK                  = CLOCK_IP_HAS_ADC3_CLK,
1003 #endif
1004 #if defined(CLOCK_IP_HAS_ADC4_CLK)
1005     ADC4_CLK                  = CLOCK_IP_HAS_ADC4_CLK,
1006 #endif
1007 #if defined(CLOCK_IP_HAS_ADC5_CLK)
1008     ADC5_CLK                  = CLOCK_IP_HAS_ADC5_CLK,
1009 #endif
1010 #if defined(CLOCK_IP_HAS_ADC6_CLK)
1011     ADC6_CLK                  = CLOCK_IP_HAS_ADC6_CLK,
1012 #endif
1013 #if defined(CLOCK_IP_HAS_ADCBIST_CLK)
1014     ADCBIST_CLK                  = CLOCK_IP_HAS_ADCBIST_CLK,
1015 #endif
1016 #if defined(CLOCK_IP_HAS_BCTU0_CLK)
1017     BCTU0_CLK                 = CLOCK_IP_HAS_BCTU0_CLK,
1018 #endif
1019 #if defined(CLOCK_IP_HAS_BCTU1_CLK)
1020     BCTU1_CLK                 = CLOCK_IP_HAS_BCTU1_CLK,
1021 #endif
1022 #if defined(CLOCK_IP_HAS_CE_SYS_DIV2_MON_CLK)
1023     CE_SYS_DIV2_MON_CLK       = CLOCK_IP_HAS_CE_SYS_DIV2_MON_CLK,
1024 #endif
1025 #if defined(CLOCK_IP_HAS_CE_EDMA_CLK)
1026     CE_EDMA_CLK       = CLOCK_IP_HAS_CE_EDMA_CLK,
1027 #endif
1028 #if defined(CLOCK_IP_HAS_CE_PIT0_CLK)
1029     CE_PIT0_CLK       = CLOCK_IP_HAS_CE_PIT0_CLK,
1030 #endif
1031 #if defined(CLOCK_IP_HAS_CE_PIT1_CLK)
1032     CE_PIT1_CLK       = CLOCK_IP_HAS_CE_PIT1_CLK,
1033 #endif
1034 #if defined(CLOCK_IP_HAS_CE_PIT2_CLK)
1035     CE_PIT2_CLK       = CLOCK_IP_HAS_CE_PIT2_CLK,
1036 #endif
1037 #if defined(CLOCK_IP_HAS_CE_PIT3_CLK)
1038     CE_PIT3_CLK       = CLOCK_IP_HAS_CE_PIT3_CLK,
1039 #endif
1040 #if defined(CLOCK_IP_HAS_CE_PIT4_CLK)
1041     CE_PIT4_CLK       = CLOCK_IP_HAS_CE_PIT4_CLK,
1042 #endif
1043 #if defined(CLOCK_IP_HAS_CE_PIT5_CLK)
1044     CE_PIT5_CLK       = CLOCK_IP_HAS_CE_PIT5_CLK,
1045 #endif
1046 #if defined(CLOCK_IP_HAS_CLKOUT_STANDBY_CLK)
1047     CLKOUT_STANDBY_CLK        = CLOCK_IP_HAS_CLKOUT_STANDBY_CLK,
1048 #endif
1049 #if defined(CLOCK_IP_HAS_CLKOUT0_CLK)
1050     CLKOUT0_CLK               = CLOCK_IP_HAS_CLKOUT0_CLK,
1051 #endif
1052 #if defined(CLOCK_IP_HAS_CLKOUT1_CLK)
1053     CLKOUT1_CLK               = CLOCK_IP_HAS_CLKOUT1_CLK,
1054 #endif
1055 #if defined(CLOCK_IP_HAS_CLKOUT2_CLK)
1056     CLKOUT2_CLK               = CLOCK_IP_HAS_CLKOUT2_CLK,
1057 #endif
1058 #if defined(CLOCK_IP_HAS_CLKOUT3_CLK)
1059     CLKOUT3_CLK               = CLOCK_IP_HAS_CLKOUT3_CLK,
1060 #endif
1061 #if defined(CLOCK_IP_HAS_CLKOUT4_CLK)
1062     CLKOUT4_CLK               = CLOCK_IP_HAS_CLKOUT4_CLK,
1063 #endif
1064 #if defined(CLOCK_IP_HAS_CLKOUT5_CLK)
1065     CLKOUT5_CLK               = CLOCK_IP_HAS_CLKOUT5_CLK,
1066 #endif
1067 #if defined(CLOCK_IP_HAS_CMP0_CLK)
1068     CMP0_CLK                  = CLOCK_IP_HAS_CMP0_CLK,
1069 #endif
1070 #if defined(CLOCK_IP_HAS_CMP1_CLK)
1071     CMP1_CLK                  = CLOCK_IP_HAS_CMP1_CLK,
1072 #endif
1073 #if defined(CLOCK_IP_HAS_CMP2_CLK)
1074     CMP2_CLK                  = CLOCK_IP_HAS_CMP2_CLK,
1075 #endif
1076 #if defined(CLOCK_IP_HAS_CMU0_CLK)
1077     CMU0_CLK                  = CLOCK_IP_HAS_CMU0_CLK,
1078 #endif
1079 #if defined(CLOCK_IP_HAS_CMU1_CLK)
1080     CMU1_CLK                  = CLOCK_IP_HAS_CMU1_CLK,
1081 #endif
1082 #if defined(CLOCK_IP_HAS_COOLFLUX_D_RAM0_CLK)
1083     COOLFLUX_D_RAM0_CLK                  = CLOCK_IP_HAS_COOLFLUX_D_RAM0_CLK,
1084 #endif
1085 #if defined(CLOCK_IP_HAS_COOLFLUX_D_RAM1_CLK)
1086     COOLFLUX_D_RAM1_CLK                  = CLOCK_IP_HAS_COOLFLUX_D_RAM1_CLK,
1087 #endif
1088 #if defined(CLOCK_IP_HAS_COOLFLUX_DSP16L_CLK)
1089     COOLFLUX_DSP16L_CLK                  = CLOCK_IP_HAS_COOLFLUX_DSP16L_CLK,
1090 #endif
1091 #if defined(CLOCK_IP_HAS_COOLFLUX_I_RAM0_CLK)
1092     COOLFLUX_I_RAM0_CLK                  = CLOCK_IP_HAS_COOLFLUX_I_RAM0_CLK,
1093 #endif
1094 #if defined(CLOCK_IP_HAS_COOLFLUX_I_RAM1_CLK)
1095     COOLFLUX_I_RAM1_CLK                  = CLOCK_IP_HAS_COOLFLUX_I_RAM1_CLK,
1096 #endif
1097 #if defined(CLOCK_IP_HAS_CORE_A53_CLUSTER_0_CLK)
1098     CORE_A53_CLUSTER_0_CLK    = CLOCK_IP_HAS_CORE_A53_CLUSTER_0_CLK,
1099 #endif
1100 #if defined(CLOCK_IP_HAS_CORE_A53_CLUSTER_1_CLK)
1101     CORE_A53_CLUSTER_1_CLK    = CLOCK_IP_HAS_CORE_A53_CLUSTER_1_CLK,
1102 #endif
1103 #if defined(CLOCK_IP_HAS_CORE_M7_0_CLK)
1104     CORE_M7_0_CLK             = CLOCK_IP_HAS_CORE_M7_0_CLK,
1105 #endif
1106 #if defined(CLOCK_IP_HAS_CORE_M7_1_CLK)
1107     CORE_M7_1_CLK             = CLOCK_IP_HAS_CORE_M7_1_CLK,
1108 #endif
1109 #if defined(CLOCK_IP_HAS_CORE_M7_2_CLK)
1110     CORE_M7_2_CLK             = CLOCK_IP_HAS_CORE_M7_2_CLK,
1111 #endif
1112 #if defined(CLOCK_IP_HAS_CORE_M7_3_CLK)
1113     CORE_M7_3_CLK             = CLOCK_IP_HAS_CORE_M7_3_CLK,
1114 #endif
1115 #if defined(CLOCK_IP_HAS_CRC0_CLK)
1116     CRC0_CLK                  = CLOCK_IP_HAS_CRC0_CLK,
1117 #endif
1118 #if defined(CLOCK_IP_HAS_CTU0_CLK)
1119     CTU0_CLK                  = CLOCK_IP_HAS_CTU0_CLK,
1120 #endif
1121 #if defined(CLOCK_IP_HAS_CTU1_CLK)
1122     CTU1_CLK                  = CLOCK_IP_HAS_CTU1_CLK,
1123 #endif
1124 #if defined(CLOCK_IP_HAS_DAPB_CLK)
1125     DAPB_CLK                  = CLOCK_IP_HAS_DAPB_CLK,
1126 #endif
1127 #if defined(CLOCK_IP_HAS_DCM0_CLK)
1128     DCM0_CLK                  = CLOCK_IP_HAS_DCM0_CLK,
1129 #endif
1130 #if defined(CLOCK_IP_HAS_DMA_CRC0_CLK)
1131     DMA_CRC0_CLK              = CLOCK_IP_HAS_DMA_CRC0_CLK,
1132 #endif
1133 #if defined(CLOCK_IP_HAS_DMA_CRC1_CLK)
1134     DMA_CRC1_CLK              = CLOCK_IP_HAS_DMA_CRC1_CLK,
1135 #endif
1136 #if defined(CLOCK_IP_HAS_DMA0_CLK)
1137     DMA0_CLK                  = CLOCK_IP_HAS_DMA0_CLK,
1138 #endif
1139 #if defined(CLOCK_IP_HAS_DMA1_CLK)
1140     DMA1_CLK                  = CLOCK_IP_HAS_DMA1_CLK,
1141 #endif
1142 #if defined(CLOCK_IP_HAS_DMAMUX0_CLK)
1143     DMAMUX0_CLK               = CLOCK_IP_HAS_DMAMUX0_CLK,
1144 #endif
1145 #if defined(CLOCK_IP_HAS_DMAMUX1_CLK)
1146     DMAMUX1_CLK               = CLOCK_IP_HAS_DMAMUX1_CLK,
1147 #endif
1148 #if defined(CLOCK_IP_HAS_DMAMUX2_CLK)
1149     DMAMUX2_CLK               = CLOCK_IP_HAS_DMAMUX2_CLK,
1150 #endif
1151 #if defined(CLOCK_IP_HAS_DMAMUX3_CLK)
1152     DMAMUX3_CLK               = CLOCK_IP_HAS_DMAMUX3_CLK,
1153 #endif
1154 #if defined(CLOCK_IP_HAS_DMAMUX4_CLK)
1155     DMAMUX4_CLK               = CLOCK_IP_HAS_DMAMUX4_CLK,
1156 #endif
1157 #if defined(CLOCK_IP_HAS_DMAMUX5_CLK)
1158     DMAMUX5_CLK               = CLOCK_IP_HAS_DMAMUX5_CLK,
1159 #endif
1160 #if defined(CLOCK_IP_HAS_DSPI_MSC_CLK)
1161     DSPI_MSC_CLK               = CLOCK_IP_HAS_DSPI_MSC_CLK,
1162 #endif
1163 #if defined(CLOCK_IP_HAS_EDMA_CLK)
1164     EDMA_CLK                  = CLOCK_IP_HAS_EDMA_CLK,
1165 #endif
1166 #if defined(CLOCK_IP_HAS_EDMA0_CLK)
1167     EDMA0_CLK                 = CLOCK_IP_HAS_EDMA0_CLK,
1168 #endif
1169 #if defined(CLOCK_IP_HAS_EDMA0_TCD0_CLK)
1170     EDMA0_TCD0_CLK            = CLOCK_IP_HAS_EDMA0_TCD0_CLK,
1171 #endif
1172 #if defined(CLOCK_IP_HAS_EDMA0_TCD1_CLK)
1173     EDMA0_TCD1_CLK            = CLOCK_IP_HAS_EDMA0_TCD1_CLK,
1174 #endif
1175 #if defined(CLOCK_IP_HAS_EDMA0_TCD2_CLK)
1176     EDMA0_TCD2_CLK            = CLOCK_IP_HAS_EDMA0_TCD2_CLK,
1177 #endif
1178 #if defined(CLOCK_IP_HAS_EDMA0_TCD3_CLK)
1179     EDMA0_TCD3_CLK            = CLOCK_IP_HAS_EDMA0_TCD3_CLK,
1180 #endif
1181 #if defined(CLOCK_IP_HAS_EDMA0_TCD4_CLK)
1182     EDMA0_TCD4_CLK            = CLOCK_IP_HAS_EDMA0_TCD4_CLK,
1183 #endif
1184 #if defined(CLOCK_IP_HAS_EDMA0_TCD5_CLK)
1185     EDMA0_TCD5_CLK            = CLOCK_IP_HAS_EDMA0_TCD5_CLK,
1186 #endif
1187 #if defined(CLOCK_IP_HAS_EDMA0_TCD6_CLK)
1188     EDMA0_TCD6_CLK            = CLOCK_IP_HAS_EDMA0_TCD6_CLK,
1189 #endif
1190 #if defined(CLOCK_IP_HAS_EDMA0_TCD7_CLK)
1191     EDMA0_TCD7_CLK            = CLOCK_IP_HAS_EDMA0_TCD7_CLK,
1192 #endif
1193 #if defined(CLOCK_IP_HAS_EDMA0_TCD8_CLK)
1194     EDMA0_TCD8_CLK            = CLOCK_IP_HAS_EDMA0_TCD8_CLK,
1195 #endif
1196 #if defined(CLOCK_IP_HAS_EDMA0_TCD9_CLK)
1197     EDMA0_TCD9_CLK            = CLOCK_IP_HAS_EDMA0_TCD9_CLK,
1198 #endif
1199 #if defined(CLOCK_IP_HAS_EDMA0_TCD10_CLK)
1200     EDMA0_TCD10_CLK           = CLOCK_IP_HAS_EDMA0_TCD10_CLK,
1201 #endif
1202 #if defined(CLOCK_IP_HAS_EDMA0_TCD11_CLK)
1203     EDMA0_TCD11_CLK           = CLOCK_IP_HAS_EDMA0_TCD11_CLK,
1204 #endif
1205 #if defined(CLOCK_IP_HAS_EDMA0_TCD12_CLK)
1206     EDMA0_TCD12_CLK           = CLOCK_IP_HAS_EDMA0_TCD12_CLK,
1207 #endif
1208 #if defined(CLOCK_IP_HAS_EDMA0_TCD13_CLK)
1209     EDMA0_TCD13_CLK           = CLOCK_IP_HAS_EDMA0_TCD13_CLK,
1210 #endif
1211 #if defined(CLOCK_IP_HAS_EDMA0_TCD14_CLK)
1212     EDMA0_TCD14_CLK           = CLOCK_IP_HAS_EDMA0_TCD14_CLK,
1213 #endif
1214 #if defined(CLOCK_IP_HAS_EDMA0_TCD15_CLK)
1215     EDMA0_TCD15_CLK           = CLOCK_IP_HAS_EDMA0_TCD15_CLK,
1216 #endif
1217 #if defined(CLOCK_IP_HAS_EDMA0_TCD16_CLK)
1218     EDMA0_TCD16_CLK           = CLOCK_IP_HAS_EDMA0_TCD16_CLK,
1219 #endif
1220 #if defined(CLOCK_IP_HAS_EDMA0_TCD17_CLK)
1221     EDMA0_TCD17_CLK           = CLOCK_IP_HAS_EDMA0_TCD17_CLK,
1222 #endif
1223 #if defined(CLOCK_IP_HAS_EDMA0_TCD18_CLK)
1224     EDMA0_TCD18_CLK           = CLOCK_IP_HAS_EDMA0_TCD18_CLK,
1225 #endif
1226 #if defined(CLOCK_IP_HAS_EDMA0_TCD19_CLK)
1227     EDMA0_TCD19_CLK           = CLOCK_IP_HAS_EDMA0_TCD19_CLK,
1228 #endif
1229 #if defined(CLOCK_IP_HAS_EDMA0_TCD20_CLK)
1230     EDMA0_TCD20_CLK           = CLOCK_IP_HAS_EDMA0_TCD20_CLK,
1231 #endif
1232 #if defined(CLOCK_IP_HAS_EDMA0_TCD21_CLK)
1233     EDMA0_TCD21_CLK           = CLOCK_IP_HAS_EDMA0_TCD21_CLK,
1234 #endif
1235 #if defined(CLOCK_IP_HAS_EDMA0_TCD22_CLK)
1236     EDMA0_TCD22_CLK           = CLOCK_IP_HAS_EDMA0_TCD22_CLK,
1237 #endif
1238 #if defined(CLOCK_IP_HAS_EDMA0_TCD23_CLK)
1239     EDMA0_TCD23_CLK           = CLOCK_IP_HAS_EDMA0_TCD23_CLK,
1240 #endif
1241 #if defined(CLOCK_IP_HAS_EDMA0_TCD24_CLK)
1242     EDMA0_TCD24_CLK           = CLOCK_IP_HAS_EDMA0_TCD24_CLK,
1243 #endif
1244 #if defined(CLOCK_IP_HAS_EDMA0_TCD25_CLK)
1245     EDMA0_TCD25_CLK           = CLOCK_IP_HAS_EDMA0_TCD25_CLK,
1246 #endif
1247 #if defined(CLOCK_IP_HAS_EDMA0_TCD26_CLK)
1248     EDMA0_TCD26_CLK           = CLOCK_IP_HAS_EDMA0_TCD26_CLK,
1249 #endif
1250 #if defined(CLOCK_IP_HAS_EDMA0_TCD27_CLK)
1251     EDMA0_TCD27_CLK           = CLOCK_IP_HAS_EDMA0_TCD27_CLK,
1252 #endif
1253 #if defined(CLOCK_IP_HAS_EDMA0_TCD28_CLK)
1254     EDMA0_TCD28_CLK           = CLOCK_IP_HAS_EDMA0_TCD28_CLK,
1255 #endif
1256 #if defined(CLOCK_IP_HAS_EDMA0_TCD29_CLK)
1257     EDMA0_TCD29_CLK           = CLOCK_IP_HAS_EDMA0_TCD29_CLK,
1258 #endif
1259 #if defined(CLOCK_IP_HAS_EDMA0_TCD30_CLK)
1260     EDMA0_TCD30_CLK           = CLOCK_IP_HAS_EDMA0_TCD30_CLK,
1261 #endif
1262 #if defined(CLOCK_IP_HAS_EDMA0_TCD31_CLK)
1263     EDMA0_TCD31_CLK           = CLOCK_IP_HAS_EDMA0_TCD31_CLK,
1264 #endif
1265 #if defined(CLOCK_IP_HAS_EDMA1_CLK)
1266     EDMA1_CLK                 = CLOCK_IP_HAS_EDMA1_CLK,
1267 #endif
1268 #if defined(CLOCK_IP_HAS_EDMA1_TCD0_CLK)
1269     EDMA1_TCD0_CLK            = CLOCK_IP_HAS_EDMA1_TCD0_CLK,
1270 #endif
1271 #if defined(CLOCK_IP_HAS_EDMA1_TCD1_CLK)
1272     EDMA1_TCD1_CLK            = CLOCK_IP_HAS_EDMA1_TCD1_CLK,
1273 #endif
1274 #if defined(CLOCK_IP_HAS_EDMA1_TCD2_CLK)
1275     EDMA1_TCD2_CLK            = CLOCK_IP_HAS_EDMA1_TCD2_CLK,
1276 #endif
1277 #if defined(CLOCK_IP_HAS_EDMA1_TCD3_CLK)
1278     EDMA1_TCD3_CLK            = CLOCK_IP_HAS_EDMA1_TCD3_CLK,
1279 #endif
1280 #if defined(CLOCK_IP_HAS_EDMA1_TCD4_CLK)
1281     EDMA1_TCD4_CLK            = CLOCK_IP_HAS_EDMA1_TCD4_CLK,
1282 #endif
1283 #if defined(CLOCK_IP_HAS_EDMA1_TCD5_CLK)
1284     EDMA1_TCD5_CLK            = CLOCK_IP_HAS_EDMA1_TCD5_CLK,
1285 #endif
1286 #if defined(CLOCK_IP_HAS_EDMA1_TCD6_CLK)
1287     EDMA1_TCD6_CLK            = CLOCK_IP_HAS_EDMA1_TCD6_CLK,
1288 #endif
1289 #if defined(CLOCK_IP_HAS_EDMA1_TCD7_CLK)
1290     EDMA1_TCD7_CLK            = CLOCK_IP_HAS_EDMA1_TCD7_CLK,
1291 #endif
1292 #if defined(CLOCK_IP_HAS_EDMA1_TCD8_CLK)
1293     EDMA1_TCD8_CLK            = CLOCK_IP_HAS_EDMA1_TCD8_CLK,
1294 #endif
1295 #if defined(CLOCK_IP_HAS_EDMA1_TCD9_CLK)
1296     EDMA1_TCD9_CLK            = CLOCK_IP_HAS_EDMA1_TCD9_CLK,
1297 #endif
1298 #if defined(CLOCK_IP_HAS_EDMA1_TCD10_CLK)
1299     EDMA1_TCD10_CLK           = CLOCK_IP_HAS_EDMA1_TCD10_CLK,
1300 #endif
1301 #if defined(CLOCK_IP_HAS_EDMA1_TCD11_CLK)
1302     EDMA1_TCD11_CLK           = CLOCK_IP_HAS_EDMA1_TCD11_CLK,
1303 #endif
1304 #if defined(CLOCK_IP_HAS_EDMA1_TCD12_CLK)
1305     EDMA1_TCD12_CLK           = CLOCK_IP_HAS_EDMA1_TCD12_CLK,
1306 #endif
1307 #if defined(CLOCK_IP_HAS_EDMA1_TCD13_CLK)
1308     EDMA1_TCD13_CLK           = CLOCK_IP_HAS_EDMA1_TCD13_CLK,
1309 #endif
1310 #if defined(CLOCK_IP_HAS_EDMA1_TCD14_CLK)
1311     EDMA1_TCD14_CLK           = CLOCK_IP_HAS_EDMA1_TCD14_CLK,
1312 #endif
1313 #if defined(CLOCK_IP_HAS_EDMA1_TCD15_CLK)
1314     EDMA1_TCD15_CLK           = CLOCK_IP_HAS_EDMA1_TCD15_CLK,
1315 #endif
1316 #if defined(CLOCK_IP_HAS_EDMA1_TCD16_CLK)
1317     EDMA1_TCD16_CLK           = CLOCK_IP_HAS_EDMA1_TCD16_CLK,
1318 #endif
1319 #if defined(CLOCK_IP_HAS_EDMA1_TCD17_CLK)
1320     EDMA1_TCD17_CLK           = CLOCK_IP_HAS_EDMA1_TCD17_CLK,
1321 #endif
1322 #if defined(CLOCK_IP_HAS_EDMA1_TCD18_CLK)
1323     EDMA1_TCD18_CLK           = CLOCK_IP_HAS_EDMA1_TCD18_CLK,
1324 #endif
1325 #if defined(CLOCK_IP_HAS_EDMA1_TCD19_CLK)
1326     EDMA1_TCD19_CLK           = CLOCK_IP_HAS_EDMA1_TCD19_CLK,
1327 #endif
1328 #if defined(CLOCK_IP_HAS_EDMA1_TCD20_CLK)
1329     EDMA1_TCD20_CLK           = CLOCK_IP_HAS_EDMA1_TCD20_CLK,
1330 #endif
1331 #if defined(CLOCK_IP_HAS_EDMA1_TCD21_CLK)
1332     EDMA1_TCD21_CLK           = CLOCK_IP_HAS_EDMA1_TCD21_CLK,
1333 #endif
1334 #if defined(CLOCK_IP_HAS_EDMA1_TCD22_CLK)
1335     EDMA1_TCD22_CLK           = CLOCK_IP_HAS_EDMA1_TCD22_CLK,
1336 #endif
1337 #if defined(CLOCK_IP_HAS_EDMA1_TCD23_CLK)
1338     EDMA1_TCD23_CLK           = CLOCK_IP_HAS_EDMA1_TCD23_CLK,
1339 #endif
1340 #if defined(CLOCK_IP_HAS_EDMA1_TCD24_CLK)
1341     EDMA1_TCD24_CLK           = CLOCK_IP_HAS_EDMA1_TCD24_CLK,
1342 #endif
1343 #if defined(CLOCK_IP_HAS_EDMA1_TCD25_CLK)
1344     EDMA1_TCD25_CLK           = CLOCK_IP_HAS_EDMA1_TCD25_CLK,
1345 #endif
1346 #if defined(CLOCK_IP_HAS_EDMA1_TCD26_CLK)
1347     EDMA1_TCD26_CLK           = CLOCK_IP_HAS_EDMA1_TCD26_CLK,
1348 #endif
1349 #if defined(CLOCK_IP_HAS_EDMA1_TCD27_CLK)
1350     EDMA1_TCD27_CLK           = CLOCK_IP_HAS_EDMA1_TCD27_CLK,
1351 #endif
1352 #if defined(CLOCK_IP_HAS_EDMA1_TCD28_CLK)
1353     EDMA1_TCD28_CLK           = CLOCK_IP_HAS_EDMA1_TCD28_CLK,
1354 #endif
1355 #if defined(CLOCK_IP_HAS_EDMA1_TCD29_CLK)
1356     EDMA1_TCD29_CLK           = CLOCK_IP_HAS_EDMA1_TCD29_CLK,
1357 #endif
1358 #if defined(CLOCK_IP_HAS_EDMA1_TCD30_CLK)
1359     EDMA1_TCD30_CLK           = CLOCK_IP_HAS_EDMA1_TCD30_CLK,
1360 #endif
1361 #if defined(CLOCK_IP_HAS_EDMA1_TCD31_CLK)
1362     EDMA1_TCD31_CLK           = CLOCK_IP_HAS_EDMA1_TCD31_CLK,
1363 #endif
1364 #if defined(CLOCK_IP_HAS_EDMA3_CLK)
1365     EDMA3_CLK                 = CLOCK_IP_HAS_EDMA3_CLK,
1366 #endif
1367 #if defined(CLOCK_IP_HAS_EDMA4_CLK)
1368     EDMA4_CLK                 = CLOCK_IP_HAS_EDMA4_CLK,
1369 #endif
1370 #if defined(CLOCK_IP_HAS_EDMA5_CLK)
1371     EDMA5_CLK                 = CLOCK_IP_HAS_EDMA5_CLK,
1372 #endif
1373 #if defined(CLOCK_IP_HAS_EFLEX_PWM0_CLK)
1374     EFLEX_PWM0_CLK                 = CLOCK_IP_HAS_EFLEX_PWM0_CLK,
1375 #endif
1376 #if defined(CLOCK_IP_HAS_EFLEX_PWM1_CLK)
1377     EFLEX_PWM1_CLK                 = CLOCK_IP_HAS_EFLEX_PWM1_CLK,
1378 #endif
1379 #if defined(CLOCK_IP_HAS_FDMA0_CLK)
1380     FDMA0_CLK                 = CLOCK_IP_HAS_FDMA0_CLK,
1381 #endif
1382 #if defined(CLOCK_IP_HAS_ENET_CLK)
1383     ENET_CLK                  = CLOCK_IP_HAS_ENET_CLK,
1384 #endif
1385 #if defined(CLOCK_IP_HAS_EIM_CLK)
1386     EIM_CLK                   = CLOCK_IP_HAS_EIM_CLK,
1387 #endif
1388 #if defined(CLOCK_IP_HAS_EIM0_CLK)
1389     EIM0_CLK                  = CLOCK_IP_HAS_EIM0_CLK,
1390 #endif
1391 #if defined(CLOCK_IP_HAS_EIM1_CLK)
1392     EIM1_CLK                  = CLOCK_IP_HAS_EIM1_CLK,
1393 #endif
1394 #if defined(CLOCK_IP_HAS_EIM2_CLK)
1395     EIM2_CLK                  = CLOCK_IP_HAS_EIM2_CLK,
1396 #endif
1397 #if defined(CLOCK_IP_HAS_EIM3_CLK)
1398     EIM3_CLK                  = CLOCK_IP_HAS_EIM3_CLK,
1399 #endif
1400 #if defined(CLOCK_IP_HAS_EIM_BBE32DSP_CLK)
1401     EIM_BBE32DSP_CLK          = CLOCK_IP_HAS_EIM_BBE32DSP_CLK,
1402 #endif
1403 #if defined(CLOCK_IP_HAS_EIM_LAX0_CLK)
1404     EIM_LAX0_CLK              = CLOCK_IP_HAS_EIM_LAX0_CLK,
1405 #endif
1406 #if defined(CLOCK_IP_HAS_EIM_LAX1_CLK)
1407     EIM_LAX1_CLK              = CLOCK_IP_HAS_EIM_LAX1_CLK,
1408 #endif
1409 #if defined(CLOCK_IP_HAS_EIM_PER1_CLK)
1410     EIM_PER1_CLK              = CLOCK_IP_HAS_EIM_PER1_CLK,
1411 #endif
1412 #if defined(CLOCK_IP_HAS_ENET0_CLK)
1413     ENET0_CLK                 = CLOCK_IP_HAS_ENET0_CLK,
1414 #endif
1415 #if defined(CLOCK_IP_HAS_ENET1_CLK)
1416     ENET1_CLK                 = CLOCK_IP_HAS_ENET1_CLK,
1417 #endif
1418 #if defined(CLOCK_IP_HAS_EMAC_RX_CLK)
1419     EMAC_RX_CLK               = CLOCK_IP_HAS_EMAC_RX_CLK,
1420 #endif
1421 #if defined(CLOCK_IP_HAS_EMAC_TS_CLK)
1422     EMAC_TS_CLK               = CLOCK_IP_HAS_EMAC_TS_CLK,
1423 #endif
1424 #if defined(CLOCK_IP_HAS_EMAC_TX_CLK)
1425     EMAC_TX_CLK               = CLOCK_IP_HAS_EMAC_TX_CLK,
1426 #endif
1427 #if defined(CLOCK_IP_HAS_EMAC_TX_RMII_CLK)
1428     EMAC_TX_RMII_CLK               = CLOCK_IP_HAS_EMAC_TX_RMII_CLK,
1429 #endif
1430 #if defined(CLOCK_IP_HAS_EMAC0_RX_CLK)
1431     EMAC0_RX_CLK              = CLOCK_IP_HAS_EMAC0_RX_CLK,
1432 #endif
1433 #if defined(CLOCK_IP_HAS_EMAC0_TS_CLK)
1434     EMAC0_TS_CLK              = CLOCK_IP_HAS_EMAC0_TS_CLK,
1435 #endif
1436 #if defined(CLOCK_IP_HAS_EMAC0_TX_CLK)
1437     EMAC0_TX_CLK              = CLOCK_IP_HAS_EMAC0_TX_CLK,
1438 #endif
1439 #if defined(CLOCK_IP_HAS_EMIOS0_CLK)
1440     EMIOS0_CLK                = CLOCK_IP_HAS_EMIOS0_CLK,
1441 #endif
1442 #if defined(CLOCK_IP_HAS_EMIOS1_CLK)
1443     EMIOS1_CLK                = CLOCK_IP_HAS_EMIOS1_CLK,
1444 #endif
1445 #if defined(CLOCK_IP_HAS_EMIOS2_CLK)
1446     EMIOS2_CLK                = CLOCK_IP_HAS_EMIOS2_CLK,
1447 #endif
1448 #if defined(CLOCK_IP_HAS_ERM0_CLK)
1449     ERM0_CLK                  = CLOCK_IP_HAS_ERM0_CLK,
1450 #endif
1451 #if defined(CLOCK_IP_HAS_ERM1_CLK)
1452     ERM1_CLK                  = CLOCK_IP_HAS_ERM1_CLK,
1453 #endif
1454 #if defined(CLOCK_IP_HAS_ERM_CPU0_CLK)
1455     ERM_CPU0_CLK              = CLOCK_IP_HAS_ERM_CPU0_CLK,
1456 #endif
1457 #if defined(CLOCK_IP_HAS_ERM_CPU1_CLK)
1458     ERM_CPU1_CLK              = CLOCK_IP_HAS_ERM_CPU1_CLK,
1459 #endif
1460 #if defined(CLOCK_IP_HAS_ERM_CPU2_CLK)
1461     ERM_CPU2_CLK              = CLOCK_IP_HAS_ERM_CPU2_CLK,
1462 #endif
1463 #if defined(CLOCK_IP_HAS_ERM_EDMA0_CLK)
1464     ERM_EDMA0_CLK             = CLOCK_IP_HAS_ERM_EDMA0_CLK,
1465 #endif
1466 #if defined(CLOCK_IP_HAS_ERM_EDMA1_CLK)
1467     ERM_EDMA1_CLK             = CLOCK_IP_HAS_ERM_EDMA1_CLK,
1468 #endif
1469 #if defined(CLOCK_IP_HAS_ERM_LAX0_CLK)
1470     ERM_LAX0_CLK              = CLOCK_IP_HAS_ERM_LAX0_CLK,
1471 #endif
1472 #if defined(CLOCK_IP_HAS_ERM_LAX1_CLK)
1473     ERM_LAX1_CLK              = CLOCK_IP_HAS_ERM_LAX1_CLK,
1474 #endif
1475 #if defined(CLOCK_IP_HAS_ERM_PER_CLK)
1476     ERM_PER_CLK               = CLOCK_IP_HAS_ERM_PER_CLK,
1477 #endif
1478 #if defined(CLOCK_IP_HAS_ERM_PER1_CLK)
1479     ERM_PER1_CLK              = CLOCK_IP_HAS_ERM_PER1_CLK,
1480 #endif
1481 #if defined(CLOCK_IP_HAS_ERM_CLK)
1482     ERM_CLK                   = CLOCK_IP_HAS_ERM_CLK,
1483 #endif
1484 #if defined(CLOCK_IP_HAS_EWM0_CLK)
1485     EWM0_CLK                  = CLOCK_IP_HAS_EWM0_CLK,
1486 #endif
1487 #if defined(CLOCK_IP_HAS_FIRC_MON1_CLK)
1488     FIRC_MON1_CLK             = CLOCK_IP_HAS_FIRC_MON1_CLK,
1489 #endif
1490 #if defined(CLOCK_IP_HAS_FIRC_MON2_CLK)
1491     FIRC_MON2_CLK             = CLOCK_IP_HAS_FIRC_MON2_CLK,
1492 #endif
1493 #if defined(CLOCK_IP_HAS_FLASH0_CLK)
1494     FLASH0_CLK                = CLOCK_IP_HAS_FLASH0_CLK,
1495 #endif
1496 #if defined(CLOCK_IP_HAS_CAN_PE_CLK)
1497     CAN_PE_CLK                = CLOCK_IP_HAS_CAN_PE_CLK,
1498 #endif
1499 #if defined(CLOCK_IP_HAS_FLEXCAN_CLK)
1500     FLEXCAN_CLK               = CLOCK_IP_HAS_FLEXCAN_CLK,
1501 #endif
1502 #if defined(CLOCK_IP_HAS_FLEXCAN0_CLK)
1503     FLEXCAN0_CLK              = CLOCK_IP_HAS_FLEXCAN0_CLK,
1504 #endif
1505 #if defined(CLOCK_IP_HAS_FLEXCAN1_CLK)
1506     FLEXCAN1_CLK              = CLOCK_IP_HAS_FLEXCAN1_CLK,
1507 #endif
1508 #if defined(CLOCK_IP_HAS_FLEXCAN2_CLK)
1509     FLEXCAN2_CLK              = CLOCK_IP_HAS_FLEXCAN2_CLK,
1510 #endif
1511 #if defined(CLOCK_IP_HAS_FLEXCAN3_CLK)
1512     FLEXCAN3_CLK              = CLOCK_IP_HAS_FLEXCAN3_CLK,
1513 #endif
1514 #if defined(CLOCK_IP_HAS_FLEXCAN4_CLK)
1515     FLEXCAN4_CLK              = CLOCK_IP_HAS_FLEXCAN4_CLK,
1516 #endif
1517 #if defined(CLOCK_IP_HAS_FLEXCAN5_CLK)
1518     FLEXCAN5_CLK              = CLOCK_IP_HAS_FLEXCAN5_CLK,
1519 #endif
1520 #if defined(CLOCK_IP_HAS_FLEXCAN6_CLK)
1521     FLEXCAN6_CLK              = CLOCK_IP_HAS_FLEXCAN6_CLK,
1522 #endif
1523 #if defined(CLOCK_IP_HAS_FLEXCAN7_CLK)
1524     FLEXCAN7_CLK              = CLOCK_IP_HAS_FLEXCAN7_CLK,
1525 #endif
1526 #if defined(CLOCK_IP_HAS_FLEXCAN8_CLK)
1527     FLEXCAN8_CLK              = CLOCK_IP_HAS_FLEXCAN8_CLK,
1528 #endif
1529 #if defined(CLOCK_IP_HAS_FLEXCAN9_CLK)
1530     FLEXCAN9_CLK              = CLOCK_IP_HAS_FLEXCAN9_CLK,
1531 #endif
1532 #if defined(CLOCK_IP_HAS_FLEXCAN10_CLK)
1533     FLEXCAN10_CLK             = CLOCK_IP_HAS_FLEXCAN10_CLK,
1534 #endif
1535 #if defined(CLOCK_IP_HAS_FLEXCAN11_CLK)
1536     FLEXCAN11_CLK             = CLOCK_IP_HAS_FLEXCAN11_CLK,
1537 #endif
1538 #if defined(CLOCK_IP_HAS_FLEXCAN12_CLK)
1539     FLEXCAN12_CLK             = CLOCK_IP_HAS_FLEXCAN12_CLK,
1540 #endif
1541 #if defined(CLOCK_IP_HAS_FLEXCAN13_CLK)
1542     FLEXCAN13_CLK             = CLOCK_IP_HAS_FLEXCAN13_CLK,
1543 #endif
1544 #if defined(CLOCK_IP_HAS_FLEXCAN14_CLK)
1545     FLEXCAN14_CLK             = CLOCK_IP_HAS_FLEXCAN14_CLK,
1546 #endif
1547 #if defined(CLOCK_IP_HAS_FLEXCAN15_CLK)
1548     FLEXCAN15_CLK             = CLOCK_IP_HAS_FLEXCAN15_CLK,
1549 #endif
1550 #if defined(CLOCK_IP_HAS_FLEXCAN16_CLK)
1551     FLEXCAN16_CLK             = CLOCK_IP_HAS_FLEXCAN16_CLK,
1552 #endif
1553 #if defined(CLOCK_IP_HAS_FLEXCAN17_CLK)
1554     FLEXCAN17_CLK             = CLOCK_IP_HAS_FLEXCAN17_CLK,
1555 #endif
1556 #if defined(CLOCK_IP_HAS_FLEXCAN18_CLK)
1557     FLEXCAN18_CLK             = CLOCK_IP_HAS_FLEXCAN18_CLK,
1558 #endif
1559 #if defined(CLOCK_IP_HAS_FLEXCAN19_CLK)
1560     FLEXCAN19_CLK             = CLOCK_IP_HAS_FLEXCAN19_CLK,
1561 #endif
1562 #if defined(CLOCK_IP_HAS_FLEXCAN20_CLK)
1563     FLEXCAN20_CLK             = CLOCK_IP_HAS_FLEXCAN20_CLK,
1564 #endif
1565 #if defined(CLOCK_IP_HAS_FLEXCAN21_CLK)
1566     FLEXCAN21_CLK             = CLOCK_IP_HAS_FLEXCAN21_CLK,
1567 #endif
1568 #if defined(CLOCK_IP_HAS_FLEXCAN22_CLK)
1569     FLEXCAN22_CLK             = CLOCK_IP_HAS_FLEXCAN22_CLK,
1570 #endif
1571 #if defined(CLOCK_IP_HAS_FLEXCAN23_CLK)
1572     FLEXCAN23_CLK             = CLOCK_IP_HAS_FLEXCAN23_CLK,
1573 #endif
1574 #if defined(CLOCK_IP_HAS_FLEXCANA_CLK)
1575     FLEXCANA_CLK              = CLOCK_IP_HAS_FLEXCANA_CLK,
1576 #endif
1577 #if defined(CLOCK_IP_HAS_FLEXCANB_CLK)
1578     FLEXCANB_CLK              = CLOCK_IP_HAS_FLEXCANB_CLK,
1579 #endif
1580 #if defined(CLOCK_IP_HAS_FlexIO_CLK)
1581     FlexIO_CLK                = CLOCK_IP_HAS_FlexIO_CLK,
1582 #endif
1583 #if defined(CLOCK_IP_HAS_FlexIO0_CLK)
1584     FlexIO0_CLK               = CLOCK_IP_HAS_FlexIO0_CLK,
1585 #endif
1586 #if defined(CLOCK_IP_HAS_FLEXIO0_CLK)
1587     FLEXIO0_CLK               = CLOCK_IP_HAS_FLEXIO0_CLK,
1588 #endif
1589 #if defined(CLOCK_IP_HAS_FLEXRAY_CLK)
1590     FLEXRAY_CLK               = CLOCK_IP_HAS_FLEXRAY_CLK,
1591 #endif
1592 #if defined(CLOCK_IP_HAS_FLEXTIMERA_CLK)
1593     FLEXTIMERA_CLK            = CLOCK_IP_HAS_FLEXTIMERA_CLK,
1594 #endif
1595 #if defined(CLOCK_IP_HAS_FLEXTIMERB_CLK)
1596     FLEXTIMERB_CLK            = CLOCK_IP_HAS_FLEXTIMERB_CLK,
1597 #endif
1598 #if defined(CLOCK_IP_HAS_FRAY0_CLK)
1599     FRAY0_CLK                 = CLOCK_IP_HAS_FRAY0_CLK,
1600 #endif
1601 #if defined(CLOCK_IP_HAS_FRAY1_CLK)
1602     FRAY1_CLK                 = CLOCK_IP_HAS_FRAY1_CLK,
1603 #endif
1604 #if defined(CLOCK_IP_HAS_FTFC_CLK)
1605     FTFC_CLK                  = CLOCK_IP_HAS_FTFC_CLK,
1606 #endif
1607 #if defined(CLOCK_IP_HAS_FTFM_CLK)
1608     FTFM_CLK                  = CLOCK_IP_HAS_FTFM_CLK,
1609 #endif
1610 #if defined(CLOCK_IP_HAS_FTIMER0_CLK)
1611     FTIMER0_CLK               = CLOCK_IP_HAS_FTIMER0_CLK,
1612 #endif
1613 #if defined(CLOCK_IP_HAS_FTIMER1_CLK)
1614     FTIMER1_CLK               = CLOCK_IP_HAS_FTIMER1_CLK,
1615 #endif
1616 #if defined(CLOCK_IP_HAS_FTM0_CLK)
1617     FTM0_CLK                  = CLOCK_IP_HAS_FTM0_CLK,
1618 #endif
1619 #if defined(CLOCK_IP_HAS_FTM1_CLK)
1620     FTM1_CLK                  = CLOCK_IP_HAS_FTM1_CLK,
1621 #endif
1622 #if defined(CLOCK_IP_HAS_FTM2_CLK)
1623     FTM2_CLK                  = CLOCK_IP_HAS_FTM2_CLK,
1624 #endif
1625 #if defined(CLOCK_IP_HAS_FTM3_CLK)
1626     FTM3_CLK                  = CLOCK_IP_HAS_FTM3_CLK,
1627 #endif
1628 #if defined(CLOCK_IP_HAS_FTM4_CLK)
1629     FTM4_CLK                  = CLOCK_IP_HAS_FTM4_CLK,
1630 #endif
1631 #if defined(CLOCK_IP_HAS_FTM5_CLK)
1632     FTM5_CLK                  = CLOCK_IP_HAS_FTM5_CLK,
1633 #endif
1634 #if defined(CLOCK_IP_HAS_FTM6_CLK)
1635     FTM6_CLK                  = CLOCK_IP_HAS_FTM6_CLK,
1636 #endif
1637 #if defined(CLOCK_IP_HAS_FTM7_CLK)
1638     FTM7_CLK                  = CLOCK_IP_HAS_FTM7_CLK,
1639 #endif
1640 #if defined(CLOCK_IP_HAS_GLB_LBIST_CLK)
1641     GLB_LBIST_CLK             = CLOCK_IP_HAS_GLB_LBIST_CLK,
1642 #endif
1643 #if defined(CLOCK_IP_HAS_GMAC0_CLK)
1644     GMAC0_CLK               = CLOCK_IP_HAS_GMAC0_CLK,
1645 #endif
1646 #if defined(CLOCK_IP_HAS_GMAC_TS_CLK)
1647     GMAC_TS_CLK               = CLOCK_IP_HAS_GMAC_TS_CLK,
1648 #endif
1649 #if defined(CLOCK_IP_HAS_GMAC0_RX_CLK)
1650     GMAC0_RX_CLK              = CLOCK_IP_HAS_GMAC0_RX_CLK,
1651 #endif
1652 #if defined(CLOCK_IP_HAS_GMAC0_TX_CLK)
1653     GMAC0_TX_CLK              = CLOCK_IP_HAS_GMAC0_TX_CLK,
1654 #endif
1655 #if defined(CLOCK_IP_HAS_GMAC0_TS_CLK)
1656     GMAC0_TS_CLK              = CLOCK_IP_HAS_GMAC0_TS_CLK,
1657 #endif
1658 #if defined(CLOCK_IP_HAS_GMAC0_TX_RMII_CLK)
1659     GMAC0_TX_RMII_CLK         = CLOCK_IP_HAS_GMAC0_TX_RMII_CLK,
1660 #endif
1661 #if defined(CLOCK_IP_HAS_GMAC0_MII_RX_CLK)
1662     GMAC0_MII_RX_CLK          = CLOCK_IP_HAS_GMAC0_MII_RX_CLK,
1663 #endif
1664 #if defined(CLOCK_IP_HAS_GMAC0_MII_RMII_TX_CLK)
1665     GMAC0_MII_RMII_TX_CLK     = CLOCK_IP_HAS_GMAC0_MII_RMII_TX_CLK,
1666 #endif
1667 #if defined(CLOCK_IP_HAS_GMAC1_RX_CLK)
1668     GMAC1_RX_CLK              = CLOCK_IP_HAS_GMAC1_RX_CLK,
1669 #endif
1670 #if defined(CLOCK_IP_HAS_GMAC1_TX_CLK)
1671     GMAC1_TX_CLK              = CLOCK_IP_HAS_GMAC1_TX_CLK,
1672 #endif
1673 #if defined(CLOCK_IP_HAS_GMAC1_TS_CLK)
1674     GMAC1_TS_CLK              = CLOCK_IP_HAS_GMAC1_TS_CLK,
1675 #endif
1676 #if defined(CLOCK_IP_HAS_GMAC1_RMII_CLK)
1677     GMAC1_RMII_CLK            = CLOCK_IP_HAS_GMAC1_RMII_CLK,
1678 #endif
1679 #if defined(CLOCK_IP_HAS_GPIO0_CLK)
1680     GPIO0_CLK                 = CLOCK_IP_HAS_GPIO0_CLK,
1681 #endif
1682 #if defined(CLOCK_IP_HAS_GTM_CLK)
1683     GTM_CLK                = CLOCK_IP_HAS_GTM_CLK,
1684 #endif
1685 #if defined(CLOCK_IP_HAS_IDIV0_CLK)
1686     IDIV0_CLK                   = CLOCK_IP_HAS_IDIV0_CLK,
1687 #endif
1688 #if defined(CLOCK_IP_HAS_IDIV1_CLK)
1689     IDIV1_CLK                   = CLOCK_IP_HAS_IDIV1_CLK,
1690 #endif
1691 #if defined(CLOCK_IP_HAS_IDIV2_CLK)
1692     IDIV2_CLK                   = CLOCK_IP_HAS_IDIV2_CLK,
1693 #endif
1694 #if defined(CLOCK_IP_HAS_IDIV3_CLK)
1695     IDIV3_CLK                   = CLOCK_IP_HAS_IDIV3_CLK,
1696 #endif
1697 #if defined(CLOCK_IP_HAS_IDIV4_CLK)
1698     IDIV4_CLK                   = CLOCK_IP_HAS_IDIV4_CLK,
1699 #endif
1700 #if defined(CLOCK_IP_HAS_IGF0_CLK)
1701     IGF0_CLK                   = CLOCK_IP_HAS_IGF0_CLK,
1702 #endif
1703 #if defined(CLOCK_IP_HAS_IIIC0_CLK)
1704     IIIC0_CLK                 = CLOCK_IP_HAS_IIIC0_CLK,
1705 #endif
1706 #if defined(CLOCK_IP_HAS_IIIC1_CLK)
1707     IIIC1_CLK                 = CLOCK_IP_HAS_IIIC1_CLK,
1708 #endif
1709 #if defined(CLOCK_IP_HAS_IIIC2_CLK)
1710     IIIC2_CLK                 = CLOCK_IP_HAS_IIIC2_CLK,
1711 #endif
1712 #if defined(CLOCK_IP_HAS_IIC0_CLK)
1713     IIC0_CLK                  = CLOCK_IP_HAS_IIC0_CLK,
1714 #endif
1715 #if defined(CLOCK_IP_HAS_IIC1_CLK)
1716     IIC1_CLK                  = CLOCK_IP_HAS_IIC1_CLK,
1717 #endif
1718 #if defined(CLOCK_IP_HAS_IIC2_CLK)
1719     IIC2_CLK                  = CLOCK_IP_HAS_IIC2_CLK,
1720 #endif
1721 #if defined(CLOCK_IP_HAS_IIC3_CLK)
1722     IIC3_CLK                  = CLOCK_IP_HAS_IIC3_CLK,
1723 #endif
1724 #if defined(CLOCK_IP_HAS_IIC4_CLK)
1725     IIC4_CLK                  = CLOCK_IP_HAS_IIC4_CLK,
1726 #endif
1727 #if defined(CLOCK_IP_HAS_INTM_CLK)
1728     INTM_CLK                  = CLOCK_IP_HAS_INTM_CLK,
1729 #endif
1730 #if defined(CLOCK_IP_HAS_ISO_CLK)
1731     ISO_CLK                  = CLOCK_IP_HAS_ISO_CLK,
1732 #endif
1733 #if defined(CLOCK_IP_HAS_LBIST0_CLK)
1734     LBIST0_CLK                = CLOCK_IP_HAS_LBIST0_CLK,
1735 #endif
1736 #if defined(CLOCK_IP_HAS_LBIST1_CLK)
1737     LBIST1_CLK                = CLOCK_IP_HAS_LBIST1_CLK,
1738 #endif
1739 #if defined(CLOCK_IP_HAS_LBIST2_CLK)
1740     LBIST2_CLK                = CLOCK_IP_HAS_LBIST2_CLK,
1741 #endif
1742 #if defined(CLOCK_IP_HAS_LBIST3_CLK)
1743     LBIST3_CLK                = CLOCK_IP_HAS_LBIST3_CLK,
1744 #endif
1745 #if defined(CLOCK_IP_HAS_LBIST4_CLK)
1746     LBIST4_CLK                = CLOCK_IP_HAS_LBIST4_CLK,
1747 #endif
1748 #if defined(CLOCK_IP_HAS_LBIST5_CLK)
1749     LBIST5_CLK                = CLOCK_IP_HAS_LBIST5_CLK,
1750 #endif
1751 #if defined(CLOCK_IP_HAS_LBIST6_CLK)
1752     LBIST6_CLK                = CLOCK_IP_HAS_LBIST6_CLK,
1753 #endif
1754 #if defined(CLOCK_IP_HAS_LBIST7_CLK)
1755     LBIST7_CLK                = CLOCK_IP_HAS_LBIST7_CLK,
1756 #endif
1757 #if defined(CLOCK_IP_HAS_LCU0_CLK)
1758     LCU0_CLK                  = CLOCK_IP_HAS_LCU0_CLK,
1759 #endif
1760 #if defined(CLOCK_IP_HAS_LCU1_CLK)
1761     LCU1_CLK                  = CLOCK_IP_HAS_LCU1_CLK,
1762 #endif
1763 #if defined(CLOCK_IP_HAS_LIN_BAUD_CLK)
1764     LIN_BAUD_CLK                   = CLOCK_IP_HAS_LIN_BAUD_CLK,
1765 #endif
1766 #if defined(CLOCK_IP_HAS_LINFLEXD_CLK)
1767     LINFLEXD_CLK                   = CLOCK_IP_HAS_LINFLEXD_CLK,
1768 #endif
1769 #if defined(CLOCK_IP_HAS_LIN0_CLK)
1770     LIN0_CLK                  = CLOCK_IP_HAS_LIN0_CLK,
1771 #endif
1772 #if defined(CLOCK_IP_HAS_LIN1_CLK)
1773     LIN1_CLK                  = CLOCK_IP_HAS_LIN1_CLK,
1774 #endif
1775 #if defined(CLOCK_IP_HAS_LIN2_CLK)
1776     LIN2_CLK                  = CLOCK_IP_HAS_LIN2_CLK,
1777 #endif
1778 #if defined(CLOCK_IP_HAS_LIN3_CLK)
1779     LIN3_CLK                  = CLOCK_IP_HAS_LIN3_CLK,
1780 #endif
1781 #if defined(CLOCK_IP_HAS_LIN4_CLK)
1782     LIN4_CLK                  = CLOCK_IP_HAS_LIN4_CLK,
1783 #endif
1784 #if defined(CLOCK_IP_HAS_LIN5_CLK)
1785     LIN5_CLK                  = CLOCK_IP_HAS_LIN5_CLK,
1786 #endif
1787 #if defined(CLOCK_IP_HAS_LIN6_CLK)
1788     LIN6_CLK                  = CLOCK_IP_HAS_LIN6_CLK,
1789 #endif
1790 #if defined(CLOCK_IP_HAS_LIN7_CLK)
1791     LIN7_CLK                  = CLOCK_IP_HAS_LIN7_CLK,
1792 #endif
1793 #if defined(CLOCK_IP_HAS_LIN8_CLK)
1794     LIN8_CLK                  = CLOCK_IP_HAS_LIN8_CLK,
1795 #endif
1796 #if defined(CLOCK_IP_HAS_LIN9_CLK)
1797     LIN9_CLK                  = CLOCK_IP_HAS_LIN9_CLK,
1798 #endif
1799 #if defined(CLOCK_IP_HAS_LIN10_CLK)
1800     LIN10_CLK                 = CLOCK_IP_HAS_LIN10_CLK,
1801 #endif
1802 #if defined(CLOCK_IP_HAS_LIN11_CLK)
1803     LIN11_CLK                 = CLOCK_IP_HAS_LIN11_CLK,
1804 #endif
1805 #if defined(CLOCK_IP_HAS_LFAST_REF_CLK)
1806     LFAST_REF_CLK             = CLOCK_IP_HAS_LFAST_REF_CLK,
1807 #endif
1808 #if defined(CLOCK_IP_HAS_LFAST_REF_EXT_CLK)
1809     LFAST_REF_EXT_CLK         = CLOCK_IP_HAS_LFAST_REF_EXT_CLK,
1810 #endif
1811 #if defined(CLOCK_IP_HAS_LPI2C0_CLK)
1812     LPI2C0_CLK                = CLOCK_IP_HAS_LPI2C0_CLK,
1813 #endif
1814 #if defined(CLOCK_IP_HAS_LPI2C1_CLK)
1815     LPI2C1_CLK                = CLOCK_IP_HAS_LPI2C1_CLK,
1816 #endif
1817 #if defined(CLOCK_IP_HAS_LPIT0_CLK)
1818     LPIT0_CLK                 = CLOCK_IP_HAS_LPIT0_CLK,
1819 #endif
1820 #if defined(CLOCK_IP_HAS_LPSPI_CLK)
1821     LPSPI_CLK                = CLOCK_IP_HAS_LPSPI_CLK,
1822 #endif
1823 #if defined(CLOCK_IP_HAS_LPSPI0_CLK)
1824     LPSPI0_CLK                = CLOCK_IP_HAS_LPSPI0_CLK,
1825 #endif
1826 #if defined(CLOCK_IP_HAS_LPSPI1_CLK)
1827     LPSPI1_CLK                = CLOCK_IP_HAS_LPSPI1_CLK,
1828 #endif
1829 #if defined(CLOCK_IP_HAS_LPSPI2_CLK)
1830     LPSPI2_CLK                = CLOCK_IP_HAS_LPSPI2_CLK,
1831 #endif
1832 #if defined(CLOCK_IP_HAS_LPSPI3_CLK)
1833     LPSPI3_CLK                = CLOCK_IP_HAS_LPSPI3_CLK,
1834 #endif
1835 #if defined(CLOCK_IP_HAS_LPSPI4_CLK)
1836     LPSPI4_CLK                = CLOCK_IP_HAS_LPSPI4_CLK,
1837 #endif
1838 #if defined(CLOCK_IP_HAS_LPSPI5_CLK)
1839     LPSPI5_CLK                = CLOCK_IP_HAS_LPSPI5_CLK,
1840 #endif
1841 #if defined(CLOCK_IP_HAS_LPTMR0_CLK)
1842     LPTMR0_CLK                = CLOCK_IP_HAS_LPTMR0_CLK,
1843 #endif
1844 #if defined(CLOCK_IP_HAS_LPUART0_CLK)
1845     LPUART0_CLK               = CLOCK_IP_HAS_LPUART0_CLK,
1846 #endif
1847 #if defined(CLOCK_IP_HAS_LPUART1_CLK)
1848     LPUART1_CLK               = CLOCK_IP_HAS_LPUART1_CLK,
1849 #endif
1850 #if defined(CLOCK_IP_HAS_LPUART2_CLK)
1851     LPUART2_CLK               = CLOCK_IP_HAS_LPUART2_CLK,
1852 #endif
1853 #if defined(CLOCK_IP_HAS_LPUART3_CLK)
1854     LPUART3_CLK               = CLOCK_IP_HAS_LPUART3_CLK,
1855 #endif
1856 #if defined(CLOCK_IP_HAS_LPUART4_CLK)
1857     LPUART4_CLK               = CLOCK_IP_HAS_LPUART4_CLK,
1858 #endif
1859 #if defined(CLOCK_IP_HAS_LPUART5_CLK)
1860     LPUART5_CLK               = CLOCK_IP_HAS_LPUART5_CLK,
1861 #endif
1862 #if defined(CLOCK_IP_HAS_LPUART6_CLK)
1863     LPUART6_CLK               = CLOCK_IP_HAS_LPUART6_CLK,
1864 #endif
1865 #if defined(CLOCK_IP_HAS_LPUART7_CLK)
1866     LPUART7_CLK               = CLOCK_IP_HAS_LPUART7_CLK,
1867 #endif
1868 #if defined(CLOCK_IP_HAS_LPUART8_CLK)
1869     LPUART8_CLK               = CLOCK_IP_HAS_LPUART8_CLK,
1870 #endif
1871 #if defined(CLOCK_IP_HAS_LPUART9_CLK)
1872     LPUART9_CLK               = CLOCK_IP_HAS_LPUART9_CLK,
1873 #endif
1874 #if defined(CLOCK_IP_HAS_LPUART10_CLK)
1875     LPUART10_CLK              = CLOCK_IP_HAS_LPUART10_CLK,
1876 #endif
1877 #if defined(CLOCK_IP_HAS_LPUART11_CLK)
1878     LPUART11_CLK              = CLOCK_IP_HAS_LPUART11_CLK,
1879 #endif
1880 #if defined(CLOCK_IP_HAS_LPUART12_CLK)
1881     LPUART12_CLK              = CLOCK_IP_HAS_LPUART12_CLK,
1882 #endif
1883 #if defined(CLOCK_IP_HAS_LPUART13_CLK)
1884     LPUART13_CLK              = CLOCK_IP_HAS_LPUART13_CLK,
1885 #endif
1886 #if defined(CLOCK_IP_HAS_LPUART14_CLK)
1887     LPUART14_CLK              = CLOCK_IP_HAS_LPUART14_CLK,
1888 #endif
1889 #if defined(CLOCK_IP_HAS_LPUART15_CLK)
1890     LPUART15_CLK              = CLOCK_IP_HAS_LPUART15_CLK,
1891 #endif
1892 #if defined(CLOCK_IP_HAS_LPUART_MSC_CLK)
1893     LPUART_MSC_CLK              = CLOCK_IP_HAS_LPUART_MSC_CLK,
1894 #endif
1895 #if defined(CLOCK_IP_HAS_LVDS_CLK)
1896     LVDS_CLK              = CLOCK_IP_HAS_LVDS_CLK,
1897 #endif
1898 #if defined(CLOCK_IP_HAS_MCSS_CLK)
1899     MCSS_CLK                  = CLOCK_IP_HAS_MCSS_CLK,
1900 #endif
1901 #if defined(CLOCK_IP_HAS_MPU0_CLK)
1902     MPU0_CLK                  = CLOCK_IP_HAS_MPU0_CLK,
1903 #endif
1904 #if defined(CLOCK_IP_HAS_MSCM_CLK)
1905     MSCM_CLK                  = CLOCK_IP_HAS_MSCM_CLK,
1906 #endif
1907 #if defined(CLOCK_IP_HAS_MSCM0_CLK)
1908     MSCM0_CLK                 = CLOCK_IP_HAS_MSCM0_CLK,
1909 #endif
1910 #if defined(CLOCK_IP_HAS_MUA_CLK)
1911     MUA_CLK                   = CLOCK_IP_HAS_MUA_CLK,
1912 #endif
1913 #if defined(CLOCK_IP_HAS_MUB_CLK)
1914     MUB_CLK                   = CLOCK_IP_HAS_MUB_CLK,
1915 #endif
1916 #if defined(CLOCK_IP_HAS_MU2A_CLK)
1917     MU2A_CLK                   = CLOCK_IP_HAS_MU2A_CLK,
1918 #endif
1919 #if defined(CLOCK_IP_HAS_MU2B_CLK)
1920     MU2B_CLK                   = CLOCK_IP_HAS_MU2B_CLK,
1921 #endif
1922 #if defined(CLOCK_IP_HAS_MU3A_CLK)
1923     MU3A_CLK                   = CLOCK_IP_HAS_MU3A_CLK,
1924 #endif
1925 #if defined(CLOCK_IP_HAS_MU3B_CLK)
1926     MU3B_CLK                   = CLOCK_IP_HAS_MU3B_CLK,
1927 #endif
1928 #if defined(CLOCK_IP_HAS_MU4A_CLK)
1929     MU4A_CLK                   = CLOCK_IP_HAS_MU4A_CLK,
1930 #endif
1931 #if defined(CLOCK_IP_HAS_MU4B_CLK)
1932     MU4B_CLK                   = CLOCK_IP_HAS_MU4B_CLK,
1933 #endif
1934 #if defined(CLOCK_IP_HAS_OCOTP_CLK)
1935     OCOTP_CLK                = CLOCK_IP_HAS_OCOTP_CLK,
1936 #endif
1937 #if defined(CLOCK_IP_HAS_PDB0_CLK)
1938     PDB0_CLK                  = CLOCK_IP_HAS_PDB0_CLK,
1939 #endif
1940 #if defined(CLOCK_IP_HAS_PDB1_CLK)
1941     PDB1_CLK                  = CLOCK_IP_HAS_PDB1_CLK,
1942 #endif
1943 #if defined(CLOCK_IP_HAS_PFEMAC0_RX_CLK)
1944     PFEMAC0_RX_CLK            = CLOCK_IP_HAS_PFEMAC0_RX_CLK,
1945 #endif
1946 #if defined(CLOCK_IP_HAS_PFEMAC0_TX_DIV_CLK)
1947     PFEMAC0_TX_DIV_CLK            = CLOCK_IP_HAS_PFEMAC0_TX_DIV_CLK,
1948 #endif
1949 #if defined(CLOCK_IP_HAS_PFEMAC1_TX_DIV_CLK)
1950     PFEMAC1_TX_DIV_CLK            = CLOCK_IP_HAS_PFEMAC1_TX_DIV_CLK,
1951 #endif
1952 #if defined(CLOCK_IP_HAS_PFEMAC2_TX_DIV_CLK)
1953     PFEMAC2_TX_DIV_CLK            = CLOCK_IP_HAS_PFEMAC2_TX_DIV_CLK,
1954 #endif
1955 #if defined(CLOCK_IP_HAS_PFEMAC0_TX_CLK)
1956     PFEMAC0_TX_CLK            = CLOCK_IP_HAS_PFEMAC0_TX_CLK,
1957 #endif
1958 #if defined(CLOCK_IP_HAS_PFEMAC1_RX_CLK)
1959     PFEMAC1_RX_CLK            = CLOCK_IP_HAS_PFEMAC1_RX_CLK,
1960 #endif
1961 #if defined(CLOCK_IP_HAS_PFEMAC1_TX_CLK)
1962     PFEMAC1_TX_CLK            = CLOCK_IP_HAS_PFEMAC1_TX_CLK,
1963 #endif
1964 #if defined(CLOCK_IP_HAS_PFEMAC2_RX_CLK)
1965     PFEMAC2_RX_CLK            = CLOCK_IP_HAS_PFEMAC2_RX_CLK,
1966 #endif
1967 #if defined(CLOCK_IP_HAS_PFEMAC2_TX_CLK)
1968     PFEMAC2_TX_CLK            = CLOCK_IP_HAS_PFEMAC2_TX_CLK,
1969 #endif
1970 #if defined(CLOCK_IP_HAS_PIT0_CLK)
1971     PIT0_CLK                  = CLOCK_IP_HAS_PIT0_CLK,
1972 #endif
1973 #if defined(CLOCK_IP_HAS_PIT1_CLK)
1974     PIT1_CLK                  = CLOCK_IP_HAS_PIT1_CLK,
1975 #endif
1976 #if defined(CLOCK_IP_HAS_PIT2_CLK)
1977     PIT2_CLK                  = CLOCK_IP_HAS_PIT2_CLK,
1978 #endif
1979 #if defined(CLOCK_IP_HAS_PIT3_CLK)
1980     PIT3_CLK                  = CLOCK_IP_HAS_PIT3_CLK,
1981 #endif
1982 #if defined(CLOCK_IP_HAS_PIT4_CLK)
1983     PIT4_CLK                  = CLOCK_IP_HAS_PIT4_CLK,
1984 #endif
1985 #if defined(CLOCK_IP_HAS_PIT5_CLK)
1986     PIT5_CLK                  = CLOCK_IP_HAS_PIT5_CLK,
1987 #endif
1988 #if defined(CLOCK_IP_HAS_PORTA_CLK)
1989     PORTA_CLK                 = CLOCK_IP_HAS_PORTA_CLK,
1990 #endif
1991 #if defined(CLOCK_IP_HAS_PORTB_CLK)
1992     PORTB_CLK                 = CLOCK_IP_HAS_PORTB_CLK,
1993 #endif
1994 #if defined(CLOCK_IP_HAS_PORTC_CLK)
1995     PORTC_CLK                 = CLOCK_IP_HAS_PORTC_CLK,
1996 #endif
1997 #if defined(CLOCK_IP_HAS_PORTD_CLK)
1998     PORTD_CLK                 = CLOCK_IP_HAS_PORTD_CLK,
1999 #endif
2000 #if defined(CLOCK_IP_HAS_PORTE_CLK)
2001     PORTE_CLK                 = CLOCK_IP_HAS_PORTE_CLK,
2002 #endif
2003 #if defined(CLOCK_IP_HAS_PSI5_0_CLK)
2004     PSI5_0_CLK                = CLOCK_IP_HAS_PSI5_0_CLK,
2005 #endif
2006 #if defined(CLOCK_IP_HAS_PSI5_1_CLK)
2007     PSI5_1_CLK                = CLOCK_IP_HAS_PSI5_1_CLK,
2008 #endif
2009 #if defined(CLOCK_IP_HAS_PSI5S_0_CLK)
2010     PSI5S_0_CLK               = CLOCK_IP_HAS_PSI5S_0_CLK,
2011 #endif
2012 #if defined(CLOCK_IP_HAS_PSI5S_1_CLK)
2013     PSI5S_1_CLK               = CLOCK_IP_HAS_PSI5S_1_CLK,
2014 #endif
2015 #if defined(CLOCK_IP_HAS_QSPI_CLK)
2016     QSPI_CLK             = CLOCK_IP_HAS_QSPI_CLK,
2017 #endif
2018 #if defined(CLOCK_IP_HAS_QSPI_SFIF_CLK_HYP_PREMUX_CLK)
2019     QSPI_SFIF_CLK_HYP_PREMUX_CLK = CLOCK_IP_HAS_QSPI_SFIF_CLK_HYP_PREMUX_CLK,
2020 #endif
2021 #if defined(CLOCK_IP_HAS_QSPI_SFIF_CLK)
2022     QSPI_SFIF_CLK             = CLOCK_IP_HAS_QSPI_SFIF_CLK,
2023 #endif
2024 #if defined(CLOCK_IP_HAS_QSPI_2xSFIF_CLK)
2025     QSPI_2xSFIF_CLK           = CLOCK_IP_HAS_QSPI_2xSFIF_CLK,
2026 #endif
2027 #if defined(CLOCK_IP_HAS_QSPI_2XSFIF_CLK)
2028     QSPI_2XSFIF_CLK           = CLOCK_IP_HAS_QSPI_2XSFIF_CLK,
2029 #endif
2030 #if defined(CLOCK_IP_HAS_QSPI_2X_CLK)
2031     QSPI_2X_CLK                  = CLOCK_IP_HAS_QSPI_2X_CLK,
2032 #endif
2033 #if defined(CLOCK_IP_HAS_QSPI_1X_CLK)
2034     QSPI_1X_CLK                  = CLOCK_IP_HAS_QSPI_1X_CLK,
2035 #endif
2036 #if defined(CLOCK_IP_HAS_QSPI_SFCK_CLK)
2037     QSPI_SFCK_CLK             = CLOCK_IP_HAS_QSPI_SFCK_CLK,
2038 #endif
2039 #if defined(CLOCK_IP_HAS_QSPI0_CLK)
2040     QSPI0_CLK                 = CLOCK_IP_HAS_QSPI0_CLK,
2041 #endif
2042 #if defined(CLOCK_IP_HAS_QSPI0_RAM_CLK)
2043     QSPI0_RAM_CLK             = CLOCK_IP_HAS_QSPI0_RAM_CLK,
2044 #endif
2045 #if defined(CLOCK_IP_HAS_QSPI0_SFCK_CLK)
2046     QSPI0_SFCK_CLK            = CLOCK_IP_HAS_QSPI0_SFCK_CLK,
2047 #endif
2048 #if defined(CLOCK_IP_HAS_QSPI0_TX_MEM_CLK)
2049     QSPI0_TX_MEM_CLK          = CLOCK_IP_HAS_QSPI0_TX_MEM_CLK,
2050 #endif
2051 #if defined(CLOCK_IP_HAS_QSPI1_CLK)
2052     QSPI1_CLK                 = CLOCK_IP_HAS_QSPI1_CLK,
2053 #endif
2054 #if defined(CLOCK_IP_HAS_P0_CLKOUT_SRC_CLK)
2055     P0_CLKOUT_SRC_CLK         = CLOCK_IP_HAS_P0_CLKOUT_SRC_CLK,
2056 #endif
2057 #if defined(CLOCK_IP_HAS_P0_CTU_PER_CLK)
2058     P0_CTU_PER_CLK            = CLOCK_IP_HAS_P0_CTU_PER_CLK,
2059 #endif
2060 #if defined(CLOCK_IP_HAS_P0_DSPI_CLK)
2061     P0_DSPI_CLK               = CLOCK_IP_HAS_P0_DSPI_CLK,
2062 #endif
2063 #if defined(CLOCK_IP_HAS_P0_DSPI_MSC_CLK)
2064     P0_DSPI_MSC_CLK           = CLOCK_IP_HAS_P0_DSPI_MSC_CLK,
2065 #endif
2066 #if defined(CLOCK_IP_HAS_P0_EMIOS_LCU_CLK)
2067     P0_EMIOS_LCU_CLK          = CLOCK_IP_HAS_P0_EMIOS_LCU_CLK,
2068 #endif
2069 #if defined(CLOCK_IP_HAS_P0_FR_PE_CLK)
2070     P0_FR_PE_CLK              = CLOCK_IP_HAS_P0_FR_PE_CLK,
2071 #endif
2072 #if defined(CLOCK_IP_HAS_P0_GTM_CLK)
2073     P0_GTM_CLK                = CLOCK_IP_HAS_P0_GTM_CLK,
2074 #endif
2075 #if defined(CLOCK_IP_HAS_P0_GTM_NOC_CLK)
2076     P0_GTM_NOC_CLK            = CLOCK_IP_HAS_P0_GTM_NOC_CLK,
2077 #endif
2078 #if defined(CLOCK_IP_HAS_P0_GTM_TS_CLK)
2079     P0_GTM_TS_CLK             = CLOCK_IP_HAS_P0_GTM_TS_CLK,
2080 #endif
2081 #if defined(CLOCK_IP_HAS_P0_LIN_BAUD_CLK)
2082     P0_LIN_BAUD_CLK           = CLOCK_IP_HAS_P0_LIN_BAUD_CLK,
2083 #endif
2084 #if defined(CLOCK_IP_HAS_P0_LIN_CLK)
2085     P0_LIN_CLK                = CLOCK_IP_HAS_P0_LIN_CLK,
2086 #endif
2087 #if defined(CLOCK_IP_HAS_P0_NANO_CLK)
2088     P0_NANO_CLK               = CLOCK_IP_HAS_P0_NANO_CLK,
2089 #endif
2090 #if defined(CLOCK_IP_HAS_P0_PSI5_125K_CLK)
2091     P0_PSI5_125K_CLK          = CLOCK_IP_HAS_P0_PSI5_125K_CLK,
2092 #endif
2093 #if defined(CLOCK_IP_HAS_P0_PSI5_189K_CLK)
2094     P0_PSI5_189K_CLK          = CLOCK_IP_HAS_P0_PSI5_189K_CLK,
2095 #endif
2096 #if defined(CLOCK_IP_HAS_P0_PSI5_1US_CLK)
2097     P0_PSI5_1US_CLK           = CLOCK_IP_HAS_P0_PSI5_1US_CLK,
2098 #endif
2099 #if defined(CLOCK_IP_HAS_P0_PSI5_S_BAUD_CLK)
2100     P0_PSI5_S_BAUD_CLK        = CLOCK_IP_HAS_P0_PSI5_S_BAUD_CLK,
2101 #endif
2102 #if defined(CLOCK_IP_HAS_P0_PSI5_S_CORE_CLK)
2103     P0_PSI5_S_CORE_CLK        = CLOCK_IP_HAS_P0_PSI5_S_CORE_CLK,
2104 #endif
2105 #if defined(CLOCK_IP_HAS_P0_PSI5_S_TRIG0_CLK)
2106     P0_PSI5_S_TRIG0_CLK       = CLOCK_IP_HAS_P0_PSI5_S_TRIG0_CLK,
2107 #endif
2108 #if defined(CLOCK_IP_HAS_P0_PSI5_S_TRIG1_CLK)
2109     P0_PSI5_S_TRIG1_CLK       = CLOCK_IP_HAS_P0_PSI5_S_TRIG1_CLK,
2110 #endif
2111 #if defined(CLOCK_IP_HAS_P0_PSI5_S_TRIG2_CLK)
2112     P0_PSI5_S_TRIG2_CLK       = CLOCK_IP_HAS_P0_PSI5_S_TRIG2_CLK,
2113 #endif
2114 #if defined(CLOCK_IP_HAS_P0_PSI5_S_TRIG3_CLK)
2115     P0_PSI5_S_TRIG3_CLK       = CLOCK_IP_HAS_P0_PSI5_S_TRIG3_CLK,
2116 #endif
2117 #if defined(CLOCK_IP_HAS_P0_PSI5_S_UART_CLK)
2118     P0_PSI5_S_UART_CLK        = CLOCK_IP_HAS_P0_PSI5_S_UART_CLK,
2119 #endif
2120 #if defined(CLOCK_IP_HAS_P0_PSI5_S_WDOG0_CLK)
2121     P0_PSI5_S_WDOG0_CLK       = CLOCK_IP_HAS_P0_PSI5_S_WDOG0_CLK,
2122 #endif
2123 #if defined(CLOCK_IP_HAS_P0_PSI5_S_WDOG1_CLK)
2124     P0_PSI5_S_WDOG1_CLK       = CLOCK_IP_HAS_P0_PSI5_S_WDOG1_CLK,
2125 #endif
2126 #if defined(CLOCK_IP_HAS_P0_PSI5_S_WDOG2_CLK)
2127     P0_PSI5_S_WDOG2_CLK       = CLOCK_IP_HAS_P0_PSI5_S_WDOG2_CLK,
2128 #endif
2129 #if defined(CLOCK_IP_HAS_P0_PSI5_S_WDOG3_CLK)
2130     P0_PSI5_S_WDOG3_CLK       = CLOCK_IP_HAS_P0_PSI5_S_WDOG3_CLK,
2131 #endif
2132 #if defined(CLOCK_IP_HAS_P0_REG_INTF_2X_CLK)
2133     P0_REG_INTF_2X_CLK        = CLOCK_IP_HAS_P0_REG_INTF_2X_CLK,
2134 #endif
2135 #if defined(CLOCK_IP_HAS_P0_REG_INTF_CLK)
2136     P0_REG_INTF_CLK           = CLOCK_IP_HAS_P0_REG_INTF_CLK,
2137 #endif
2138 #if defined(CLOCK_IP_HAS_P1_CLKOUT_SRC_CLK)
2139     P1_CLKOUT_SRC_CLK         = CLOCK_IP_HAS_P1_CLKOUT_SRC_CLK,
2140 #endif
2141 #if defined(CLOCK_IP_HAS_P1_DSPI_CLK)
2142     P1_DSPI_CLK               = CLOCK_IP_HAS_P1_DSPI_CLK,
2143 #endif
2144 #if defined(CLOCK_IP_HAS_P1_DSPI60_CLK)
2145     P1_DSPI60_CLK             = CLOCK_IP_HAS_P1_DSPI60_CLK,
2146 #endif
2147 #if defined(CLOCK_IP_HAS_P1_LFAST0_REF_CLK)
2148     P1_LFAST0_REF_CLK         = CLOCK_IP_HAS_P1_LFAST0_REF_CLK,
2149 #endif
2150 #if defined(CLOCK_IP_HAS_P1_LFAST1_REF_CLK)
2151     P1_LFAST1_REF_CLK         = CLOCK_IP_HAS_P1_LFAST1_REF_CLK,
2152 #endif
2153 #if defined(CLOCK_IP_HAS_P1_LFAST_DFT_CLK)
2154     P1_LFAST_DFT_CLK          = CLOCK_IP_HAS_P1_LFAST_DFT_CLK,
2155 #endif
2156 #if defined(CLOCK_IP_HAS_P1_NETC_AXI_CLK)
2157     P1_NETC_AXI_CLK           = CLOCK_IP_HAS_P1_NETC_AXI_CLK,
2158 #endif
2159 #if defined(CLOCK_IP_HAS_P1_LIN_BAUD_CLK)
2160     P1_LIN_BAUD_CLK           = CLOCK_IP_HAS_P1_LIN_BAUD_CLK,
2161 #endif
2162 #if defined(CLOCK_IP_HAS_P1_LIN_CLK)
2163     P1_LIN_CLK                = CLOCK_IP_HAS_P1_LIN_CLK,
2164 #endif
2165 #if defined(CLOCK_IP_HAS_ETH_TS_CLK)
2166     ETH_TS_CLK                = CLOCK_IP_HAS_ETH_TS_CLK,
2167 #endif
2168 #if defined(CLOCK_IP_HAS_ETH_TS_DIV4_CLK)
2169     ETH_TS_DIV4_CLK           = CLOCK_IP_HAS_ETH_TS_DIV4_CLK,
2170 #endif
2171 #if defined(CLOCK_IP_HAS_ETH0_REF_RMII_CLK)
2172     ETH0_REF_RMII_CLK         = CLOCK_IP_HAS_ETH0_REF_RMII_CLK,
2173 #endif
2174 #if defined(CLOCK_IP_HAS_ETH0_RX_MII_CLK)
2175     ETH0_RX_MII_CLK           = CLOCK_IP_HAS_ETH0_RX_MII_CLK,
2176 #endif
2177 #if defined(CLOCK_IP_HAS_ETH0_RX_RGMII_CLK)
2178     ETH0_RX_RGMII_CLK         = CLOCK_IP_HAS_ETH0_RX_RGMII_CLK,
2179 #endif
2180 #if defined(CLOCK_IP_HAS_ETH0_TX_MII_CLK)
2181     ETH0_TX_MII_CLK           = CLOCK_IP_HAS_ETH0_TX_MII_CLK,
2182 #endif
2183 #if defined(CLOCK_IP_HAS_ETH0_TX_RGMII_CLK)
2184     ETH0_TX_RGMII_CLK         = CLOCK_IP_HAS_ETH0_TX_RGMII_CLK,
2185 #endif
2186 #if defined(CLOCK_IP_HAS_ETH0_TX_RGMII_LPBK_CLK)
2187     ETH0_TX_RGMII_LPBK_CLK    = CLOCK_IP_HAS_ETH0_TX_RGMII_LPBK_CLK,
2188 #endif
2189 #if defined(CLOCK_IP_HAS_ETH1_REF_RMII_CLK)
2190     ETH1_REF_RMII_CLK         = CLOCK_IP_HAS_ETH1_REF_RMII_CLK,
2191 #endif
2192 #if defined(CLOCK_IP_HAS_ETH1_RX_MII_CLK)
2193     ETH1_RX_MII_CLK           = CLOCK_IP_HAS_ETH1_RX_MII_CLK,
2194 #endif
2195 #if defined(CLOCK_IP_HAS_ETH1_RX_RGMII_CLK)
2196     ETH1_RX_RGMII_CLK         = CLOCK_IP_HAS_ETH1_RX_RGMII_CLK,
2197 #endif
2198 #if defined(CLOCK_IP_HAS_ETH1_TX_MII_CLK)
2199     ETH1_TX_MII_CLK           = CLOCK_IP_HAS_ETH1_TX_MII_CLK,
2200 #endif
2201 #if defined(CLOCK_IP_HAS_ETH1_TX_RGMII_CLK)
2202     ETH1_TX_RGMII_CLK         = CLOCK_IP_HAS_ETH1_TX_RGMII_CLK,
2203 #endif
2204 #if defined(CLOCK_IP_HAS_ETH1_TX_RGMII_LPBK_CLK)
2205     ETH1_TX_RGMII_LPBK_CLK    = CLOCK_IP_HAS_ETH1_TX_RGMII_LPBK_CLK,
2206 #endif
2207 #if defined(CLOCK_IP_HAS_ETPU_AB_REGISTERS_CLK)
2208     ETPU_AB_REGISTERS_CLK    = CLOCK_IP_HAS_ETPU_AB_REGISTERS_CLK,
2209 #endif
2210 #if defined(CLOCK_IP_HAS_ETPU_CODE_RAM1_CLK)
2211     ETPU_CODE_RAM1_CLK    = CLOCK_IP_HAS_ETPU_CODE_RAM1_CLK,
2212 #endif
2213 #if defined(CLOCK_IP_HAS_ETPU_CODE_RAM2_CLK)
2214     ETPU_CODE_RAM2_CLK    = CLOCK_IP_HAS_ETPU_CODE_RAM2_CLK,
2215 #endif
2216 #if defined(CLOCK_IP_HAS_ETPU_RAM_MIRROR_CLK)
2217     ETPU_RAM_MIRROR_CLK    = CLOCK_IP_HAS_ETPU_RAM_MIRROR_CLK,
2218 #endif
2219 #if defined(CLOCK_IP_HAS_ETPU_RAM_SDM_CLK)
2220     ETPU_RAM_SDM_CLK    = CLOCK_IP_HAS_ETPU_RAM_SDM_CLK,
2221 #endif
2222 #if defined(CLOCK_IP_HAS_P1_REG_INTF_CLK)
2223     P1_REG_INTF_CLK           = CLOCK_IP_HAS_P1_REG_INTF_CLK,
2224 #endif
2225 #if defined(CLOCK_IP_HAS_P2_DBG_ATB_CLK)
2226     P2_DBG_ATB_CLK            = CLOCK_IP_HAS_P2_DBG_ATB_CLK,
2227 #endif
2228 #if defined(CLOCK_IP_HAS_P2_REG_INTF_CLK)
2229     P2_REG_INTF_CLK           = CLOCK_IP_HAS_P2_REG_INTF_CLK,
2230 #endif
2231 #if defined(CLOCK_IP_HAS_P3_AES_CLK)
2232     P3_AES_CLK                = CLOCK_IP_HAS_P3_AES_CLK,
2233 #endif
2234 #if defined(CLOCK_IP_HAS_P3_CAN_PE_CLK)
2235     P3_CAN_PE_CLK             = CLOCK_IP_HAS_P3_CAN_PE_CLK,
2236 #endif
2237 #if defined(CLOCK_IP_HAS_P3_CLKOUT_SRC_CLK)
2238     P3_CLKOUT_SRC_CLK         = CLOCK_IP_HAS_P3_CLKOUT_SRC_CLK,
2239 #endif
2240 #if defined(CLOCK_IP_HAS_P3_DBG_TS_CLK)
2241     P3_DBG_TS_CLK             = CLOCK_IP_HAS_P3_DBG_TS_CLK,
2242 #endif
2243 #if defined(CLOCK_IP_HAS_P3_REG_INTF_CLK)
2244     P3_REG_INTF_CLK           = CLOCK_IP_HAS_P3_REG_INTF_CLK,
2245 #endif
2246 #if defined(CLOCK_IP_HAS_P3_SYS_MON1_CLK)
2247     P3_SYS_MON1_CLK           = CLOCK_IP_HAS_P3_SYS_MON1_CLK,
2248 #endif
2249 #if defined(CLOCK_IP_HAS_P3_SYS_MON2_CLK)
2250     P3_SYS_MON2_CLK           = CLOCK_IP_HAS_P3_SYS_MON2_CLK,
2251 #endif
2252 #if defined(CLOCK_IP_HAS_P3_SYS_MON3_CLK)
2253     P3_SYS_MON3_CLK           = CLOCK_IP_HAS_P3_SYS_MON3_CLK,
2254 #endif
2255 #if defined(CLOCK_IP_HAS_P4_CLKOUT_SRC_CLK)
2256     P4_CLKOUT_SRC_CLK         = CLOCK_IP_HAS_P4_CLKOUT_SRC_CLK,
2257 #endif
2258 #if defined(CLOCK_IP_HAS_P4_DSPI_CLK)
2259     P4_DSPI_CLK               = CLOCK_IP_HAS_P4_DSPI_CLK,
2260 #endif
2261 #if defined(CLOCK_IP_HAS_P4_DSPI60_CLK)
2262     P4_DSPI60_CLK             = CLOCK_IP_HAS_P4_DSPI60_CLK,
2263 #endif
2264 #if defined(CLOCK_IP_HAS_P4_EMIOS_LCU_CLK)
2265     P4_EMIOS_LCU_CLK          = CLOCK_IP_HAS_P4_EMIOS_LCU_CLK,
2266 #endif
2267 #if defined(CLOCK_IP_HAS_P4_LIN_BAUD_CLK)
2268     P4_LIN_BAUD_CLK           = CLOCK_IP_HAS_P4_LIN_BAUD_CLK,
2269 #endif
2270 #if defined(CLOCK_IP_HAS_P4_LIN_CLK)
2271     P4_LIN_CLK                = CLOCK_IP_HAS_P4_LIN_CLK,
2272 #endif
2273 #if defined(CLOCK_IP_HAS_P4_PSI5_125K_CLK)
2274     P4_PSI5_125K_CLK          = CLOCK_IP_HAS_P4_PSI5_125K_CLK,
2275 #endif
2276 #if defined(CLOCK_IP_HAS_P4_PSI5_189K_CLK)
2277     P4_PSI5_189K_CLK          = CLOCK_IP_HAS_P4_PSI5_189K_CLK,
2278 #endif
2279 #if defined(CLOCK_IP_HAS_P4_PSI5_1US_CLK)
2280     P4_PSI5_1US_CLK           = CLOCK_IP_HAS_P4_PSI5_1US_CLK,
2281 #endif
2282 #if defined(CLOCK_IP_HAS_P4_PSI5_S_BAUD_CLK)
2283     P4_PSI5_S_BAUD_CLK        = CLOCK_IP_HAS_P4_PSI5_S_BAUD_CLK,
2284 #endif
2285 #if defined(CLOCK_IP_HAS_P4_PSI5_S_CORE_CLK)
2286     P4_PSI5_S_CORE_CLK        = CLOCK_IP_HAS_P4_PSI5_S_CORE_CLK,
2287 #endif
2288 #if defined(CLOCK_IP_HAS_P4_PSI5_S_TRIG0_CLK)
2289     P4_PSI5_S_TRIG0_CLK       = CLOCK_IP_HAS_P4_PSI5_S_TRIG0_CLK,
2290 #endif
2291 #if defined(CLOCK_IP_HAS_P4_PSI5_S_TRIG1_CLK)
2292     P4_PSI5_S_TRIG1_CLK       = CLOCK_IP_HAS_P4_PSI5_S_TRIG1_CLK,
2293 #endif
2294 #if defined(CLOCK_IP_HAS_P4_PSI5_S_TRIG2_CLK)
2295     P4_PSI5_S_TRIG2_CLK       = CLOCK_IP_HAS_P4_PSI5_S_TRIG2_CLK,
2296 #endif
2297 #if defined(CLOCK_IP_HAS_P4_PSI5_S_TRIG3_CLK)
2298     P4_PSI5_S_TRIG3_CLK       = CLOCK_IP_HAS_P4_PSI5_S_TRIG3_CLK,
2299 #endif
2300 #if defined(CLOCK_IP_HAS_P4_PSI5_S_UART_CLK)
2301     P4_PSI5_S_UART_CLK        = CLOCK_IP_HAS_P4_PSI5_S_UART_CLK,
2302 #endif
2303 #if defined(CLOCK_IP_HAS_P4_PSI5_S_WDOG0_CLK)
2304     P4_PSI5_S_WDOG0_CLK       = CLOCK_IP_HAS_P4_PSI5_S_WDOG0_CLK,
2305 #endif
2306 #if defined(CLOCK_IP_HAS_P4_PSI5_S_WDOG1_CLK)
2307     P4_PSI5_S_WDOG1_CLK       = CLOCK_IP_HAS_P4_PSI5_S_WDOG1_CLK,
2308 #endif
2309 #if defined(CLOCK_IP_HAS_P4_PSI5_S_WDOG2_CLK)
2310     P4_PSI5_S_WDOG2_CLK       = CLOCK_IP_HAS_P4_PSI5_S_WDOG2_CLK,
2311 #endif
2312 #if defined(CLOCK_IP_HAS_P4_PSI5_S_WDOG3_CLK)
2313     P4_PSI5_S_WDOG3_CLK       = CLOCK_IP_HAS_P4_PSI5_S_WDOG3_CLK,
2314 #endif
2315 #if defined(CLOCK_IP_HAS_P4_QSPI0_2X_CLK)
2316     P4_QSPI0_2X_CLK           = CLOCK_IP_HAS_P4_QSPI0_2X_CLK,
2317 #endif
2318 #if defined(CLOCK_IP_HAS_P4_QSPI0_1X_CLK)
2319     P4_QSPI0_1X_CLK           = CLOCK_IP_HAS_P4_QSPI0_1X_CLK,
2320 #endif
2321 #if defined(CLOCK_IP_HAS_P4_QSPI1_2X_CLK)
2322     P4_QSPI1_2X_CLK           = CLOCK_IP_HAS_P4_QSPI1_2X_CLK,
2323 #endif
2324 #if defined(CLOCK_IP_HAS_P4_QSPI1_1X_CLK)
2325     P4_QSPI1_1X_CLK           = CLOCK_IP_HAS_P4_QSPI1_1X_CLK,
2326 #endif
2327 #if defined(CLOCK_IP_HAS_P4_REG_INTF_2X_CLK)
2328     P4_REG_INTF_2X_CLK        = CLOCK_IP_HAS_P4_REG_INTF_2X_CLK,
2329 #endif
2330 #if defined(CLOCK_IP_HAS_P4_REG_INTF_CLK)
2331     P4_REG_INTF_CLK           = CLOCK_IP_HAS_P4_REG_INTF_CLK,
2332 #endif
2333 #if defined(CLOCK_IP_HAS_P4_SDHC_CLK)
2334     P4_SDHC_CLK               = CLOCK_IP_HAS_P4_SDHC_CLK,
2335 #endif
2336 #if defined(CLOCK_IP_HAS_P4_SDHC_IP_CLK)
2337     P4_SDHC_IP_CLK            = CLOCK_IP_HAS_P4_SDHC_IP_CLK,
2338 #endif
2339 #if defined(CLOCK_IP_HAS_P4_SDHC_IP_DIV2_CLK)
2340     P4_SDHC_IP_DIV2_CLK       = CLOCK_IP_HAS_P4_SDHC_IP_DIV2_CLK,
2341 #endif
2342 #if defined(CLOCK_IP_HAS_P5_AE_CLK)
2343     P5_AE_CLK           = CLOCK_IP_HAS_P5_AE_CLK,
2344 #endif
2345 #if defined(CLOCK_IP_HAS_P5_CANXL_PE_CLK)
2346     P5_CANXL_PE_CLK           = CLOCK_IP_HAS_P5_CANXL_PE_CLK,
2347 #endif
2348 #if defined(CLOCK_IP_HAS_P5_CANXL_CHI_CLK)
2349     P5_CANXL_CHI_CLK           = CLOCK_IP_HAS_P5_CANXL_CHI_CLK,
2350 #endif
2351 #if defined(CLOCK_IP_HAS_P5_CLKOUT_SRC_CLK)
2352     P5_CLKOUT_SRC_CLK         = CLOCK_IP_HAS_P5_CLKOUT_SRC_CLK,
2353 #endif
2354 #if defined(CLOCK_IP_HAS_P5_DSPI_CLK)
2355     P5_DSPI_CLK               = CLOCK_IP_HAS_P5_DSPI_CLK,
2356 #endif
2357 #if defined(CLOCK_IP_HAS_P5_DIPORT_CLK)
2358     P5_DIPORT_CLK               = CLOCK_IP_HAS_P5_DIPORT_CLK,
2359 #endif
2360 #if defined(CLOCK_IP_HAS_P5_LIN_BAUD_CLK)
2361     P5_LIN_BAUD_CLK           = CLOCK_IP_HAS_P5_LIN_BAUD_CLK,
2362 #endif
2363 #if defined(CLOCK_IP_HAS_P5_LIN_CLK)
2364     P5_LIN_CLK                = CLOCK_IP_HAS_P5_LIN_CLK,
2365 #endif
2366 #if defined(CLOCK_IP_HAS_P5_REG_INTF_CLK)
2367     P5_REG_INTF_CLK           = CLOCK_IP_HAS_P5_REG_INTF_CLK,
2368 #endif
2369 #if defined(CLOCK_IP_HAS_P6_REG_INTF_CLK)
2370     P6_REG_INTF_CLK           = CLOCK_IP_HAS_P6_REG_INTF_CLK,
2371 #endif
2372 #if defined(CLOCK_IP_HAS_RTU0_REG_INTF_CLK)
2373     RTU0_REG_INTF_CLK         = CLOCK_IP_HAS_RTU0_REG_INTF_CLK,
2374 #endif
2375 #if defined(CLOCK_IP_HAS_RTU0_CORE_MON1_CLK)
2376     RTU0_CORE_MON1_CLK        = CLOCK_IP_HAS_RTU0_CORE_MON1_CLK,
2377 #endif
2378 #if defined(CLOCK_IP_HAS_RTU0_CORE_MON2_CLK)
2379     RTU0_CORE_MON2_CLK        = CLOCK_IP_HAS_RTU0_CORE_MON2_CLK,
2380 #endif
2381 #if defined(CLOCK_IP_HAS_RTU0_CORE_DIV2_MON1_CLK)
2382     RTU0_CORE_DIV2_MON1_CLK   = CLOCK_IP_HAS_RTU0_CORE_DIV2_MON1_CLK,
2383 #endif
2384 #if defined(CLOCK_IP_HAS_RTU0_CORE_DIV2_MON2_CLK)
2385     RTU0_CORE_DIV2_MON2_CLK   = CLOCK_IP_HAS_RTU0_CORE_DIV2_MON2_CLK,
2386 #endif
2387 #if defined(CLOCK_IP_HAS_RTU0_CORE_DIV2_MON3_CLK)
2388     RTU0_CORE_DIV2_MON3_CLK   = CLOCK_IP_HAS_RTU0_CORE_DIV2_MON3_CLK,
2389 #endif
2390 #if defined(CLOCK_IP_HAS_RTU1_REG_INTF_CLK)
2391     RTU1_REG_INTF_CLK         = CLOCK_IP_HAS_RTU1_REG_INTF_CLK,
2392 #endif
2393 #if defined(CLOCK_IP_HAS_RTU1_CORE_MON1_CLK)
2394     RTU1_CORE_MON1_CLK        = CLOCK_IP_HAS_RTU1_CORE_MON1_CLK,
2395 #endif
2396 #if defined(CLOCK_IP_HAS_RTU1_CORE_MON2_CLK)
2397     RTU1_CORE_MON2_CLK        = CLOCK_IP_HAS_RTU1_CORE_MON2_CLK,
2398 #endif
2399 #if defined(CLOCK_IP_HAS_RTU1_CORE_DIV2_MON1_CLK)
2400     RTU1_CORE_DIV2_MON1_CLK   = CLOCK_IP_HAS_RTU1_CORE_DIV2_MON1_CLK,
2401 #endif
2402 #if defined(CLOCK_IP_HAS_RTU1_CORE_DIV2_MON2_CLK)
2403     RTU1_CORE_DIV2_MON2_CLK   = CLOCK_IP_HAS_RTU1_CORE_DIV2_MON2_CLK,
2404 #endif
2405 #if defined(CLOCK_IP_HAS_RTU1_CORE_DIV2_MON3_CLK)
2406     RTU1_CORE_DIV2_MON3_CLK   = CLOCK_IP_HAS_RTU1_CORE_DIV2_MON3_CLK,
2407 #endif
2408 #if defined(CLOCK_IP_HAS_RFE_PLL_CLK)
2409     RFE_PLL_CLK                   = CLOCK_IP_HAS_RFE_PLL_CLK,
2410 #endif
2411 #if defined(CLOCK_IP_HAS_RTC_CLK)
2412     RTC_CLK                   = CLOCK_IP_HAS_RTC_CLK,
2413 #endif
2414 #if defined(CLOCK_IP_HAS_RTC0_CLK)
2415     RTC0_CLK                  = CLOCK_IP_HAS_RTC0_CLK,
2416 #endif
2417 #if defined(CLOCK_IP_HAS_RTC_EXT_REF_CLK)
2418     RTC_EXT_REF_CLK                  = CLOCK_IP_HAS_RTC_EXT_REF_CLK,
2419 #endif
2420 #if defined(CLOCK_IP_HAS_RXLUT_CLK)
2421     RXLUT_CLK                  = CLOCK_IP_HAS_RXLUT_CLK,
2422 #endif
2423 #if defined(CLOCK_IP_HAS_SAI0_CLK)
2424     SAI0_CLK                  = CLOCK_IP_HAS_SAI0_CLK,
2425 #endif
2426 #if defined(CLOCK_IP_HAS_SAI1_CLK)
2427     SAI1_CLK                  = CLOCK_IP_HAS_SAI1_CLK,
2428 #endif
2429 #if defined(CLOCK_IP_HAS_SDHC0_CLK)
2430     SDHC0_CLK                 = CLOCK_IP_HAS_SDHC0_CLK,
2431 #endif
2432 #if defined(CLOCK_IP_HAS_SEMA42_CLK)
2433     SEMA42_CLK                = CLOCK_IP_HAS_SEMA42_CLK,
2434 #endif
2435 #if defined(CLOCK_IP_HAS_SIPI0_CLK)
2436     SIPI0_CLK                 = CLOCK_IP_HAS_SIPI0_CLK,
2437 #endif
2438 #if defined(CLOCK_IP_HAS_SIPI1_CLK)
2439     SIPI1_CLK                 = CLOCK_IP_HAS_SIPI1_CLK,
2440 #endif
2441 #if defined(CLOCK_IP_HAS_SINC_CLK)
2442     SINC_CLK                 = CLOCK_IP_HAS_SINC_CLK,
2443 #endif
2444 #if defined(CLOCK_IP_HAS_SIUL0_CLK)
2445     SIUL0_CLK                 = CLOCK_IP_HAS_SIUL0_CLK,
2446 #endif
2447 #if defined(CLOCK_IP_HAS_SIUL1_CLK)
2448     SIUL1_CLK                 = CLOCK_IP_HAS_SIUL1_CLK,
2449 #endif
2450 #if defined(CLOCK_IP_HAS_SIUL2_0_CLK)
2451     SIUL2_0_CLK               = CLOCK_IP_HAS_SIUL2_0_CLK,
2452 #endif
2453 #if defined(CLOCK_IP_HAS_SIUL2_1_CLK)
2454     SIUL2_1_CLK               = CLOCK_IP_HAS_SIUL2_1_CLK,
2455 #endif
2456 #if defined(CLOCK_IP_HAS_SIUL2_4_CLK)
2457     SIUL2_4_CLK               = CLOCK_IP_HAS_SIUL2_4_CLK,
2458 #endif
2459 #if defined(CLOCK_IP_HAS_SIUL2_5_CLK)
2460     SIUL2_5_CLK               = CLOCK_IP_HAS_SIUL2_5_CLK,
2461 #endif
2462 #if defined(CLOCK_IP_HAS_SPI_CLK)
2463     SPI_CLK                   = CLOCK_IP_HAS_SPI_CLK,
2464 #endif
2465 #if defined(CLOCK_IP_HAS_SPI0_CLK)
2466     SPI0_CLK                  = CLOCK_IP_HAS_SPI0_CLK,
2467 #endif
2468 #if defined(CLOCK_IP_HAS_SPI1_CLK)
2469     SPI1_CLK                  = CLOCK_IP_HAS_SPI1_CLK,
2470 #endif
2471 #if defined(CLOCK_IP_HAS_SPI2_CLK)
2472     SPI2_CLK                  = CLOCK_IP_HAS_SPI2_CLK,
2473 #endif
2474 #if defined(CLOCK_IP_HAS_SPI3_CLK)
2475     SPI3_CLK                  = CLOCK_IP_HAS_SPI3_CLK,
2476 #endif
2477 #if defined(CLOCK_IP_HAS_SPI4_CLK)
2478     SPI4_CLK                  = CLOCK_IP_HAS_SPI4_CLK,
2479 #endif
2480 #if defined(CLOCK_IP_HAS_SPI5_CLK)
2481     SPI5_CLK                  = CLOCK_IP_HAS_SPI5_CLK,
2482 #endif
2483 #if defined(CLOCK_IP_HAS_SPI6_CLK)
2484     SPI6_CLK                  = CLOCK_IP_HAS_SPI6_CLK,
2485 #endif
2486 #if defined(CLOCK_IP_HAS_SPI7_CLK)
2487     SPI7_CLK                  = CLOCK_IP_HAS_SPI7_CLK,
2488 #endif
2489 #if defined(CLOCK_IP_HAS_SPI8_CLK)
2490     SPI8_CLK                  = CLOCK_IP_HAS_SPI8_CLK,
2491 #endif
2492 #if defined(CLOCK_IP_HAS_SPI9_CLK)
2493     SPI9_CLK                  = CLOCK_IP_HAS_SPI9_CLK,
2494 #endif
2495 #if defined(CLOCK_IP_HAS_SRX0_CLK)
2496     SRX0_CLK                  = CLOCK_IP_HAS_SRX0_CLK,
2497 #endif
2498 #if defined(CLOCK_IP_HAS_SRX1_CLK)
2499     SRX1_CLK                  = CLOCK_IP_HAS_SRX1_CLK,
2500 #endif
2501 #if defined(CLOCK_IP_HAS_STCU0_CLK)
2502     STCU0_CLK                 = CLOCK_IP_HAS_STCU0_CLK,
2503 #endif
2504 #if defined(CLOCK_IP_HAS_STM0_CLK)
2505     STM0_CLK                  = CLOCK_IP_HAS_STM0_CLK,
2506 #endif
2507 #if defined(CLOCK_IP_HAS_STM1_CLK)
2508     STM1_CLK                  = CLOCK_IP_HAS_STM1_CLK,
2509 #endif
2510 #if defined(CLOCK_IP_HAS_STM2_CLK)
2511     STM2_CLK                  = CLOCK_IP_HAS_STM2_CLK,
2512 #endif
2513 #if defined(CLOCK_IP_HAS_STM3_CLK)
2514     STM3_CLK                  = CLOCK_IP_HAS_STM3_CLK,
2515 #endif
2516 #if defined(CLOCK_IP_HAS_STM4_CLK)
2517     STM4_CLK                  = CLOCK_IP_HAS_STM4_CLK,
2518 #endif
2519 #if defined(CLOCK_IP_HAS_STM5_CLK)
2520     STM5_CLK                  = CLOCK_IP_HAS_STM5_CLK,
2521 #endif
2522 #if defined(CLOCK_IP_HAS_STM6_CLK)
2523     STM6_CLK                  = CLOCK_IP_HAS_STM6_CLK,
2524 #endif
2525 #if defined(CLOCK_IP_HAS_STM7_CLK)
2526     STM7_CLK                  = CLOCK_IP_HAS_STM7_CLK,
2527 #endif
2528 #if defined(CLOCK_IP_HAS_STMA_CLK)
2529     STMA_CLK                  = CLOCK_IP_HAS_STMA_CLK,
2530 #endif
2531 #if defined(CLOCK_IP_HAS_STMB_CLK)
2532     STMB_CLK                  = CLOCK_IP_HAS_STMB_CLK,
2533 #endif
2534 #if defined(CLOCK_IP_HAS_STMC_CLK)
2535     STMC_CLK                  = CLOCK_IP_HAS_STMC_CLK,
2536 #endif
2537 #if defined(CLOCK_IP_HAS_STMD_CLK)
2538     STMD_CLK                  = CLOCK_IP_HAS_STMD_CLK,
2539 #endif
2540 #if defined(CLOCK_IP_HAS_SWG_CLK)
2541     SWG_CLK                  = CLOCK_IP_HAS_SWG_CLK,
2542 #endif
2543 #if defined(CLOCK_IP_HAS_SWG0_CLK)
2544     SWG0_CLK                  = CLOCK_IP_HAS_SWG0_CLK,
2545 #endif
2546 #if defined(CLOCK_IP_HAS_SWG1_CLK)
2547     SWG1_CLK                  = CLOCK_IP_HAS_SWG1_CLK,
2548 #endif
2549 #if defined(CLOCK_IP_HAS_SWG_PAD_CLK)
2550     SWG_PAD_CLK                  = CLOCK_IP_HAS_SWG_PAD_CLK,
2551 #endif
2552 #if defined(CLOCK_IP_HAS_SWT0_CLK)
2553     SWT0_CLK                  = CLOCK_IP_HAS_SWT0_CLK,
2554 #endif
2555 #if defined(CLOCK_IP_HAS_SWT1_CLK)
2556     SWT1_CLK                  = CLOCK_IP_HAS_SWT1_CLK,
2557 #endif
2558 #if defined(CLOCK_IP_HAS_SWT2_CLK)
2559     SWT2_CLK                  = CLOCK_IP_HAS_SWT2_CLK,
2560 #endif
2561 #if defined(CLOCK_IP_HAS_SWT3_CLK)
2562     SWT3_CLK                  = CLOCK_IP_HAS_SWT3_CLK,
2563 #endif
2564 #if defined(CLOCK_IP_HAS_SWT4_CLK)
2565     SWT4_CLK                  = CLOCK_IP_HAS_SWT4_CLK,
2566 #endif
2567 #if defined(CLOCK_IP_HAS_SWT5_CLK)
2568     SWT5_CLK                  = CLOCK_IP_HAS_SWT5_CLK,
2569 #endif
2570 #if defined(CLOCK_IP_HAS_SWT6_CLK)
2571     SWT6_CLK                  = CLOCK_IP_HAS_SWT6_CLK,
2572 #endif
2573 #if defined(CLOCK_IP_HAS_TCM_CM7_0_CLK)
2574     TCM_CM7_0_CLK             = CLOCK_IP_HAS_TCM_CM7_0_CLK,
2575 #endif
2576 #if defined(CLOCK_IP_HAS_TCM_CM7_1_CLK)
2577     TCM_CM7_1_CLK             = CLOCK_IP_HAS_TCM_CM7_1_CLK,
2578 #endif
2579 #if defined(CLOCK_IP_HAS_TEMPSENSE_CLK)
2580     TEMPSENSE_CLK             = CLOCK_IP_HAS_TEMPSENSE_CLK,
2581 #endif
2582 #if defined(CLOCK_IP_HAS_TIMER_CLK)
2583     TIMER_CLK             = CLOCK_IP_HAS_TIMER_CLK,
2584 #endif
2585 #if defined(CLOCK_IP_HAS_ENET0_TIME_CLK)
2586     ENET0_TIME_CLK            = CLOCK_IP_HAS_ENET0_TIME_CLK,
2587 #endif
2588 #if defined(CLOCK_IP_HAS_TRACE_CLK)
2589     TRACE_CLK                 = CLOCK_IP_HAS_TRACE_CLK,
2590 #endif
2591 #if defined(CLOCK_IP_HAS_TRGMUX0_CLK)
2592     TRGMUX0_CLK               = CLOCK_IP_HAS_TRGMUX0_CLK,
2593 #endif
2594 #if defined(CLOCK_IP_HAS_TRGMUX1_CLK)
2595     TRGMUX1_CLK               = CLOCK_IP_HAS_TRGMUX1_CLK,
2596 #endif
2597 #if defined(CLOCK_IP_HAS_TSENSE0_CLK)
2598     TSENSE0_CLK               = CLOCK_IP_HAS_TSENSE0_CLK,
2599 #endif
2600 #if defined(CLOCK_IP_HAS_SDHC_CLK)
2601     SDHC_CLK                  = CLOCK_IP_HAS_SDHC_CLK,
2602 #endif
2603 #if defined(CLOCK_IP_HAS_USDHC_CLK)
2604     USDHC_CLK                 = CLOCK_IP_HAS_USDHC_CLK,
2605 #endif
2606 #if defined(CLOCK_IP_HAS_USDHC0_CLK)
2607     USDHC0_CLK                = CLOCK_IP_HAS_USDHC0_CLK,
2608 #endif
2609 #if defined(CLOCK_IP_HAS_WKPU0_CLK)
2610     WKPU0_CLK                 = CLOCK_IP_HAS_WKPU0_CLK,
2611 #endif
2612 #if defined(CLOCK_IP_HAS_XBAR_DIV3_FAIL_CLK)
2613     XBAR_DIV3_FAIL_CLK        = CLOCK_IP_HAS_XBAR_DIV3_FAIL_CLK,
2614 #endif
2615 #if defined(CLOCK_IP_HAS_XBAR_MIPICSI201_CLK)
2616     XBAR_MIPICSI201_CLK       = CLOCK_IP_HAS_XBAR_MIPICSI201_CLK,
2617 #endif
2618 #if defined(CLOCK_IP_HAS_XBAR_MIPICSI223_CLK)
2619     XBAR_MIPICSI223_CLK       = CLOCK_IP_HAS_XBAR_MIPICSI223_CLK,
2620 #endif
2621 #if defined(CLOCK_IP_HAS_BBE32EP_DSP_CLK)
2622     BBE32EP_DSP_CLK           = CLOCK_IP_HAS_BBE32EP_DSP_CLK,
2623 #endif
2624 #if defined(CLOCK_IP_HAS_CAN_CHI_CLK)
2625     CAN_CHI_CLK               = CLOCK_IP_HAS_CAN_CHI_CLK,
2626 #endif
2627 #if defined(CLOCK_IP_HAS_CAN_TS_CLK)
2628     CAN_TS_CLK                = CLOCK_IP_HAS_CAN_TS_CLK,
2629 #endif
2630 #if defined(CLOCK_IP_HAS_CAN0_CLK)
2631     CAN0_CLK                  = CLOCK_IP_HAS_CAN0_CLK,
2632 #endif
2633 #if defined(CLOCK_IP_HAS_CAN1_CLK)
2634     CAN1_CLK                  = CLOCK_IP_HAS_CAN1_CLK,
2635 #endif
2636 #if defined(CLOCK_IP_HAS_CRC_CLK)
2637     CRC_CLK                   = CLOCK_IP_HAS_CRC_CLK,
2638 #endif
2639 #if defined(CLOCK_IP_HAS_CSI_CFG_CLK)
2640     CSI_CLK                   = CLOCK_IP_HAS_CSI_CLK,
2641 #endif
2642 #if defined(CLOCK_IP_HAS_CSI_CFG_CLK)
2643     CSI_CFG_CLK               = CLOCK_IP_HAS_CSI_CFG_CLK,
2644 #endif
2645 #if defined(CLOCK_IP_HAS_CSI_IPS_CLK)
2646     CSI_IPS_CLK               = CLOCK_IP_HAS_CSI_IPS_CLK,
2647 #endif
2648 #if defined(CLOCK_IP_HAS_CSI_TXCLK_CLK)
2649     CSI_TXCLK_CLK             = CLOCK_IP_HAS_CSI_TXCLK_CLK,
2650 #endif
2651 #if defined(CLOCK_IP_HAS_CTE_CLK)
2652     CTE_CLK                   = CLOCK_IP_HAS_CTE_CLK,
2653 #endif
2654 #if defined(CLOCK_IP_HAS_CTU_CLK)
2655     CTU_CLK                   = CLOCK_IP_HAS_CTU_CLK,
2656 #endif
2657 #if defined(CLOCK_IP_HAS_CTU_IPS_CLK)
2658     CTU_IPS_CLK               = CLOCK_IP_HAS_CTU_IPS_CLK,
2659 #endif
2660 #if defined(CLOCK_IP_HAS_DMA_CLK)
2661     DMA_CLK                   = CLOCK_IP_HAS_DMA_CLK,
2662 #endif
2663 #if defined(CLOCK_IP_HAS_DMA_CRC_CLK)
2664     DMA_CRC_CLK               = CLOCK_IP_HAS_DMA_CRC_CLK,
2665 #endif
2666 #if defined(CLOCK_IP_HAS_DMA_TCD_CLK)
2667     DMA_TCD_CLK               = CLOCK_IP_HAS_DMA_TCD_CLK,
2668 #endif
2669 #if defined(CLOCK_IP_HAS_EIM_AP1_CLK)
2670     EIM_AP1_CLK               = CLOCK_IP_HAS_EIM_AP1_CLK,
2671 #endif
2672 #if defined(CLOCK_IP_HAS_EIM_CM70_CLK)
2673     EIM_CM70_CLK              = CLOCK_IP_HAS_EIM_CM70_CLK,
2674 #endif
2675 #if defined(CLOCK_IP_HAS_EIM_CM71_CLK)
2676     EIM_CM71_CLK              = CLOCK_IP_HAS_EIM_CM71_CLK,
2677 #endif
2678 #if defined(CLOCK_IP_HAS_EIM_DSP_CLK)
2679     EIM_DSP_CLK               = CLOCK_IP_HAS_EIM_DSP_CLK,
2680 #endif
2681 #if defined(CLOCK_IP_HAS_EIM_RT0_CLK)
2682     EIM_RT0_CLK               = CLOCK_IP_HAS_EIM_RT0_CLK,
2683 #endif
2684 #if defined(CLOCK_IP_HAS_EIM_RT2_CLK)
2685     EIM_RT2_CLK               = CLOCK_IP_HAS_EIM_RT2_CLK,
2686 #endif
2687 #if defined(CLOCK_IP_HAS_ERM_AP1_CLK)
2688     ERM_AP1_CLK               = CLOCK_IP_HAS_ERM_AP1_CLK,
2689 #endif
2690 #if defined(CLOCK_IP_HAS_ERM_RT0_CLK)
2691     ERM_RT0_CLK               = CLOCK_IP_HAS_ERM_RT0_CLK,
2692 #endif
2693 #if defined(CLOCK_IP_HAS_ERM_RT1_CLK)
2694     ERM_RT1_CLK               = CLOCK_IP_HAS_ERM_RT1_CLK,
2695 #endif
2696 #if defined(CLOCK_IP_HAS_ERM_RT2_CLK)
2697     ERM_RT2_CLK               = CLOCK_IP_HAS_ERM_RT2_CLK,
2698 #endif
2699 #if defined(CLOCK_IP_HAS_FCCU_IPS_CLK)
2700     FCCU_IPS_CLK              = CLOCK_IP_HAS_FCCU_IPS_CLK,
2701 #endif
2702 #if defined(CLOCK_IP_HAS_SYS_M7_0_CLK)
2703     SYS_M7_0_CLK              = CLOCK_IP_HAS_SYS_M7_0_CLK,
2704 #endif
2705 #if defined(CLOCK_IP_HAS_SYS_M7_1_CLK)
2706     SYS_M7_1_CLK              = CLOCK_IP_HAS_SYS_M7_1_CLK,
2707 #endif
2708 #if defined(CLOCK_IP_HAS_SYS_HSE_CLK)
2709     SYS_HSE_CLK           = CLOCK_IP_HAS_SYS_HSE_CLK,
2710 #endif
2711 #if defined(CLOCK_IP_HAS_MC_CLK)
2712     MC_CLK                    = CLOCK_IP_HAS_MC_CLK,
2713 #endif
2714 #if defined(CLOCK_IP_HAS_MIPICSI2_0_CLK)
2715     MIPICSI2_0_CLK            = CLOCK_IP_HAS_MIPICSI2_0_CLK,
2716 #endif
2717 #if defined(CLOCK_IP_HAS_MIPICSI2_1_CLK)
2718     MIPICSI2_1_CLK            = CLOCK_IP_HAS_MIPICSI2_1_CLK,
2719 #endif
2720 #if defined(CLOCK_IP_HAS_MSCDSPI_CLK)
2721     MSCDSPI_CLK            = CLOCK_IP_HAS_MSCDSPI_CLK,
2722 #endif
2723 #if defined(CLOCK_IP_HAS_MSCLIN_CLK)
2724     MSCLIN_CLK            = CLOCK_IP_HAS_MSCLIN_CLK,
2725 #endif
2726 #if defined(CLOCK_IP_HAS_NOC_TRACE_CLK)
2727     NOC_TRACE_CLK             = CLOCK_IP_HAS_NOC_TRACE_CLK,
2728 #endif
2729 #if defined(CLOCK_IP_HAS_NANO_CLK)
2730     NANO_CLK             = CLOCK_IP_HAS_NANO_CLK,
2731 #endif
2732 #if defined(CLOCK_IP_HAS_SAR_ADC_CLK)
2733     SAR_ADC_CLK               = CLOCK_IP_HAS_SAR_ADC_CLK,
2734 #endif
2735 #if defined(CLOCK_IP_HAS_SDA_AP_CLK)
2736     SDA_AP_CLK               = CLOCK_IP_HAS_SDA_AP_CLK,
2737 #endif
2738 #if defined(CLOCK_IP_HAS_SDADC0_CLK)
2739     SDADC0_CLK               = CLOCK_IP_HAS_SDADC0_CLK,
2740 #endif
2741 #if defined(CLOCK_IP_HAS_SDADC1_CLK)
2742     SDADC1_CLK               = CLOCK_IP_HAS_SDADC1_CLK,
2743 #endif
2744 #if defined(CLOCK_IP_HAS_SDADC2_CLK)
2745     SDADC2_CLK               = CLOCK_IP_HAS_SDADC2_CLK,
2746 #endif
2747 #if defined(CLOCK_IP_HAS_SDADC3_CLK)
2748     SDADC3_CLK               = CLOCK_IP_HAS_SDADC3_CLK,
2749 #endif
2750 #if defined(CLOCK_IP_HAS_SEMA42_1_CLK)
2751     SEMA42_1_CLK              = CLOCK_IP_HAS_SEMA42_1_CLK,
2752 #endif
2753 #if defined(CLOCK_IP_HAS_SIUL2_CLK)
2754     SIUL2_CLK                 = CLOCK_IP_HAS_SIUL2_CLK,
2755 #endif
2756 #if defined(CLOCK_IP_HAS_SPT_CLK)
2757     SPT_CLK                   = CLOCK_IP_HAS_SPT_CLK,
2758 #endif
2759 #if defined(CLOCK_IP_HAS_SRAM_CLK)
2760     SRAM_CLK                  = CLOCK_IP_HAS_SRAM_CLK,
2761 #endif
2762 #if defined(CLOCK_IP_HAS_STCU_CLK)
2763     STCU_CLK                  = CLOCK_IP_HAS_STCU_CLK,
2764 #endif
2765 #if defined(CLOCK_IP_HAS_TMU_CLK)
2766     TMU_CLK                   = CLOCK_IP_HAS_TMU_CLK,
2767 #endif
2768 #if defined(CLOCK_IP_HAS_WKPU_CLK)
2769     WKPU_CLK                  = CLOCK_IP_HAS_WKPU_CLK,
2770 #endif
2771 #if defined(CLOCK_IP_HAS_XRDC0_CLK)
2772     XRDC0_CLK                 = CLOCK_IP_HAS_XRDC0_CLK,
2773 #endif
2774 #if defined(CLOCK_IP_HAS_XRDC1_CLK)
2775     XRDC1_CLK                 = CLOCK_IP_HAS_XRDC1_CLK,
2776 #endif
2777 #if defined(CLOCK_IP_HAS_CORE_PLL_REFCLKOUT)
2778     CORE_PLL_REFCLKOUT                 = CLOCK_IP_HAS_CORE_PLL_REFCLKOUT,
2779 #endif
2780 #if defined(CLOCK_IP_HAS_CORE_PLL_FBCLKOUT)
2781     CORE_PLL_FBCLKOUT                 = CLOCK_IP_HAS_CORE_PLL_FBCLKOUT,
2782 #endif
2783 #if defined(CLOCK_IP_HAS_PERIPH_PLL_REFCLKOUT)
2784     PERIPH_PLL_REFCLKOUT                 = CLOCK_IP_HAS_PERIPH_PLL_REFCLKOUT,
2785 #endif
2786 #if defined(CLOCK_IP_HAS_PERIPH_PLL_FBCLKOUT)
2787     PERIPH_PLL_FBCLKOUT                 = CLOCK_IP_HAS_PERIPH_PLL_FBCLKOUT,
2788 #endif
2789 #if defined(CLOCK_IP_HAS_TCLK_CLK)
2790     TCLK_CLK                  = CLOCK_IP_HAS_TCLK_CLK,
2791 #endif
2792 #if defined(CLOCK_IP_HAS_TCK_CLK)
2793     TCK_CLK                  = CLOCK_IP_HAS_TCK_CLK,
2794 #endif
2795 #if defined(CLOCK_IP_HAS_AES_CLK)
2796     AES_CLK                  = CLOCK_IP_HAS_AES_CLK,
2797 #endif
2798 #if defined(CLOCK_IP_HAS_AES_ACCEL_CLK)
2799     AES_ACCEL_CLK                  = CLOCK_IP_HAS_AES_ACCEL_CLK,
2800 #endif
2801 #if defined(CLOCK_IP_HAS_AES_APP0_CLK)
2802     AES_APP0_CLK                  = CLOCK_IP_HAS_AES_APP0_CLK,
2803 #endif
2804 #if defined(CLOCK_IP_HAS_AES_APP1_CLK)
2805     AES_APP1_CLK                  = CLOCK_IP_HAS_AES_APP1_CLK,
2806 #endif
2807 #if defined(CLOCK_IP_HAS_AES_APP2_CLK)
2808     AES_APP2_CLK                  = CLOCK_IP_HAS_AES_APP2_CLK,
2809 #endif
2810 #if defined(CLOCK_IP_HAS_AES_APP3_CLK)
2811     AES_APP3_CLK                  = CLOCK_IP_HAS_AES_APP3_CLK,
2812 #endif
2813 #if defined(CLOCK_IP_HAS_AES_APP4_CLK)
2814     AES_APP4_CLK                  = CLOCK_IP_HAS_AES_APP4_CLK,
2815 #endif
2816 #if defined(CLOCK_IP_HAS_AES_APP5_CLK)
2817     AES_APP5_CLK                  = CLOCK_IP_HAS_AES_APP5_CLK,
2818 #endif
2819 #if defined(CLOCK_IP_HAS_AES_APP6_CLK)
2820     AES_APP6_CLK                  = CLOCK_IP_HAS_AES_APP6_CLK,
2821 #endif
2822 #if defined(CLOCK_IP_HAS_AES_APP7_CLK)
2823     AES_APP7_CLK                  = CLOCK_IP_HAS_AES_APP7_CLK,
2824 #endif
2825 #if defined(CLOCK_IP_HAS_DSPI_SCK_TST_CLK)
2826     DSPI_SCK_TST_CLK          = CLOCK_IP_HAS_DSPI_SCK_TST_CLK,
2827 #endif
2828 RESERVED_CLK                  = CLOCK_IP_FEATURE_NAMES_NO,  /* Invalid clock name */
2829 } Clock_Ip_NameType;
2830 
2831 /** @brief Clock ip status return codes. */
2832 typedef enum
2833 {
2834     CLOCK_IP_SUCCESS                            = 0x00U,    /**< Clock tree was initialized successfully. */
2835     CLOCK_IP_ERROR                              = 0x01U,    /**< One of the elements timeout, clock tree couldn't be initialized. */
2836 
2837 } Clock_Ip_StatusType;
2838 
2839 /** @brief Clock ip pll status return codes. */
2840 typedef enum
2841 {
2842     CLOCK_IP_PLL_LOCKED                         = 0x00U,    /**< PLL is locked */
2843     CLOCK_IP_PLL_UNLOCKED                       = 0x01U,    /**< PLL is unlocked */
2844     CLOCK_IP_PLL_STATUS_UNDEFINED               = 0x02U,    /**< PLL Status is unknown */
2845 
2846 } Clock_Ip_PllStatusType;
2847 
2848 /** @brief Clock ip cmu status return codes. */
2849 typedef enum
2850 {
2851     CLOCK_IP_CMU_IN_RANGE                        = 0x00U,    /**< Frequency is in range */
2852     CLOCK_IP_CMU_HIGH_FREQ                       = 0x01U,    /**< Frequency is higher than high limit */
2853     CLOCK_IP_CMU_LOW_FREQ                        = 0x02U,    /**< Frequency is lower than low limit */
2854     CLOCK_IP_CMU_STATUS_UNDEFINED                = 0X03U,    /**< CMU status is unknown */
2855 } Clock_Ip_CmuStatusType;
2856 
2857 /** @brief Clock ip report error types. */
2858 typedef enum
2859 {
2860     CLOCK_IP_CMU_ERROR                          = 0U,   /**< @brief Cmu Fccu notification. */
2861     CLOCK_IP_REPORT_TIMEOUT_ERROR               = 1U,   /**< @brief Report Timeout Error. */
2862     CLOCK_IP_REPORT_FXOSC_CONFIGURATION_ERROR   = 2U,   /**< @brief Report Fxosc Configuration Error. */
2863     CLOCK_IP_REPORT_CLOCK_MUX_SWITCH_ERROR      = 3U,   /**< @brief Report Clock Mux Switch Error. */
2864     CLOCK_IP_RAM_MEMORY_CONFIG_ENTRY            = 4U,   /**< @brief Ram config entry point. */
2865     CLOCK_IP_RAM_MEMORY_CONFIG_EXIT             = 5U,   /**< @brief Ram config exit point. */
2866     CLOCK_IP_FLASH_MEMORY_CONFIG_ENTRY          = 6U,   /**< @brief Flash config entry point. */
2867     CLOCK_IP_FLASH_MEMORY_CONFIG_EXIT           = 7U,   /**< @brief Flash config exit point. */
2868     CLOCK_IP_ACTIVE                             = 8U,   /**< @brief Report Clock Active. */
2869     CLOCK_IP_INACTIVE                           = 9U,   /**< @brief Report Clock Inactive. */
2870     CLOCK_IP_REPORT_WRITE_PROTECTION_ERROR      = 10U,  /**< @brief Report Write Protection Error. */
2871 } Clock_Ip_NotificationType;
2872 
2873 /** @brief Clock ip trigger divider type. */
2874 typedef enum
2875 {
2876     IMMEDIATE_DIVIDER_UPDATE,          /**< @brief Immediate divider update. */
2877     COMMON_TRIGGER_DIVIDER_UPDATE,     /**< @brief Common trigger divider update.  */
2878 
2879 } Clock_Ip_TriggerDividerType;
2880 
2881 /*==================================================================================================
2882 *                                  STRUCTURES AND OTHER TYPEDEFS
2883 ==================================================================================================*/
2884 /*!
2885  * @brief Clock notifications callback type.
2886  * Implements ClockNotificationsCallbackType_Class
2887  */
2888 typedef void (*Clock_Ip_NotificationsCallbackType)(Clock_Ip_NotificationType Error, Clock_Ip_NameType ClockName);
2889 
2890 /*!
2891  * @brief Register value structure.
2892  * Implements Clock_Ip_RegisterValueType_Class
2893  */
2894 typedef struct
2895 {
2896     uint32*                       RegisterAddr;    /**< Register address. */
2897     uint32                        RegisterData;    /**< Register value. */
2898 
2899 } Clock_Ip_RegisterValueType;
2900 
2901 /*!
2902  * @brief Register index structure.
2903  * Implements Clock_Ip_RegisterIndexType_Class
2904  */
2905 typedef struct
2906 {
2907     uint16                        StartIndex;            /**< Start index in register array. */
2908     uint16                        EndIndex;              /**< End index in register array. */
2909 
2910 } Clock_Ip_RegisterIndexType;
2911 
2912 
2913 
2914 /*!
2915  * @brief Clock Source IRCOSC configuration structure.
2916  * Implements Clock_Ip_IrcoscConfigType_Class
2917  */
2918 typedef struct
2919 {
2920     Clock_Ip_NameType             Name;               /**< Clock name associated to ircosc */
2921     uint16                        Enable;             /**< Enable ircosc. */
2922 
2923     uint8                         Regulator;          /**< Enable regulator. */
2924     uint8                         Range;              /**< Ircosc range. */
2925     uint8                         LowPowerModeEnable; /**< Ircosc enable in VLP mode */
2926     uint8                         StopModeEnable;     /**< Ircosc enable in STOP mode */
2927 
2928 } Clock_Ip_IrcoscConfigType;
2929 
2930 /*!
2931  * @brief CGM Clock Source XOSC configuration structure.
2932  * Implements Clock_Ip_XoscConfigType_Class
2933  */
2934 typedef struct
2935 {
2936     Clock_Ip_NameType       Name;                   /**< Clock name associated to xosc */
2937 
2938     uint32                  Freq;                   /**< External oscillator frequency. */
2939 
2940     uint16                  Enable;                 /**< Enable xosc. */
2941 
2942     uint16                  StartupDelay;           /**< Startup stabilization time. */
2943     uint8                   BypassOption;           /**< XOSC bypass option */
2944     uint8                   CompEn;                 /**< Comparator enable */
2945     uint8                   TransConductance;       /**< Crystal overdrive protection */
2946 
2947     uint8                   Gain;                   /**< Gain value */
2948     uint8                   Monitor;                /**< Monitor type */
2949     uint8                   AutoLevelController;    /**< Automatic level controller */
2950 
2951 } Clock_Ip_XoscConfigType;
2952 
2953 /*!
2954  * @brief CGM Clock Source PLLDIG configuration structure.
2955  * Implements Clock_Ip_PllConfigType_Class
2956  */
2957 typedef struct
2958 {
2959     Clock_Ip_NameType        Name;                           /**< Clock name associated to pll */
2960 
2961     uint16                   Enable;                         /**< Enable pll. */
2962 
2963     Clock_Ip_NameType        InputReference;                 /**< Input reference. */
2964 
2965     uint8                    Bypass;                         /**< Bypass pll. */
2966 
2967     uint8                    Predivider;                     /**< Input clock predivider. */
2968     uint16                   Multiplier;                     /**< Clock multiplier.  */
2969     uint8                    Postdivider;                    /**< Clock postidivder.*/
2970 
2971     uint16                   NumeratorFracLoopDiv;           /**< Numerator of fractional loop division factor (MFN) */
2972     uint8                    MulFactorDiv;                   /**< Multiplication factor divider (MFD) */
2973 
2974     uint8                    FrequencyModulationBypass;      /**< Enable/disable modulation */
2975     uint8                    ModulationType;                 /**< Modulation type */
2976     uint16                   ModulationPeriod;               /**< Stepsize - modulation period */
2977     uint16                   IncrementStep;                  /**< Stepno  - step no */
2978 
2979     uint8                    SigmaDelta;                     /**< Sigma Delta Modulation Enable */
2980 
2981     uint8                    DitherControl;                  /**< Dither control enable */
2982     uint8                    DitherControlValue;             /**< Dither control value */
2983 
2984     uint8                    Monitor;                        /**< Monitor type */
2985 
2986     uint16                   Dividers[3U];                   /**< Dividers values */
2987 
2988 } Clock_Ip_PllConfigType;
2989 
2990 /*!
2991  * @brief Clock selector configuration structure.
2992  * Implements Clock_Ip_SelectorConfigType_Class
2993  */
2994 typedef struct
2995 {
2996     Clock_Ip_NameType               Name;                           /**< Clock name associated to selector */
2997     Clock_Ip_NameType               Value;                          /**< Name of the selected input source */
2998 
2999 } Clock_Ip_SelectorConfigType;
3000 
3001 /*!
3002  * @brief Clock divider configuration structure.
3003  * Implements Clock_Ip_DividerConfigType_Class
3004  */
3005 typedef struct
3006 {
3007     Clock_Ip_NameType         Name;                           /**< Clock name associated to divider. */
3008     uint32                    Value;                          /**< Divider value - if value is zero then divider is disabled. */
3009     uint8                     Options[1U];                    /**< Option divider value - this value depend hardware information. */
3010 } Clock_Ip_DividerConfigType;
3011 
3012 /*!
3013  * @brief Clock divider trigger configuration structure.
3014  * Implements Clock_Ip_DividerTriggerConfigType_Class
3015  */
3016 typedef struct
3017 {
3018     Clock_Ip_NameType             Name;                           /**< Clock name associated to divider for which trigger is configured. */
3019     Clock_Ip_TriggerDividerType   TriggerType;                    /**< Trigger value - if value is zero then divider is updated immediately, divider is not triggered. */
3020     Clock_Ip_NameType             Source;                         /**< Clock name of the common input source of all dividers from the same group that support a common update */
3021 
3022 } Clock_Ip_DividerTriggerConfigType;
3023 
3024 
3025 
3026 /*!
3027  * @brief Clock fractional divider configuration structure.
3028  * Implements Clock_Ip_FracDivConfigType_Class
3029  */
3030 typedef struct
3031 {
3032     Clock_Ip_NameType         Name;                           /**< Clock name associated to fractional divider. */
3033     uint8                     Enable;                         /**< Enable control for port n */
3034     uint32                    Value[2U];                      /**< Fractional dividers */
3035 
3036 } Clock_Ip_FracDivConfigType;
3037 
3038 /*!
3039  * @brief Clock external clock configuration structure.
3040  * Implements Clock_Ip_ExtClkConfigType_Class
3041  */
3042 typedef struct
3043 {
3044     Clock_Ip_NameType         Name;                           /**< Clock name of the external clock. */
3045     uint32                    Value;                          /**< Enable value - if value is zero then clock is gated, otherwise is enabled in different modes. */
3046 
3047 } Clock_Ip_ExtClkConfigType;
3048 
3049 /*!
3050  * @brief Clock Source PCFS configuration structure.
3051  * Implements Clock_Ip_PcfsConfigType_Class
3052  */
3053 typedef struct
3054 {
3055     Clock_Ip_NameType             Name;                        /**<  Clock source from which ramp-down and to which ramp-up are processed. */
3056     uint32                        MaxAllowableIDDchange;       /**<  Maximum variation of current per time (mA/microsec) -  max allowable IDD change is determined by the user's power supply design. */
3057     uint32                        StepDuration;                /**<  Step duration of each PCFS step */
3058     Clock_Ip_NameType             SelectorName;                /**<  Name of the selector that supports PCFS and name is one the inputs that can be selected */
3059     uint32                        ClockSourceFrequency;        /**<  Frequency of the clock source from which ramp-down and to which ramp-up are processed. */
3060 
3061 } Clock_Ip_PcfsConfigType;
3062 
3063 /*!
3064  * @brief Clock gate clock configuration structure.
3065  * Implements Clock_Ip_GateConfigType_Class
3066  */
3067 typedef struct
3068 {
3069     Clock_Ip_NameType         Name;                           /**< Clock name associated to clock gate. */
3070     uint16                    Enable;                         /**< Enable or disable clock */
3071 
3072 } Clock_Ip_GateConfigType;
3073 
3074 /*!
3075  * @brief Clock cmu configuration structure.
3076  * Implements Clock_Ip_CmuConfigType_Class
3077  */
3078 typedef struct
3079 {
3080     Clock_Ip_NameType               Name;                           /**< Clock name associated to clock monitor. */
3081     uint8                           Enable;                         /**< Enable/disable clock monitor */
3082     uint32                          Interrupt;                      /**< Enable/disable interrupt */
3083     uint32                          MonitoredClockFrequency;        /**< Frequency of the clock source from which ramp-down and to which ramp-up are processed. */
3084     Clock_Ip_RegisterIndexType      Indexes;                        /**< Register index if register value optimization is enabled. */
3085 } Clock_Ip_CmuConfigType;
3086 
3087 /*!
3088  * @brief Configured frequency structure.
3089  * Implements Clock_Ip_ConfiguredFrequencyType_Class
3090  */
3091 typedef struct
3092 {
3093     Clock_Ip_NameType               Name;                           /**< Clock name of the configured frequency value */
3094     uint32                          ConfiguredFrequencyValue;       /**< Configured frequency value */
3095 } Clock_Ip_ConfiguredFrequencyType;
3096 
3097 /*!
3098  * @brief Clock configuration structure.
3099  * Implements Clock_Ip_ClockConfigType_Class
3100  */
3101 typedef struct
3102 {
3103     uint32                             ClkConfigId;                                     /**< The ID for Clock configuration */
3104 
3105     const Clock_Ip_RegisterValueType         (*RegValues)[];                                  /**< Pointer to register values array */
3106 
3107     uint8   IrcoscsCount;                                                               /**< IRCOSCs count */
3108     uint8   XoscsCount;                                                                 /**< XOSCs count */
3109     uint8   PllsCount;                                                                  /**< PLLs count */
3110     uint8   SelectorsCount;                                                             /**< Selectors count */
3111     uint8   DividersCount;                                                              /**< Dividers count */
3112     uint8   DividerTriggersCount;                                                       /**< Divider triggers count */
3113     uint8   FracDivsCount;                                                              /**< Fractional dividers count */
3114     uint8   ExtClksCount;                                                               /**< External clocks count */
3115     uint8   GatesCount;                                                                 /**< Clock gates count */
3116     uint8   PcfsCount;                                                                  /**< Clock pcfs count */
3117     uint8   CmusCount;                                                                  /**< Clock cmus count */
3118     uint8   ConfigureFrequenciesCount;                                                  /**< Configured frequencies count */
3119 
3120     const Clock_Ip_IrcoscConfigType          (*Ircoscs)[];                              /**< IRCOSCs */
3121     const Clock_Ip_XoscConfigType            (*Xoscs)[];                                /**< XOSCs */
3122     const Clock_Ip_PllConfigType             (*Plls)[];                                 /**< PLLs */
3123     const Clock_Ip_SelectorConfigType        (*Selectors)[];                            /**< Selectors */
3124     const Clock_Ip_DividerConfigType         (*Dividers)[];                             /**< Dividers */
3125     const Clock_Ip_DividerTriggerConfigType  (*DividerTriggers)[];                      /**< Divider triggers */
3126     const Clock_Ip_FracDivConfigType         (*FracDivs)[];                             /**< Fractional dividers */
3127     const Clock_Ip_ExtClkConfigType          (*ExtClks)[];                              /**< External clocks */
3128     const Clock_Ip_GateConfigType            (*Gates)[];                                /**< Clock gates */
3129     const Clock_Ip_PcfsConfigType            (*Pcfs)[];                                 /**< Progressive clock switching */
3130     const Clock_Ip_CmuConfigType             (*Cmus)[];                                 /**< Clock cmus */
3131     const Clock_Ip_ConfiguredFrequencyType   (*ConfiguredFrequencies)[];                /**< Configured frequency values */
3132 
3133 } Clock_Ip_ClockConfigType;
3134 
3135 /*==================================================================================================
3136 *                                  GLOBAL VARIABLE DECLARATIONS
3137 ==================================================================================================*/
3138 
3139 /*==================================================================================================
3140 *                                       FUNCTION PROTOTYPES
3141 ==================================================================================================*/
3142 
3143 /*==================================================================================================
3144                                      CONFIGURATION STRUCTURE
3145 ==================================================================================================*/
3146 
3147 
3148 #if defined(__cplusplus)
3149 }
3150 #endif /* __cplusplus*/
3151 
3152 /*! @}*/
3153 
3154 #endif /* CLOCK_IP_TYPES_H */
3155 
3156 
3157