Zephyr Project API
3.7.0
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
#define IMX_CCM_ENET1G_CLK 0x1202UL
96
#define IMX_CCM_ENET1G_PLL 0x1203UL
97
98
/* FLEXSPI */
99
#define IMX_CCM_FLEXSPI_CLK 0x1300UL
100
#define IMX_CCM_FLEXSPI2_CLK 0x1301UL
101
102
/* PIT */
103
#define IMX_CCM_PIT_CLK 0x1400UL
104
#define IMX_CCM_PIT1_CLK 0x1401UL
105
106
/* ADC */
107
#define IMX_CCM_LPADC1_CLK 0x1500UL
108
#define IMX_CCM_LPADC2_CLK 0x1501UL
109
110
/* TPM */
111
#define IMX_CCM_TPM_CLK 0x1600UL
112
#define IMX_CCM_TPM1_CLK 0x1600UL
113
#define IMX_CCM_TPM2_CLK 0x1601UL
114
#define IMX_CCM_TPM3_CLK 0x1602UL
115
#define IMX_CCM_TPM4_CLK 0x1603UL
116
#define IMX_CCM_TPM5_CLK 0x1604UL
117
#define IMX_CCM_TPM6_CLK 0x1605UL
118
119
/* QTMR */
120
#define IMX_CCM_QTMR_CLK 0x6000UL
121
#define IMX_CCM_QTMR1_CLK 0x6000UL
122
#define IMX_CCM_QTMR2_CLK 0x6001UL
123
#define IMX_CCM_QTMR3_CLK 0x6002UL
124
#define IMX_CCM_QTMR4_CLK 0x6003UL
125
126
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_IMX_CCM_REV2_H_ */
include
zephyr
dt-bindings
clock
imx_ccm_rev2.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8