Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
imx_ccm.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017-2022,2024 NXP
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_IMX_CCM_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_IMX_CCM_H_
9
10
/*
11
* Define 16 bits clock ID: 0xXXXX
12
* The highest 8 bits is Peripheral ID
13
* The lowest 8 bits is Instance ID
14
*/
15
#define IMX_CCM_PERIPHERAL_MASK 0xFF00UL
16
#define IMX_CCM_INSTANCE_MASK 0x00FFUL
17
18
#define IMX_CCM_CORESYS_CLK 0x0000UL
19
#define IMX_CCM_PLATFORM_CLK 0x0100UL
20
#define IMX_CCM_BUS_CLK 0x0200UL
21
22
#define IMX_CCM_LPUART_CLK 0x0300UL
23
#define IMX_CCM_LPUART1_CLK 0x0300UL
24
#define IMX_CCM_LPUART2_CLK 0x0301UL
25
#define IMX_CCM_LPUART3_CLK 0x0302UL
26
#define IMX_CCM_LPUART4_CLK 0x0303UL
27
#define IMX_CCM_LPUART5_CLK 0x0304UL
28
#define IMX_CCM_LPUART6_CLK 0x0305UL
29
#define IMX_CCM_LPUART7_CLK 0x0306UL
30
#define IMX_CCM_LPUART8_CLK 0x0307UL
31
32
#define IMX_CCM_LPI2C_CLK 0x0400UL
33
34
#define IMX_CCM_LPSPI_CLK 0x0500UL
35
36
#define IMX_CCM_USDHC1_CLK 0x0600UL
37
#define IMX_CCM_USDHC2_CLK 0x0601UL
38
39
#define IMX_CCM_EDMA_CLK 0x0700UL
40
41
#define IMX_CCM_UART1_CLK 0x0800UL
42
#define IMX_CCM_UART2_CLK 0x0801UL
43
#define IMX_CCM_UART3_CLK 0x0802UL
44
#define IMX_CCM_UART4_CLK 0x0803UL
45
46
#define IMX_CCM_CAN_CLK 0x0900UL
47
48
#define IMX_CCM_GPT_CLK 0x0A00UL
49
50
#define IMX_CCM_SAI1_CLK 0x0B00UL
51
#define IMX_CCM_SAI2_CLK 0x0B01UL
52
#define IMX_CCM_SAI3_CLK 0x0B02UL
53
54
#define IMX_CCM_PWM_CLK 0x0C00UL
55
56
#define IMX_CCM_QTMR_CLK 0x0D00UL
57
58
#define IMX_CCM_ENET_CLK 0x0E00UL
59
#define IMX_CCM_ENET_PLL 0x0E01UL
60
61
#define IMX_CCM_FLEXSPI_CLK 0x0F00UL
62
#define IMX_CCM_FLEXSPI2_CLK 0x0F01UL
63
64
#define IMX_CCM_PIT_CLK 0x1000UL
65
66
#define IMX_CCM_FLEXIO1_CLK 0x1100UL
67
#define IMX_CCM_FLEXIO2_3_CLK 0x1101UL
68
69
#define IMX_CCM_ECSPI1_CLK 0x1200UL
70
#define IMX_CCM_ECSPI2_CLK 0x1201UL
71
#define IMX_CCM_ECSPI3_CLK 0x1202UL
72
73
#define IMX_CCM_GPT_IPG_CLK 0x1300UL
74
75
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_IMX_CCM_H_ */
zephyr
dt-bindings
clock
imx_ccm.h
Generated on Mon Dec 23 2024 00:03:17 for Zephyr API Documentation by
1.12.0