Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
imx_ccm_rev2.h
Go to the documentation of this file.
1
/*
2
* Copyright 2021,2024 NXP
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_IMX_CCM_REV2_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_IMX_CCM_REV2_H_
9
10
/* Peripheral:
11
* range: 0 - 0xFF, starting from 0
12
*
13
* Instance:
14
* range: 0 - 0xFF, starting from 0
15
*/
16
#define IMX_CCM_PERIPHERAL_MASK 0xFF00UL
17
#define IMX_CCM_INSTANCE_MASK 0xFFUL
18
19
#define IMX_CCM_CORESYS_CLK 0
20
#define IMX_CCM_PLATFORM_CLK 0x1UL
21
#define IMX_CCM_BUS_CLK 0x2UL
22
23
/* LPUART */
24
#define IMX_CCM_LPUART_CLK 0x300UL
25
#define IMX_CCM_LPUART1_CLK 0x300UL
26
#define IMX_CCM_LPUART2_CLK 0x301UL
27
#define IMX_CCM_LPUART3_CLK 0x302UL
28
#define IMX_CCM_LPUART4_CLK 0x303UL
29
#define IMX_CCM_LPUART5_CLK 0x304UL
30
#define IMX_CCM_LPUART6_CLK 0x305UL
31
#define IMX_CCM_LPUART7_CLK 0x306UL
32
#define IMX_CCM_LPUART8_CLK 0x307UL
33
#define IMX_CCM_LPUART9_CLK 0x308UL
34
#define IMX_CCM_LPUART10_CLK 0x309UL
35
#define IMX_CCM_LPUART11_CLK 0x30aUL
36
#define IMX_CCM_LPUART12_CLK 0x30bUL
37
38
/* LPI2C */
39
#define IMX_CCM_LPI2C_CLK 0x400UL
40
#define IMX_CCM_LPI2C1_CLK 0x400UL
41
#define IMX_CCM_LPI2C2_CLK 0x401UL
42
#define IMX_CCM_LPI2C3_CLK 0x402UL
43
#define IMX_CCM_LPI2C4_CLK 0x403UL
44
#define IMX_CCM_LPI2C5_CLK 0x404UL
45
#define IMX_CCM_LPI2C6_CLK 0x405UL
46
#define IMX_CCM_LPI2C7_CLK 0x406UL
47
#define IMX_CCM_LPI2C8_CLK 0x407UL
48
49
/* LPSPI */
50
#define IMX_CCM_LPSPI_CLK 0x500UL
51
#define IMX_CCM_LPSPI1_CLK 0x500UL
52
#define IMX_CCM_LPSPI2_CLK 0x501UL
53
#define IMX_CCM_LPSPI3_CLK 0x502UL
54
#define IMX_CCM_LPSPI4_CLK 0x503UL
55
#define IMX_CCM_LPSPI5_CLK 0x504UL
56
#define IMX_CCM_LPSPI6_CLK 0x505UL
57
#define IMX_CCM_LPSPI7_CLK 0x506UL
58
#define IMX_CCM_LPSPI8_CLK 0x507UL
59
60
/* USDHC */
61
#define IMX_CCM_USDHC1_CLK 0x600UL
62
#define IMX_CCM_USDHC2_CLK 0x601UL
63
64
/* DMA */
65
#define IMX_CCM_EDMA_CLK 0x700UL
66
#define IMX_CCM_EDMA_LPSR_CLK 0x701UL
67
68
/* PWM */
69
#define IMX_CCM_PWM_CLK 0x800UL
70
71
/* CAN */
72
#define IMX_CCM_CAN_CLK 0x900UL
73
#define IMX_CCM_CAN1_CLK 0x900UL
74
#define IMX_CCM_CAN2_CLK 0x901UL
75
#define IMX_CCM_CAN3_CLK 0x902UL
76
77
/* GPT */
78
#define IMX_CCM_GPT_CLK 0x1000UL
79
#define IMX_CCM_GPT1_CLK 0x1000UL
80
#define IMX_CCM_GPT2_CLK 0x1001UL
81
#define IMX_CCM_GPT3_CLK 0x1002UL
82
#define IMX_CCM_GPT4_CLK 0x1003UL
83
#define IMX_CCM_GPT5_CLK 0x1004UL
84
#define IMX_CCM_GPT6_CLK 0x1005UL
85
86
/* SAI */
87
#define IMX_CCM_SAI1_CLK 0x1100UL
88
#define IMX_CCM_SAI2_CLK 0x1101UL
89
#define IMX_CCM_SAI3_CLK 0x1102UL
90
#define IMX_CCM_SAI4_CLK 0x1103UL
91
92
/* ENET */
93
#define IMX_CCM_ENET_CLK 0x1200UL
94
#define IMX_CCM_ENET_PLL 0x1201UL
95
96
/* FLEXSPI */
97
#define IMX_CCM_FLEXSPI_CLK 0x1300UL
98
#define IMX_CCM_FLEXSPI2_CLK 0x1301UL
99
100
/* PIT */
101
#define IMX_CCM_PIT_CLK 0x1400UL
102
#define IMX_CCM_PIT1_CLK 0x1401UL
103
104
/* ADC */
105
#define IMX_CCM_LPADC1_CLK 0x1500UL
106
#define IMX_CCM_LPADC2_CLK 0x1501UL
107
108
/* TPM */
109
#define IMX_CCM_TPM_CLK 0x1600UL
110
#define IMX_CCM_TPM1_CLK 0x1600UL
111
#define IMX_CCM_TPM2_CLK 0x1601UL
112
#define IMX_CCM_TPM3_CLK 0x1602UL
113
#define IMX_CCM_TPM4_CLK 0x1603UL
114
#define IMX_CCM_TPM5_CLK 0x1604UL
115
#define IMX_CCM_TPM6_CLK 0x1605UL
116
117
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_IMX_CCM_REV2_H_ */
zephyr
dt-bindings
clock
imx_ccm_rev2.h
Generated on Thu Jul 4 2024 12:22:47 for Zephyr API Documentation by
1.9.6