Zephyr API Documentation
4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mcux_lpc_syscon_clock.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020-2024 NXP
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MCUX_LPC_SYSCON_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MCUX_LPC_SYSCON_H_
9
10
/* Note- clock identifiers in this file must be unique,
11
* as the driver uses them in a switch case
12
*/
13
14
#define MCUX_LPC_CLK_ID(high, low) ((high << 8) | (low))
15
16
/* These IDs are used within SOC macros, and thus cannot be defined
17
* using the standard MCUX_LPC_CLK_ID form
18
*/
19
#define MCUX_CTIMER0_CLK 0
20
#define MCUX_CTIMER1_CLK 1
21
#define MCUX_CTIMER2_CLK 2
22
#define MCUX_CTIMER3_CLK 3
23
#define MCUX_CTIMER4_CLK 4
24
25
#define MCUX_FLEXCOMM0_CLK MCUX_LPC_CLK_ID(0x01, 0x00)
26
#define MCUX_FLEXCOMM1_CLK MCUX_LPC_CLK_ID(0x01, 0x01)
27
#define MCUX_FLEXCOMM2_CLK MCUX_LPC_CLK_ID(0x01, 0x02)
28
#define MCUX_FLEXCOMM3_CLK MCUX_LPC_CLK_ID(0x01, 0x03)
29
#define MCUX_FLEXCOMM4_CLK MCUX_LPC_CLK_ID(0x01, 0x04)
30
#define MCUX_FLEXCOMM5_CLK MCUX_LPC_CLK_ID(0x01, 0x05)
31
#define MCUX_FLEXCOMM6_CLK MCUX_LPC_CLK_ID(0x01, 0x06)
32
#define MCUX_FLEXCOMM7_CLK MCUX_LPC_CLK_ID(0x01, 0x07)
33
#define MCUX_FLEXCOMM8_CLK MCUX_LPC_CLK_ID(0x01, 0x08)
34
#define MCUX_FLEXCOMM9_CLK MCUX_LPC_CLK_ID(0x01, 0x09)
35
#define MCUX_FLEXCOMM10_CLK MCUX_LPC_CLK_ID(0x01, 0x0A)
36
#define MCUX_FLEXCOMM11_CLK MCUX_LPC_CLK_ID(0x01, 0x0B)
37
#define MCUX_FLEXCOMM12_CLK MCUX_LPC_CLK_ID(0x01, 0x0C)
38
#define MCUX_FLEXCOMM13_CLK MCUX_LPC_CLK_ID(0x01, 0x0D)
39
#define MCUX_HS_SPI_CLK MCUX_LPC_CLK_ID(0x01, 0x0E)
40
#define MCUX_FLEXCOMM14_CLK MCUX_HS_SPI_CLK
41
#define MCUX_PMIC_I2C_CLK MCUX_LPC_CLK_ID(0x01, 0x0F)
42
#define MCUX_HS_SPI1_CLK MCUX_LPC_CLK_ID(0x01, 0x10)
43
44
#define MCUX_USDHC1_CLK MCUX_LPC_CLK_ID(0x02, 0x00)
45
#define MCUX_USDHC2_CLK MCUX_LPC_CLK_ID(0x02, 0x01)
46
47
#define MCUX_MCAN_CLK MCUX_LPC_CLK_ID(0x03, 0x00)
48
49
#define MCUX_BUS_CLK MCUX_LPC_CLK_ID(0x04, 0x00)
50
51
#define MCUX_SDIF_CLK MCUX_LPC_CLK_ID(0x05, 0x00)
52
53
#define MCUX_I3C_CLK MCUX_LPC_CLK_ID(0x06, 0x00)
54
#define MCUX_I3C2_CLK MCUX_LPC_CLK_ID(0x06, 0x01)
55
56
#define MCUX_MIPI_DSI_DPHY_CLK MCUX_LPC_CLK_ID(0x07, 0x00)
57
#define MCUX_MIPI_DSI_ESC_CLK MCUX_LPC_CLK_ID(0x07, 0x01)
58
59
#define MCUX_LCDIF_PIXEL_CLK MCUX_LPC_CLK_ID(0x08, 0x00)
60
61
#define MCUX_SCTIMER_CLK MCUX_LPC_CLK_ID(0x09, 0x00)
62
63
#define MCUX_DMIC_CLK MCUX_LPC_CLK_ID(0x0A, 0x00)
64
65
#define MCUX_FLEXSPI_CLK MCUX_LPC_CLK_ID(0x0A, 0x00)
66
#define MCUX_FLEXSPI2_CLK MCUX_LPC_CLK_ID(0x0A, 0x01)
67
68
#define MCUX_MRT_CLK MCUX_LPC_CLK_ID(0x0B, 0x00)
69
#define MCUX_FREEMRT_CLK MCUX_LPC_CLK_ID(0x0B, 0x01)
70
71
#define MCUX_PORT0_CLK MCUX_LPC_CLK_ID(0x0C, 0x00)
72
#define MCUX_PORT1_CLK MCUX_LPC_CLK_ID(0x0C, 0x01)
73
#define MCUX_PORT2_CLK MCUX_LPC_CLK_ID(0x0C, 0x02)
74
#define MCUX_PORT3_CLK MCUX_LPC_CLK_ID(0x0C, 0x03)
75
#define MCUX_PORT4_CLK MCUX_LPC_CLK_ID(0x0C, 0x04)
76
#define MCUX_PORT5_CLK MCUX_LPC_CLK_ID(0x0C, 0x05)
77
78
#define MCUX_ENET_QOS_CLK MCUX_LPC_CLK_ID(0x0D, 0x00)
79
80
#define MCUX_ENET_CLK MCUX_LPC_CLK_ID(0x0D, 0x80)
81
#define MCUX_ENET_PLL MCUX_LPC_CLK_ID(0x0D, 0x81)
82
83
#define MCUX_LCDIC_CLK MCUX_LPC_CLK_ID(0x0E, 0x00)
84
85
#define MCUX_LPADC1_CLK MCUX_LPC_CLK_ID(0x0F, 0x00)
86
#define MCUX_LPADC2_CLK MCUX_LPC_CLK_ID(0x0F, 0x01)
87
88
#define MCUX_FLEXCAN0_CLK MCUX_LPC_CLK_ID(0x10, 0x00)
89
#define MCUX_FLEXCAN1_CLK MCUX_LPC_CLK_ID(0x10, 0x01)
90
91
#define MCUX_FLEXIO0_CLK MCUX_LPC_CLK_ID(0x11, 0x00)
92
93
#define MCUX_AUDIO_MCLK MCUX_LPC_CLK_ID(0x12, 0x00)
94
95
#define MCUX_LPUART0_CLK MCUX_LPC_CLK_ID(0x13, 0x00)
96
#define MCUX_LPUART1_CLK MCUX_LPC_CLK_ID(0x13, 0x01)
97
#define MCUX_LPUART2_CLK MCUX_LPC_CLK_ID(0x13, 0x02)
98
#define MCUX_LPUART3_CLK MCUX_LPC_CLK_ID(0x13, 0x03)
99
#define MCUX_LPUART4_CLK MCUX_LPC_CLK_ID(0x13, 0x04)
100
101
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MCUX_LPC_SYSCON_H_ */
zephyr
dt-bindings
clock
mcux_lpc_syscon_clock.h
Generated on Sat Nov 16 2024 04:55:03 for Zephyr API Documentation by
1.12.0