xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/sprd,ums512-clk.h (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1*b97ee269SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*b97ee269SEmmanuel Vadot /*
3*b97ee269SEmmanuel Vadot  * Unisoc UMS512 SoC DTS file
4*b97ee269SEmmanuel Vadot  *
5*b97ee269SEmmanuel Vadot  * Copyright (C) 2022, Unisoc Inc.
6*b97ee269SEmmanuel Vadot  */
7*b97ee269SEmmanuel Vadot 
8*b97ee269SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_UMS512_H_
9*b97ee269SEmmanuel Vadot #define _DT_BINDINGS_CLK_UMS512_H_
10*b97ee269SEmmanuel Vadot 
11*b97ee269SEmmanuel Vadot #define CLK_26M_AUD			0
12*b97ee269SEmmanuel Vadot #define CLK_13M				1
13*b97ee269SEmmanuel Vadot #define CLK_6M5				2
14*b97ee269SEmmanuel Vadot #define CLK_4M3				3
15*b97ee269SEmmanuel Vadot #define CLK_2M				4
16*b97ee269SEmmanuel Vadot #define CLK_1M				5
17*b97ee269SEmmanuel Vadot #define CLK_250K			6
18*b97ee269SEmmanuel Vadot #define CLK_RCO_25M			7
19*b97ee269SEmmanuel Vadot #define CLK_RCO_4M			8
20*b97ee269SEmmanuel Vadot #define CLK_RCO_2M			9
21*b97ee269SEmmanuel Vadot #define CLK_ISPPLL_GATE			10
22*b97ee269SEmmanuel Vadot #define CLK_DPLL0_GATE			11
23*b97ee269SEmmanuel Vadot #define CLK_DPLL1_GATE			12
24*b97ee269SEmmanuel Vadot #define CLK_LPLL_GATE			13
25*b97ee269SEmmanuel Vadot #define CLK_TWPLL_GATE			14
26*b97ee269SEmmanuel Vadot #define CLK_GPLL_GATE			15
27*b97ee269SEmmanuel Vadot #define CLK_RPLL_GATE			16
28*b97ee269SEmmanuel Vadot #define CLK_CPPLL_GATE			17
29*b97ee269SEmmanuel Vadot #define CLK_MPLL0_GATE			18
30*b97ee269SEmmanuel Vadot #define CLK_MPLL1_GATE			19
31*b97ee269SEmmanuel Vadot #define CLK_MPLL2_GATE			20
32*b97ee269SEmmanuel Vadot #define CLK_PMU_GATE_NUM		(CLK_MPLL2_GATE + 1)
33*b97ee269SEmmanuel Vadot 
34*b97ee269SEmmanuel Vadot #define CLK_DPLL0			0
35*b97ee269SEmmanuel Vadot #define CLK_DPLL0_58M31			1
36*b97ee269SEmmanuel Vadot #define CLK_ANLG_PHY_G0_NUM		(CLK_DPLL0_58M31 + 1)
37*b97ee269SEmmanuel Vadot 
38*b97ee269SEmmanuel Vadot #define CLK_MPLL1			0
39*b97ee269SEmmanuel Vadot #define CLK_MPLL1_63M38			1
40*b97ee269SEmmanuel Vadot #define CLK_ANLG_PHY_G2_NUM		(CLK_MPLL1_63M38 + 1)
41*b97ee269SEmmanuel Vadot 
42*b97ee269SEmmanuel Vadot #define CLK_RPLL			0
43*b97ee269SEmmanuel Vadot #define CLK_AUDIO_GATE			1
44*b97ee269SEmmanuel Vadot #define CLK_MPLL0			2
45*b97ee269SEmmanuel Vadot #define CLK_MPLL0_56M88			3
46*b97ee269SEmmanuel Vadot #define CLK_MPLL2			4
47*b97ee269SEmmanuel Vadot #define CLK_MPLL2_47M13			5
48*b97ee269SEmmanuel Vadot #define CLK_ANLG_PHY_G3_NUM		(CLK_MPLL2_47M13 + 1)
49*b97ee269SEmmanuel Vadot 
50*b97ee269SEmmanuel Vadot #define CLK_TWPLL			0
51*b97ee269SEmmanuel Vadot #define CLK_TWPLL_768M			1
52*b97ee269SEmmanuel Vadot #define CLK_TWPLL_384M			2
53*b97ee269SEmmanuel Vadot #define CLK_TWPLL_192M			3
54*b97ee269SEmmanuel Vadot #define CLK_TWPLL_96M			4
55*b97ee269SEmmanuel Vadot #define CLK_TWPLL_48M			5
56*b97ee269SEmmanuel Vadot #define CLK_TWPLL_24M			6
57*b97ee269SEmmanuel Vadot #define CLK_TWPLL_12M			7
58*b97ee269SEmmanuel Vadot #define CLK_TWPLL_512M			8
59*b97ee269SEmmanuel Vadot #define CLK_TWPLL_256M			9
60*b97ee269SEmmanuel Vadot #define CLK_TWPLL_128M			10
61*b97ee269SEmmanuel Vadot #define CLK_TWPLL_64M			11
62*b97ee269SEmmanuel Vadot #define CLK_TWPLL_307M2			12
63*b97ee269SEmmanuel Vadot #define CLK_TWPLL_219M4			13
64*b97ee269SEmmanuel Vadot #define CLK_TWPLL_170M6			14
65*b97ee269SEmmanuel Vadot #define CLK_TWPLL_153M6			15
66*b97ee269SEmmanuel Vadot #define CLK_TWPLL_76M8			16
67*b97ee269SEmmanuel Vadot #define CLK_TWPLL_51M2			17
68*b97ee269SEmmanuel Vadot #define CLK_TWPLL_38M4			18
69*b97ee269SEmmanuel Vadot #define CLK_TWPLL_19M2			19
70*b97ee269SEmmanuel Vadot #define CLK_TWPLL_12M29			20
71*b97ee269SEmmanuel Vadot #define CLK_LPLL			21
72*b97ee269SEmmanuel Vadot #define CLK_LPLL_614M4			22
73*b97ee269SEmmanuel Vadot #define CLK_LPLL_409M6			23
74*b97ee269SEmmanuel Vadot #define CLK_LPLL_245M76			24
75*b97ee269SEmmanuel Vadot #define CLK_LPLL_30M72			25
76*b97ee269SEmmanuel Vadot #define CLK_ISPPLL			26
77*b97ee269SEmmanuel Vadot #define CLK_ISPPLL_468M			27
78*b97ee269SEmmanuel Vadot #define CLK_ISPPLL_78M			28
79*b97ee269SEmmanuel Vadot #define CLK_GPLL			29
80*b97ee269SEmmanuel Vadot #define CLK_GPLL_40M			30
81*b97ee269SEmmanuel Vadot #define CLK_CPPLL			31
82*b97ee269SEmmanuel Vadot #define CLK_CPPLL_39M32			32
83*b97ee269SEmmanuel Vadot #define CLK_ANLG_PHY_GC_NUM		(CLK_CPPLL_39M32 + 1)
84*b97ee269SEmmanuel Vadot 
85*b97ee269SEmmanuel Vadot #define CLK_AP_APB			0
86*b97ee269SEmmanuel Vadot #define CLK_IPI			        1
87*b97ee269SEmmanuel Vadot #define CLK_AP_UART0			2
88*b97ee269SEmmanuel Vadot #define CLK_AP_UART1			3
89*b97ee269SEmmanuel Vadot #define CLK_AP_UART2			4
90*b97ee269SEmmanuel Vadot #define CLK_AP_I2C0			5
91*b97ee269SEmmanuel Vadot #define CLK_AP_I2C1			6
92*b97ee269SEmmanuel Vadot #define CLK_AP_I2C2			7
93*b97ee269SEmmanuel Vadot #define CLK_AP_I2C3			8
94*b97ee269SEmmanuel Vadot #define CLK_AP_I2C4			9
95*b97ee269SEmmanuel Vadot #define CLK_AP_SPI0			10
96*b97ee269SEmmanuel Vadot #define CLK_AP_SPI1			11
97*b97ee269SEmmanuel Vadot #define CLK_AP_SPI2			12
98*b97ee269SEmmanuel Vadot #define CLK_AP_SPI3			13
99*b97ee269SEmmanuel Vadot #define CLK_AP_IIS0			14
100*b97ee269SEmmanuel Vadot #define CLK_AP_IIS1			15
101*b97ee269SEmmanuel Vadot #define CLK_AP_IIS2			16
102*b97ee269SEmmanuel Vadot #define CLK_AP_SIM			17
103*b97ee269SEmmanuel Vadot #define CLK_AP_CE			18
104*b97ee269SEmmanuel Vadot #define CLK_SDIO0_2X			19
105*b97ee269SEmmanuel Vadot #define CLK_SDIO1_2X			20
106*b97ee269SEmmanuel Vadot #define CLK_EMMC_2X			21
107*b97ee269SEmmanuel Vadot #define CLK_VSP				22
108*b97ee269SEmmanuel Vadot #define CLK_DISPC0			23
109*b97ee269SEmmanuel Vadot #define CLK_DISPC0_DPI			24
110*b97ee269SEmmanuel Vadot #define CLK_DSI_APB			25
111*b97ee269SEmmanuel Vadot #define CLK_DSI_RXESC			26
112*b97ee269SEmmanuel Vadot #define CLK_DSI_LANEBYTE		27
113*b97ee269SEmmanuel Vadot #define CLK_VDSP		        28
114*b97ee269SEmmanuel Vadot #define CLK_VDSP_M		        29
115*b97ee269SEmmanuel Vadot #define CLK_AP_CLK_NUM			(CLK_VDSP_M + 1)
116*b97ee269SEmmanuel Vadot 
117*b97ee269SEmmanuel Vadot #define CLK_DSI_EB			0
118*b97ee269SEmmanuel Vadot #define CLK_DISPC_EB			1
119*b97ee269SEmmanuel Vadot #define CLK_VSP_EB			2
120*b97ee269SEmmanuel Vadot #define CLK_VDMA_EB			3
121*b97ee269SEmmanuel Vadot #define CLK_DMA_PUB_EB			4
122*b97ee269SEmmanuel Vadot #define CLK_DMA_SEC_EB			5
123*b97ee269SEmmanuel Vadot #define CLK_IPI_EB			6
124*b97ee269SEmmanuel Vadot #define CLK_AHB_CKG_EB			7
125*b97ee269SEmmanuel Vadot #define CLK_BM_CLK_EB			8
126*b97ee269SEmmanuel Vadot #define CLK_AP_AHB_GATE_NUM		(CLK_BM_CLK_EB + 1)
127*b97ee269SEmmanuel Vadot 
128*b97ee269SEmmanuel Vadot #define CLK_AON_APB			0
129*b97ee269SEmmanuel Vadot #define CLK_ADI				1
130*b97ee269SEmmanuel Vadot #define CLK_AUX0			2
131*b97ee269SEmmanuel Vadot #define CLK_AUX1			3
132*b97ee269SEmmanuel Vadot #define CLK_AUX2			4
133*b97ee269SEmmanuel Vadot #define CLK_PROBE			5
134*b97ee269SEmmanuel Vadot #define CLK_PWM0			6
135*b97ee269SEmmanuel Vadot #define CLK_PWM1			7
136*b97ee269SEmmanuel Vadot #define CLK_PWM2			8
137*b97ee269SEmmanuel Vadot #define CLK_PWM3			9
138*b97ee269SEmmanuel Vadot #define CLK_EFUSE			10
139*b97ee269SEmmanuel Vadot #define CLK_UART0			11
140*b97ee269SEmmanuel Vadot #define CLK_UART1			12
141*b97ee269SEmmanuel Vadot #define CLK_THM0			13
142*b97ee269SEmmanuel Vadot #define CLK_THM1			14
143*b97ee269SEmmanuel Vadot #define CLK_THM2			15
144*b97ee269SEmmanuel Vadot #define CLK_THM3			16
145*b97ee269SEmmanuel Vadot #define CLK_AON_I2C			17
146*b97ee269SEmmanuel Vadot #define CLK_AON_IIS			18
147*b97ee269SEmmanuel Vadot #define CLK_SCC				19
148*b97ee269SEmmanuel Vadot #define CLK_APCPU_DAP			20
149*b97ee269SEmmanuel Vadot #define CLK_APCPU_DAP_MTCK		21
150*b97ee269SEmmanuel Vadot #define CLK_APCPU_TS			22
151*b97ee269SEmmanuel Vadot #define CLK_DEBUG_TS			23
152*b97ee269SEmmanuel Vadot #define CLK_DSI_TEST_S			24
153*b97ee269SEmmanuel Vadot #define CLK_DJTAG_TCK			25
154*b97ee269SEmmanuel Vadot #define CLK_DJTAG_TCK_HW		26
155*b97ee269SEmmanuel Vadot #define CLK_AON_TMR			27
156*b97ee269SEmmanuel Vadot #define CLK_AON_PMU			28
157*b97ee269SEmmanuel Vadot #define CLK_DEBOUNCE			29
158*b97ee269SEmmanuel Vadot #define CLK_APCPU_PMU			30
159*b97ee269SEmmanuel Vadot #define CLK_TOP_DVFS			31
160*b97ee269SEmmanuel Vadot #define CLK_OTG_UTMI			32
161*b97ee269SEmmanuel Vadot #define CLK_OTG_REF			33
162*b97ee269SEmmanuel Vadot #define CLK_CSSYS			34
163*b97ee269SEmmanuel Vadot #define CLK_CSSYS_PUB			35
164*b97ee269SEmmanuel Vadot #define CLK_CSSYS_APB			36
165*b97ee269SEmmanuel Vadot #define CLK_AP_AXI			37
166*b97ee269SEmmanuel Vadot #define CLK_AP_MM			38
167*b97ee269SEmmanuel Vadot #define CLK_SDIO2_2X			39
168*b97ee269SEmmanuel Vadot #define CLK_ANALOG_IO_APB		40
169*b97ee269SEmmanuel Vadot #define CLK_DMC_REF_CLK			41
170*b97ee269SEmmanuel Vadot #define CLK_EMC				42
171*b97ee269SEmmanuel Vadot #define CLK_USB				43
172*b97ee269SEmmanuel Vadot #define CLK_26M_PMU			44
173*b97ee269SEmmanuel Vadot #define CLK_AON_APB_NUM			(CLK_26M_PMU + 1)
174*b97ee269SEmmanuel Vadot 
175*b97ee269SEmmanuel Vadot #define CLK_MM_AHB			0
176*b97ee269SEmmanuel Vadot #define CLK_MM_MTX			1
177*b97ee269SEmmanuel Vadot #define CLK_SENSOR0			2
178*b97ee269SEmmanuel Vadot #define CLK_SENSOR1			3
179*b97ee269SEmmanuel Vadot #define CLK_SENSOR2			4
180*b97ee269SEmmanuel Vadot #define CLK_CPP				5
181*b97ee269SEmmanuel Vadot #define CLK_JPG				6
182*b97ee269SEmmanuel Vadot #define CLK_FD				7
183*b97ee269SEmmanuel Vadot #define CLK_DCAM_IF			8
184*b97ee269SEmmanuel Vadot #define CLK_DCAM_AXI			9
185*b97ee269SEmmanuel Vadot #define CLK_ISP				10
186*b97ee269SEmmanuel Vadot #define CLK_MIPI_CSI0			11
187*b97ee269SEmmanuel Vadot #define CLK_MIPI_CSI1			12
188*b97ee269SEmmanuel Vadot #define CLK_MIPI_CSI2			13
189*b97ee269SEmmanuel Vadot #define CLK_MM_CLK_NUM			(CLK_MIPI_CSI2 + 1)
190*b97ee269SEmmanuel Vadot 
191*b97ee269SEmmanuel Vadot #define CLK_RC100M_CAL_EB		0
192*b97ee269SEmmanuel Vadot #define CLK_DJTAG_TCK_EB		1
193*b97ee269SEmmanuel Vadot #define CLK_DJTAG_EB			2
194*b97ee269SEmmanuel Vadot #define CLK_AUX0_EB			3
195*b97ee269SEmmanuel Vadot #define CLK_AUX1_EB			4
196*b97ee269SEmmanuel Vadot #define CLK_AUX2_EB			5
197*b97ee269SEmmanuel Vadot #define CLK_PROBE_EB			6
198*b97ee269SEmmanuel Vadot #define CLK_MM_EB			7
199*b97ee269SEmmanuel Vadot #define CLK_GPU_EB			8
200*b97ee269SEmmanuel Vadot #define CLK_MSPI_EB			9
201*b97ee269SEmmanuel Vadot #define CLK_APCPU_DAP_EB		10
202*b97ee269SEmmanuel Vadot #define CLK_AON_CSSYS_EB		11
203*b97ee269SEmmanuel Vadot #define CLK_CSSYS_APB_EB		12
204*b97ee269SEmmanuel Vadot #define CLK_CSSYS_PUB_EB		13
205*b97ee269SEmmanuel Vadot #define CLK_SDPHY_CFG_EB		14
206*b97ee269SEmmanuel Vadot #define CLK_SDPHY_REF_EB		15
207*b97ee269SEmmanuel Vadot #define CLK_EFUSE_EB			16
208*b97ee269SEmmanuel Vadot #define CLK_GPIO_EB			17
209*b97ee269SEmmanuel Vadot #define CLK_MBOX_EB			18
210*b97ee269SEmmanuel Vadot #define CLK_KPD_EB			19
211*b97ee269SEmmanuel Vadot #define CLK_AON_SYST_EB			20
212*b97ee269SEmmanuel Vadot #define CLK_AP_SYST_EB			21
213*b97ee269SEmmanuel Vadot #define CLK_AON_TMR_EB			22
214*b97ee269SEmmanuel Vadot #define CLK_OTG_UTMI_EB			23
215*b97ee269SEmmanuel Vadot #define CLK_OTG_PHY_EB			24
216*b97ee269SEmmanuel Vadot #define CLK_SPLK_EB			25
217*b97ee269SEmmanuel Vadot #define CLK_PIN_EB			26
218*b97ee269SEmmanuel Vadot #define CLK_ANA_EB			27
219*b97ee269SEmmanuel Vadot #define CLK_APCPU_TS0_EB		28
220*b97ee269SEmmanuel Vadot #define CLK_APB_BUSMON_EB		29
221*b97ee269SEmmanuel Vadot #define CLK_AON_IIS_EB			30
222*b97ee269SEmmanuel Vadot #define CLK_SCC_EB			31
223*b97ee269SEmmanuel Vadot #define CLK_THM0_EB			32
224*b97ee269SEmmanuel Vadot #define CLK_THM1_EB			33
225*b97ee269SEmmanuel Vadot #define CLK_THM2_EB			34
226*b97ee269SEmmanuel Vadot #define CLK_ASIM_TOP_EB			35
227*b97ee269SEmmanuel Vadot #define CLK_I2C_EB			36
228*b97ee269SEmmanuel Vadot #define CLK_PMU_EB			37
229*b97ee269SEmmanuel Vadot #define CLK_ADI_EB			38
230*b97ee269SEmmanuel Vadot #define CLK_EIC_EB			39
231*b97ee269SEmmanuel Vadot #define CLK_AP_INTC0_EB			40
232*b97ee269SEmmanuel Vadot #define CLK_AP_INTC1_EB			41
233*b97ee269SEmmanuel Vadot #define CLK_AP_INTC2_EB			42
234*b97ee269SEmmanuel Vadot #define CLK_AP_INTC3_EB			43
235*b97ee269SEmmanuel Vadot #define CLK_AP_INTC4_EB			44
236*b97ee269SEmmanuel Vadot #define CLK_AP_INTC5_EB			45
237*b97ee269SEmmanuel Vadot #define CLK_AUDCP_INTC_EB		46
238*b97ee269SEmmanuel Vadot #define CLK_AP_TMR0_EB			47
239*b97ee269SEmmanuel Vadot #define CLK_AP_TMR1_EB			48
240*b97ee269SEmmanuel Vadot #define CLK_AP_TMR2_EB			49
241*b97ee269SEmmanuel Vadot #define CLK_PWM0_EB			50
242*b97ee269SEmmanuel Vadot #define CLK_PWM1_EB			51
243*b97ee269SEmmanuel Vadot #define CLK_PWM2_EB			52
244*b97ee269SEmmanuel Vadot #define CLK_PWM3_EB			53
245*b97ee269SEmmanuel Vadot #define CLK_AP_WDG_EB			54
246*b97ee269SEmmanuel Vadot #define CLK_APCPU_WDG_EB		55
247*b97ee269SEmmanuel Vadot #define CLK_SERDES_EB			56
248*b97ee269SEmmanuel Vadot #define CLK_ARCH_RTC_EB			57
249*b97ee269SEmmanuel Vadot #define CLK_KPD_RTC_EB			58
250*b97ee269SEmmanuel Vadot #define CLK_AON_SYST_RTC_EB		59
251*b97ee269SEmmanuel Vadot #define CLK_AP_SYST_RTC_EB		60
252*b97ee269SEmmanuel Vadot #define CLK_AON_TMR_RTC_EB		61
253*b97ee269SEmmanuel Vadot #define CLK_EIC_RTC_EB			62
254*b97ee269SEmmanuel Vadot #define CLK_EIC_RTCDV5_EB		63
255*b97ee269SEmmanuel Vadot #define CLK_AP_WDG_RTC_EB		64
256*b97ee269SEmmanuel Vadot #define CLK_AC_WDG_RTC_EB		65
257*b97ee269SEmmanuel Vadot #define CLK_AP_TMR0_RTC_EB		66
258*b97ee269SEmmanuel Vadot #define CLK_AP_TMR1_RTC_EB		67
259*b97ee269SEmmanuel Vadot #define CLK_AP_TMR2_RTC_EB		68
260*b97ee269SEmmanuel Vadot #define CLK_DCXO_LC_RTC_EB		69
261*b97ee269SEmmanuel Vadot #define CLK_BB_CAL_RTC_EB		70
262*b97ee269SEmmanuel Vadot #define CLK_AP_EMMC_RTC_EB		71
263*b97ee269SEmmanuel Vadot #define CLK_AP_SDIO0_RTC_EB		72
264*b97ee269SEmmanuel Vadot #define CLK_AP_SDIO1_RTC_EB		73
265*b97ee269SEmmanuel Vadot #define CLK_AP_SDIO2_RTC_EB		74
266*b97ee269SEmmanuel Vadot #define CLK_DSI_CSI_TEST_EB		75
267*b97ee269SEmmanuel Vadot #define CLK_DJTAG_TCK_EN		76
268*b97ee269SEmmanuel Vadot #define CLK_DPHY_REF_EB			77
269*b97ee269SEmmanuel Vadot #define CLK_DMC_REF_EB			78
270*b97ee269SEmmanuel Vadot #define CLK_OTG_REF_EB			79
271*b97ee269SEmmanuel Vadot #define CLK_TSEN_EB			80
272*b97ee269SEmmanuel Vadot #define CLK_TMR_EB			81
273*b97ee269SEmmanuel Vadot #define CLK_RC100M_REF_EB		82
274*b97ee269SEmmanuel Vadot #define CLK_RC100M_FDK_EB		83
275*b97ee269SEmmanuel Vadot #define CLK_DEBOUNCE_EB			84
276*b97ee269SEmmanuel Vadot #define CLK_DET_32K_EB			85
277*b97ee269SEmmanuel Vadot #define CLK_TOP_CSSYS_EB		86
278*b97ee269SEmmanuel Vadot #define CLK_AP_AXI_EN			87
279*b97ee269SEmmanuel Vadot #define CLK_SDIO0_2X_EN			88
280*b97ee269SEmmanuel Vadot #define CLK_SDIO0_1X_EN			89
281*b97ee269SEmmanuel Vadot #define CLK_SDIO1_2X_EN			90
282*b97ee269SEmmanuel Vadot #define CLK_SDIO1_1X_EN			91
283*b97ee269SEmmanuel Vadot #define CLK_SDIO2_2X_EN			92
284*b97ee269SEmmanuel Vadot #define CLK_SDIO2_1X_EN			93
285*b97ee269SEmmanuel Vadot #define CLK_EMMC_2X_EN			94
286*b97ee269SEmmanuel Vadot #define CLK_EMMC_1X_EN			95
287*b97ee269SEmmanuel Vadot #define CLK_PLL_TEST_EN			96
288*b97ee269SEmmanuel Vadot #define CLK_CPHY_CFG_EN			97
289*b97ee269SEmmanuel Vadot #define CLK_DEBUG_TS_EN			98
290*b97ee269SEmmanuel Vadot #define CLK_ACCESS_AUD_EN		99
291*b97ee269SEmmanuel Vadot #define CLK_AON_APB_GATE_NUM		(CLK_ACCESS_AUD_EN + 1)
292*b97ee269SEmmanuel Vadot 
293*b97ee269SEmmanuel Vadot #define CLK_MM_CPP_EB			0
294*b97ee269SEmmanuel Vadot #define CLK_MM_JPG_EB			1
295*b97ee269SEmmanuel Vadot #define CLK_MM_DCAM_EB			2
296*b97ee269SEmmanuel Vadot #define CLK_MM_ISP_EB			3
297*b97ee269SEmmanuel Vadot #define CLK_MM_CSI2_EB			4
298*b97ee269SEmmanuel Vadot #define CLK_MM_CSI1_EB			5
299*b97ee269SEmmanuel Vadot #define CLK_MM_CSI0_EB			6
300*b97ee269SEmmanuel Vadot #define CLK_MM_CKG_EB			7
301*b97ee269SEmmanuel Vadot #define CLK_ISP_AHB_EB			8
302*b97ee269SEmmanuel Vadot #define CLK_MM_DVFS_EB			9
303*b97ee269SEmmanuel Vadot #define CLK_MM_FD_EB			10
304*b97ee269SEmmanuel Vadot #define CLK_MM_SENSOR2_EB		11
305*b97ee269SEmmanuel Vadot #define CLK_MM_SENSOR1_EB		12
306*b97ee269SEmmanuel Vadot #define CLK_MM_SENSOR0_EB		13
307*b97ee269SEmmanuel Vadot #define CLK_MM_MIPI_CSI2_EB		14
308*b97ee269SEmmanuel Vadot #define CLK_MM_MIPI_CSI1_EB		15
309*b97ee269SEmmanuel Vadot #define CLK_MM_MIPI_CSI0_EB		16
310*b97ee269SEmmanuel Vadot #define CLK_DCAM_AXI_EB			17
311*b97ee269SEmmanuel Vadot #define CLK_ISP_AXI_EB			18
312*b97ee269SEmmanuel Vadot #define CLK_MM_CPHY_EB			19
313*b97ee269SEmmanuel Vadot #define CLK_MM_GATE_CLK_NUM		(CLK_MM_CPHY_EB + 1)
314*b97ee269SEmmanuel Vadot 
315*b97ee269SEmmanuel Vadot #define CLK_SIM0_EB			0
316*b97ee269SEmmanuel Vadot #define CLK_IIS0_EB			1
317*b97ee269SEmmanuel Vadot #define CLK_IIS1_EB			2
318*b97ee269SEmmanuel Vadot #define CLK_IIS2_EB			3
319*b97ee269SEmmanuel Vadot #define CLK_APB_REG_EB			4
320*b97ee269SEmmanuel Vadot #define CLK_SPI0_EB			5
321*b97ee269SEmmanuel Vadot #define CLK_SPI1_EB			6
322*b97ee269SEmmanuel Vadot #define CLK_SPI2_EB			7
323*b97ee269SEmmanuel Vadot #define CLK_SPI3_EB			8
324*b97ee269SEmmanuel Vadot #define CLK_I2C0_EB			9
325*b97ee269SEmmanuel Vadot #define CLK_I2C1_EB			10
326*b97ee269SEmmanuel Vadot #define CLK_I2C2_EB			11
327*b97ee269SEmmanuel Vadot #define CLK_I2C3_EB			12
328*b97ee269SEmmanuel Vadot #define CLK_I2C4_EB			13
329*b97ee269SEmmanuel Vadot #define CLK_UART0_EB			14
330*b97ee269SEmmanuel Vadot #define CLK_UART1_EB			15
331*b97ee269SEmmanuel Vadot #define CLK_UART2_EB			16
332*b97ee269SEmmanuel Vadot #define CLK_SIM0_32K_EB			17
333*b97ee269SEmmanuel Vadot #define CLK_SPI0_LFIN_EB		18
334*b97ee269SEmmanuel Vadot #define CLK_SPI1_LFIN_EB		19
335*b97ee269SEmmanuel Vadot #define CLK_SPI2_LFIN_EB		20
336*b97ee269SEmmanuel Vadot #define CLK_SPI3_LFIN_EB		21
337*b97ee269SEmmanuel Vadot #define CLK_SDIO0_EB			22
338*b97ee269SEmmanuel Vadot #define CLK_SDIO1_EB			23
339*b97ee269SEmmanuel Vadot #define CLK_SDIO2_EB			24
340*b97ee269SEmmanuel Vadot #define CLK_EMMC_EB			25
341*b97ee269SEmmanuel Vadot #define CLK_SDIO0_32K_EB		26
342*b97ee269SEmmanuel Vadot #define CLK_SDIO1_32K_EB		27
343*b97ee269SEmmanuel Vadot #define CLK_SDIO2_32K_EB		28
344*b97ee269SEmmanuel Vadot #define CLK_EMMC_32K_EB			29
345*b97ee269SEmmanuel Vadot #define CLK_AP_APB_GATE_NUM		(CLK_EMMC_32K_EB + 1)
346*b97ee269SEmmanuel Vadot 
347*b97ee269SEmmanuel Vadot #define CLK_GPU_CORE_EB			0
348*b97ee269SEmmanuel Vadot #define CLK_GPU_CORE			1
349*b97ee269SEmmanuel Vadot #define CLK_GPU_MEM_EB			2
350*b97ee269SEmmanuel Vadot #define CLK_GPU_MEM			3
351*b97ee269SEmmanuel Vadot #define CLK_GPU_SYS_EB			4
352*b97ee269SEmmanuel Vadot #define CLK_GPU_SYS			5
353*b97ee269SEmmanuel Vadot #define CLK_GPU_CLK_NUM			(CLK_GPU_SYS + 1)
354*b97ee269SEmmanuel Vadot 
355*b97ee269SEmmanuel Vadot #define CLK_AUDCP_IIS0_EB		0
356*b97ee269SEmmanuel Vadot #define CLK_AUDCP_IIS1_EB		1
357*b97ee269SEmmanuel Vadot #define CLK_AUDCP_IIS2_EB		2
358*b97ee269SEmmanuel Vadot #define CLK_AUDCP_UART_EB		3
359*b97ee269SEmmanuel Vadot #define CLK_AUDCP_DMA_CP_EB		4
360*b97ee269SEmmanuel Vadot #define CLK_AUDCP_DMA_AP_EB		5
361*b97ee269SEmmanuel Vadot #define CLK_AUDCP_SRC48K_EB		6
362*b97ee269SEmmanuel Vadot #define CLK_AUDCP_MCDT_EB		7
363*b97ee269SEmmanuel Vadot #define CLK_AUDCP_VBCIFD_EB		8
364*b97ee269SEmmanuel Vadot #define CLK_AUDCP_VBC_EB		9
365*b97ee269SEmmanuel Vadot #define CLK_AUDCP_SPLK_EB		10
366*b97ee269SEmmanuel Vadot #define CLK_AUDCP_ICU_EB		11
367*b97ee269SEmmanuel Vadot #define CLK_AUDCP_DMA_AP_ASHB_EB	12
368*b97ee269SEmmanuel Vadot #define CLK_AUDCP_DMA_CP_ASHB_EB	13
369*b97ee269SEmmanuel Vadot #define CLK_AUDCP_AUD_EB		14
370*b97ee269SEmmanuel Vadot #define CLK_AUDCP_VBC_24M_EB		15
371*b97ee269SEmmanuel Vadot #define CLK_AUDCP_TMR_26M_EB		16
372*b97ee269SEmmanuel Vadot #define CLK_AUDCP_DVFS_ASHB_EB		17
373*b97ee269SEmmanuel Vadot #define CLK_AUDCP_AHB_GATE_NUM		(CLK_AUDCP_DVFS_ASHB_EB + 1)
374*b97ee269SEmmanuel Vadot 
375*b97ee269SEmmanuel Vadot #define CLK_AUDCP_WDG_EB		0
376*b97ee269SEmmanuel Vadot #define CLK_AUDCP_RTC_WDG_EB		1
377*b97ee269SEmmanuel Vadot #define CLK_AUDCP_TMR0_EB		2
378*b97ee269SEmmanuel Vadot #define CLK_AUDCP_TMR1_EB		3
379*b97ee269SEmmanuel Vadot #define CLK_AUDCP_APB_GATE_NUM		(CLK_AUDCP_TMR1_EB + 1)
380*b97ee269SEmmanuel Vadot 
381*b97ee269SEmmanuel Vadot #define CLK_ACORE0			0
382*b97ee269SEmmanuel Vadot #define CLK_ACORE1			1
383*b97ee269SEmmanuel Vadot #define CLK_ACORE2			2
384*b97ee269SEmmanuel Vadot #define CLK_ACORE3			3
385*b97ee269SEmmanuel Vadot #define CLK_ACORE4			4
386*b97ee269SEmmanuel Vadot #define CLK_ACORE5			5
387*b97ee269SEmmanuel Vadot #define CLK_PCORE0			6
388*b97ee269SEmmanuel Vadot #define CLK_PCORE1			7
389*b97ee269SEmmanuel Vadot #define CLK_SCU				8
390*b97ee269SEmmanuel Vadot #define CLK_ACE				9
391*b97ee269SEmmanuel Vadot #define CLK_PERIPH			10
392*b97ee269SEmmanuel Vadot #define CLK_GIC				11
393*b97ee269SEmmanuel Vadot #define CLK_ATB				12
394*b97ee269SEmmanuel Vadot #define CLK_DEBUG_APB			13
395*b97ee269SEmmanuel Vadot #define CLK_APCPU_SEC_NUM		(CLK_DEBUG_APB + 1)
396*b97ee269SEmmanuel Vadot 
397*b97ee269SEmmanuel Vadot #endif /* _DT_BINDINGS_CLK_UMS512_H_ */
398