1*d84982dbSRyder Lee /* SPDX-License-Identifier: GPL-2.0 */
2*d84982dbSRyder Lee /*
3*d84982dbSRyder Lee  * Copyright (C) 2018 MediaTek Inc.
4*d84982dbSRyder Lee  */
5*d84982dbSRyder Lee 
6*d84982dbSRyder Lee #ifndef _DT_BINDINGS_CLK_MT2701_H
7*d84982dbSRyder Lee #define _DT_BINDINGS_CLK_MT2701_H
8*d84982dbSRyder Lee 
9*d84982dbSRyder Lee /* TOPCKGEN */
10*d84982dbSRyder Lee #define CLK_TOP_FCLKS_OFF			0
11*d84982dbSRyder Lee 
12*d84982dbSRyder Lee #define CLK_TOP_DPI				0
13*d84982dbSRyder Lee #define CLK_TOP_DMPLL				1
14*d84982dbSRyder Lee #define CLK_TOP_VENCPLL				2
15*d84982dbSRyder Lee #define CLK_TOP_HDMI_0_PIX340M			3
16*d84982dbSRyder Lee #define CLK_TOP_HDMI_0_DEEP340M			4
17*d84982dbSRyder Lee #define CLK_TOP_HDMI_0_PLL340M			5
18*d84982dbSRyder Lee #define CLK_TOP_HADDS2_FB			6
19*d84982dbSRyder Lee #define CLK_TOP_WBG_DIG_416M			7
20*d84982dbSRyder Lee #define CLK_TOP_DSI0_LNTC_DSI			8
21*d84982dbSRyder Lee #define CLK_TOP_HDMI_SCL_RX			9
22*d84982dbSRyder Lee #define CLK_TOP_32K_EXTERNAL			10
23*d84982dbSRyder Lee #define CLK_TOP_HDMITX_CLKDIG_CTS		11
24*d84982dbSRyder Lee #define CLK_TOP_AUD_EXT1			12
25*d84982dbSRyder Lee #define CLK_TOP_AUD_EXT2			13
26*d84982dbSRyder Lee #define CLK_TOP_NFI1X_PAD			14
27*d84982dbSRyder Lee 
28*d84982dbSRyder Lee #define CLK_TOP_SYSPLL				15
29*d84982dbSRyder Lee #define CLK_TOP_SYSPLL_D2			16
30*d84982dbSRyder Lee #define CLK_TOP_SYSPLL_D3			17
31*d84982dbSRyder Lee #define CLK_TOP_SYSPLL_D5			18
32*d84982dbSRyder Lee #define CLK_TOP_SYSPLL_D7			19
33*d84982dbSRyder Lee #define CLK_TOP_SYSPLL1_D2			20
34*d84982dbSRyder Lee #define CLK_TOP_SYSPLL1_D4			21
35*d84982dbSRyder Lee #define CLK_TOP_SYSPLL1_D8			22
36*d84982dbSRyder Lee #define CLK_TOP_SYSPLL1_D16			23
37*d84982dbSRyder Lee #define CLK_TOP_SYSPLL2_D2			24
38*d84982dbSRyder Lee #define CLK_TOP_SYSPLL2_D4			25
39*d84982dbSRyder Lee #define CLK_TOP_SYSPLL2_D8			26
40*d84982dbSRyder Lee #define CLK_TOP_SYSPLL3_D2			27
41*d84982dbSRyder Lee #define CLK_TOP_SYSPLL3_D4			28
42*d84982dbSRyder Lee #define CLK_TOP_SYSPLL4_D2			29
43*d84982dbSRyder Lee #define CLK_TOP_SYSPLL4_D4			30
44*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL				31
45*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL_D2			32
46*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL_D3			33
47*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL_D5			34
48*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL_D7			35
49*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL_D26			36
50*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL_D52			37
51*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL_D108			38
52*d84982dbSRyder Lee #define CLK_TOP_USB_PHY48M			39
53*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL1_D2			40
54*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL1_D4			41
55*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL1_D8			42
56*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL2_D2			43
57*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL2_D4			44
58*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL2_D8			45
59*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL2_D16			46
60*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL2_D32			47
61*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL3_D2			48
62*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL3_D4			49
63*d84982dbSRyder Lee #define CLK_TOP_UNIVPLL3_D8			50
64*d84982dbSRyder Lee #define CLK_TOP_MSDCPLL				51
65*d84982dbSRyder Lee #define CLK_TOP_MSDCPLL_D2			52
66*d84982dbSRyder Lee #define CLK_TOP_MSDCPLL_D4			53
67*d84982dbSRyder Lee #define CLK_TOP_MSDCPLL_D8			54
68*d84982dbSRyder Lee #define CLK_TOP_MMPLL				55
69*d84982dbSRyder Lee #define CLK_TOP_MMPLL_D2			56
70*d84982dbSRyder Lee #define CLK_TOP_DMPLL_D2			57
71*d84982dbSRyder Lee #define CLK_TOP_DMPLL_D4			58
72*d84982dbSRyder Lee #define CLK_TOP_DMPLL_X2			59
73*d84982dbSRyder Lee #define CLK_TOP_TVDPLL				60
74*d84982dbSRyder Lee #define CLK_TOP_TVDPLL_D2			61
75*d84982dbSRyder Lee #define CLK_TOP_TVDPLL_D4			62
76*d84982dbSRyder Lee #define CLK_TOP_VDECPLL				63
77*d84982dbSRyder Lee #define CLK_TOP_TVD2PLL				64
78*d84982dbSRyder Lee #define CLK_TOP_TVD2PLL_D2			65
79*d84982dbSRyder Lee #define CLK_TOP_MIPIPLL				66
80*d84982dbSRyder Lee #define CLK_TOP_MIPIPLL_D2			67
81*d84982dbSRyder Lee #define CLK_TOP_MIPIPLL_D4			68
82*d84982dbSRyder Lee #define CLK_TOP_HDMIPLL				69
83*d84982dbSRyder Lee #define CLK_TOP_HDMIPLL_D2			70
84*d84982dbSRyder Lee #define CLK_TOP_HDMIPLL_D3			71
85*d84982dbSRyder Lee #define CLK_TOP_ARMPLL_1P3G			72
86*d84982dbSRyder Lee #define CLK_TOP_AUDPLL				73
87*d84982dbSRyder Lee #define CLK_TOP_AUDPLL_D4			74
88*d84982dbSRyder Lee #define CLK_TOP_AUDPLL_D8			75
89*d84982dbSRyder Lee #define CLK_TOP_AUDPLL_D16			76
90*d84982dbSRyder Lee #define CLK_TOP_AUDPLL_D24			77
91*d84982dbSRyder Lee #define CLK_TOP_AUD1PLL_98M			78
92*d84982dbSRyder Lee #define CLK_TOP_AUD2PLL_90M			79
93*d84982dbSRyder Lee #define CLK_TOP_HADDS2PLL_98M			80
94*d84982dbSRyder Lee #define CLK_TOP_HADDS2PLL_294M			81
95*d84982dbSRyder Lee #define CLK_TOP_ETHPLL_500M			82
96*d84982dbSRyder Lee #define CLK_TOP_CLK26M_D8			83
97*d84982dbSRyder Lee #define CLK_TOP_32K_INTERNAL			84
98*d84982dbSRyder Lee #define CLK_TOP_AXISEL_D4			85
99*d84982dbSRyder Lee #define CLK_TOP_8BDAC				86
100*d84982dbSRyder Lee 
101*d84982dbSRyder Lee #define CLK_TOP_AXI_SEL				87
102*d84982dbSRyder Lee #define CLK_TOP_MEM_SEL				88
103*d84982dbSRyder Lee #define CLK_TOP_DDRPHYCFG_SEL			89
104*d84982dbSRyder Lee #define CLK_TOP_MM_SEL				90
105*d84982dbSRyder Lee #define CLK_TOP_PWM_SEL				91
106*d84982dbSRyder Lee #define CLK_TOP_VDEC_SEL			92
107*d84982dbSRyder Lee #define CLK_TOP_MFG_SEL				93
108*d84982dbSRyder Lee #define CLK_TOP_CAMTG_SEL			94
109*d84982dbSRyder Lee #define CLK_TOP_UART_SEL			95
110*d84982dbSRyder Lee #define CLK_TOP_SPI0_SEL			96
111*d84982dbSRyder Lee #define CLK_TOP_USB20_SEL			97
112*d84982dbSRyder Lee #define CLK_TOP_MSDC30_0_SEL			98
113*d84982dbSRyder Lee #define CLK_TOP_MSDC30_1_SEL			99
114*d84982dbSRyder Lee #define CLK_TOP_MSDC30_2_SEL			100
115*d84982dbSRyder Lee #define CLK_TOP_AUDIO_SEL			101
116*d84982dbSRyder Lee #define CLK_TOP_AUDINTBUS_SEL			102
117*d84982dbSRyder Lee #define CLK_TOP_PMICSPI_SEL			103
118*d84982dbSRyder Lee #define CLK_TOP_SCP_SEL				104
119*d84982dbSRyder Lee #define CLK_TOP_DPI0_SEL			105
120*d84982dbSRyder Lee #define CLK_TOP_DPI1_SEL			106
121*d84982dbSRyder Lee #define CLK_TOP_TVE_SEL				107
122*d84982dbSRyder Lee #define CLK_TOP_HDMI_SEL			108
123*d84982dbSRyder Lee #define CLK_TOP_APLL_SEL			109
124*d84982dbSRyder Lee #define CLK_TOP_RTC_SEL				110
125*d84982dbSRyder Lee #define CLK_TOP_NFI2X_SEL			111
126*d84982dbSRyder Lee #define CLK_TOP_EMMC_HCLK_SEL			112
127*d84982dbSRyder Lee #define CLK_TOP_FLASH_SEL			113
128*d84982dbSRyder Lee #define CLK_TOP_DI_SEL				114
129*d84982dbSRyder Lee #define CLK_TOP_NR_SEL				115
130*d84982dbSRyder Lee #define CLK_TOP_OSD_SEL				116
131*d84982dbSRyder Lee #define CLK_TOP_HDMIRX_BIST_SEL			117
132*d84982dbSRyder Lee #define CLK_TOP_INTDIR_SEL			118
133*d84982dbSRyder Lee #define CLK_TOP_ASM_I_SEL			119
134*d84982dbSRyder Lee #define CLK_TOP_ASM_M_SEL			120
135*d84982dbSRyder Lee #define CLK_TOP_ASM_H_SEL			121
136*d84982dbSRyder Lee #define CLK_TOP_MS_CARD_SEL			122
137*d84982dbSRyder Lee #define CLK_TOP_ETHIF_SEL			123
138*d84982dbSRyder Lee #define CLK_TOP_HDMIRX26_24_SEL			124
139*d84982dbSRyder Lee #define CLK_TOP_MSDC30_3_SEL			125
140*d84982dbSRyder Lee #define CLK_TOP_CMSYS_SEL			126
141*d84982dbSRyder Lee #define CLK_TOP_SPI1_SEL			127
142*d84982dbSRyder Lee #define CLK_TOP_SPI2_SEL			128
143*d84982dbSRyder Lee #define CLK_TOP_8BDAC_SEL			129
144*d84982dbSRyder Lee #define CLK_TOP_AUD2DVD_SEL			130
145*d84982dbSRyder Lee #define CLK_TOP_PADMCLK_SEL			131
146*d84982dbSRyder Lee #define CLK_TOP_AUD_MUX1_SEL			132
147*d84982dbSRyder Lee #define CLK_TOP_AUD_MUX2_SEL			133
148*d84982dbSRyder Lee #define CLK_TOP_AUDPLL_MUX_SEL			134
149*d84982dbSRyder Lee #define CLK_TOP_AUD_K1_SRC_SEL			135
150*d84982dbSRyder Lee #define CLK_TOP_AUD_K2_SRC_SEL			136
151*d84982dbSRyder Lee #define CLK_TOP_AUD_K3_SRC_SEL			137
152*d84982dbSRyder Lee #define CLK_TOP_AUD_K4_SRC_SEL			138
153*d84982dbSRyder Lee #define CLK_TOP_AUD_K5_SRC_SEL			139
154*d84982dbSRyder Lee #define CLK_TOP_AUD_K6_SRC_SEL			140
155*d84982dbSRyder Lee 
156*d84982dbSRyder Lee #define CLK_TOP_AUD_EXTCK1_DIV			141
157*d84982dbSRyder Lee #define CLK_TOP_AUD_EXTCK2_DIV			142
158*d84982dbSRyder Lee #define CLK_TOP_AUD_MUX1_DIV			143
159*d84982dbSRyder Lee #define CLK_TOP_AUD_MUX2_DIV			144
160*d84982dbSRyder Lee #define CLK_TOP_AUD_K1_SRC_DIV			145
161*d84982dbSRyder Lee #define CLK_TOP_AUD_K2_SRC_DIV			146
162*d84982dbSRyder Lee #define CLK_TOP_AUD_K3_SRC_DIV			147
163*d84982dbSRyder Lee #define CLK_TOP_AUD_K4_SRC_DIV			148
164*d84982dbSRyder Lee #define CLK_TOP_AUD_K5_SRC_DIV			149
165*d84982dbSRyder Lee #define CLK_TOP_AUD_K6_SRC_DIV			150
166*d84982dbSRyder Lee #define CLK_TOP_AUD_48K_TIMING			151
167*d84982dbSRyder Lee #define CLK_TOP_AUD_44K_TIMING			152
168*d84982dbSRyder Lee #define CLK_TOP_AUD_I2S1_MCLK			153
169*d84982dbSRyder Lee #define CLK_TOP_AUD_I2S2_MCLK			154
170*d84982dbSRyder Lee #define CLK_TOP_AUD_I2S3_MCLK			155
171*d84982dbSRyder Lee #define CLK_TOP_AUD_I2S4_MCLK			156
172*d84982dbSRyder Lee #define CLK_TOP_AUD_I2S5_MCLK			157
173*d84982dbSRyder Lee #define CLK_TOP_AUD_I2S6_MCLK			158
174*d84982dbSRyder Lee #define CLK_TOP_NR				159
175*d84982dbSRyder Lee 
176*d84982dbSRyder Lee /* APMIXEDSYS */
177*d84982dbSRyder Lee #define CLK_APMIXED_ARMPLL			0
178*d84982dbSRyder Lee #define CLK_APMIXED_MAINPLL			1
179*d84982dbSRyder Lee #define CLK_APMIXED_UNIVPLL			2
180*d84982dbSRyder Lee #define CLK_APMIXED_MMPLL			3
181*d84982dbSRyder Lee #define CLK_APMIXED_MSDCPLL			4
182*d84982dbSRyder Lee #define CLK_APMIXED_TVDPLL			5
183*d84982dbSRyder Lee #define CLK_APMIXED_AUD1PLL			6
184*d84982dbSRyder Lee #define CLK_APMIXED_TRGPLL			7
185*d84982dbSRyder Lee #define CLK_APMIXED_ETHPLL			8
186*d84982dbSRyder Lee #define CLK_APMIXED_VDECPLL			9
187*d84982dbSRyder Lee #define CLK_APMIXED_HADDS2PLL			10
188*d84982dbSRyder Lee #define CLK_APMIXED_AUD2PLL			11
189*d84982dbSRyder Lee #define CLK_APMIXED_TVD2PLL			12
190*d84982dbSRyder Lee #define CLK_APMIXED_NR				13
191*d84982dbSRyder Lee 
192*d84982dbSRyder Lee /* INFRACFG */
193*d84982dbSRyder Lee #define CLK_INFRA_DBG				0
194*d84982dbSRyder Lee #define CLK_INFRA_SMI				1
195*d84982dbSRyder Lee #define CLK_INFRA_QAXI_CM4			2
196*d84982dbSRyder Lee #define CLK_INFRA_AUD_SPLIN_B			3
197*d84982dbSRyder Lee #define CLK_INFRA_AUDIO				4
198*d84982dbSRyder Lee #define CLK_INFRA_EFUSE				5
199*d84982dbSRyder Lee #define CLK_INFRA_L2C_SRAM			6
200*d84982dbSRyder Lee #define CLK_INFRA_M4U				7
201*d84982dbSRyder Lee #define CLK_INFRA_CONNMCU			8
202*d84982dbSRyder Lee #define CLK_INFRA_TRNG				9
203*d84982dbSRyder Lee #define CLK_INFRA_RAMBUFIF			10
204*d84982dbSRyder Lee #define CLK_INFRA_CPUM				11
205*d84982dbSRyder Lee #define CLK_INFRA_KP				12
206*d84982dbSRyder Lee #define CLK_INFRA_CEC				13
207*d84982dbSRyder Lee #define CLK_INFRA_IRRX				14
208*d84982dbSRyder Lee #define CLK_INFRA_PMICSPI			15
209*d84982dbSRyder Lee #define CLK_INFRA_PMICWRAP			16
210*d84982dbSRyder Lee #define CLK_INFRA_DDCCI				17
211*d84982dbSRyder Lee #define CLK_INFRA_CPUSEL			18
212*d84982dbSRyder Lee #define CLK_INFRA_NR				19
213*d84982dbSRyder Lee 
214*d84982dbSRyder Lee /* PERICFG */
215*d84982dbSRyder Lee #define CLK_PERI_NFI				0
216*d84982dbSRyder Lee #define CLK_PERI_THERM				1
217*d84982dbSRyder Lee #define CLK_PERI_PWM1				2
218*d84982dbSRyder Lee #define CLK_PERI_PWM2				3
219*d84982dbSRyder Lee #define CLK_PERI_PWM3				4
220*d84982dbSRyder Lee #define CLK_PERI_PWM4				5
221*d84982dbSRyder Lee #define CLK_PERI_PWM5				6
222*d84982dbSRyder Lee #define CLK_PERI_PWM6				7
223*d84982dbSRyder Lee #define CLK_PERI_PWM7				8
224*d84982dbSRyder Lee #define CLK_PERI_PWM				9
225*d84982dbSRyder Lee #define CLK_PERI_USB0				10
226*d84982dbSRyder Lee #define CLK_PERI_USB1				11
227*d84982dbSRyder Lee #define CLK_PERI_AP_DMA				12
228*d84982dbSRyder Lee #define CLK_PERI_MSDC30_0			13
229*d84982dbSRyder Lee #define CLK_PERI_MSDC30_1			14
230*d84982dbSRyder Lee #define CLK_PERI_MSDC30_2			15
231*d84982dbSRyder Lee #define CLK_PERI_MSDC30_3			16
232*d84982dbSRyder Lee #define CLK_PERI_MSDC50_3			17
233*d84982dbSRyder Lee #define CLK_PERI_NLI				18
234*d84982dbSRyder Lee #define CLK_PERI_UART0				19
235*d84982dbSRyder Lee #define CLK_PERI_UART1				20
236*d84982dbSRyder Lee #define CLK_PERI_UART2				21
237*d84982dbSRyder Lee #define CLK_PERI_UART3				22
238*d84982dbSRyder Lee #define CLK_PERI_BTIF				23
239*d84982dbSRyder Lee #define CLK_PERI_I2C0				24
240*d84982dbSRyder Lee #define CLK_PERI_I2C1				25
241*d84982dbSRyder Lee #define CLK_PERI_I2C2				26
242*d84982dbSRyder Lee #define CLK_PERI_I2C3				27
243*d84982dbSRyder Lee #define CLK_PERI_AUXADC				28
244*d84982dbSRyder Lee #define CLK_PERI_SPI0				39
245*d84982dbSRyder Lee #define CLK_PERI_ETH				30
246*d84982dbSRyder Lee #define CLK_PERI_USB0_MCU			31
247*d84982dbSRyder Lee 
248*d84982dbSRyder Lee #define CLK_PERI_USB1_MCU			32
249*d84982dbSRyder Lee #define CLK_PERI_USB_SLV			33
250*d84982dbSRyder Lee #define CLK_PERI_GCPU				34
251*d84982dbSRyder Lee #define CLK_PERI_NFI_ECC			35
252*d84982dbSRyder Lee #define CLK_PERI_NFI_PAD			36
253*d84982dbSRyder Lee #define CLK_PERI_FLASH				37
254*d84982dbSRyder Lee #define CLK_PERI_HOST89_INT			38
255*d84982dbSRyder Lee #define CLK_PERI_HOST89_SPI			39
256*d84982dbSRyder Lee #define CLK_PERI_HOST89_DVD			40
257*d84982dbSRyder Lee #define CLK_PERI_SPI1				41
258*d84982dbSRyder Lee #define CLK_PERI_SPI2				42
259*d84982dbSRyder Lee #define CLK_PERI_FCI				43
260*d84982dbSRyder Lee #define CLK_PERI_NR				44
261*d84982dbSRyder Lee 
262*d84982dbSRyder Lee /* AUDIO */
263*d84982dbSRyder Lee #define CLK_AUD_AFE				0
264*d84982dbSRyder Lee #define CLK_AUD_LRCK_DETECT			1
265*d84982dbSRyder Lee #define CLK_AUD_I2S				2
266*d84982dbSRyder Lee #define CLK_AUD_APLL_TUNER			3
267*d84982dbSRyder Lee #define CLK_AUD_HDMI				4
268*d84982dbSRyder Lee #define CLK_AUD_SPDF				5
269*d84982dbSRyder Lee #define CLK_AUD_SPDF2				6
270*d84982dbSRyder Lee #define CLK_AUD_APLL				7
271*d84982dbSRyder Lee #define CLK_AUD_TML				8
272*d84982dbSRyder Lee #define CLK_AUD_AHB_IDLE_EXT			9
273*d84982dbSRyder Lee #define CLK_AUD_AHB_IDLE_INT			10
274*d84982dbSRyder Lee 
275*d84982dbSRyder Lee #define CLK_AUD_I2SIN1				11
276*d84982dbSRyder Lee #define CLK_AUD_I2SIN2				12
277*d84982dbSRyder Lee #define CLK_AUD_I2SIN3				13
278*d84982dbSRyder Lee #define CLK_AUD_I2SIN4				14
279*d84982dbSRyder Lee #define CLK_AUD_I2SIN5				15
280*d84982dbSRyder Lee #define CLK_AUD_I2SIN6				16
281*d84982dbSRyder Lee #define CLK_AUD_I2SO1				17
282*d84982dbSRyder Lee #define CLK_AUD_I2SO2				18
283*d84982dbSRyder Lee #define CLK_AUD_I2SO3				19
284*d84982dbSRyder Lee #define CLK_AUD_I2SO4				20
285*d84982dbSRyder Lee #define CLK_AUD_I2SO5				21
286*d84982dbSRyder Lee #define CLK_AUD_I2SO6				22
287*d84982dbSRyder Lee #define CLK_AUD_ASRCI1				23
288*d84982dbSRyder Lee #define CLK_AUD_ASRCI2				24
289*d84982dbSRyder Lee #define CLK_AUD_ASRCO1				25
290*d84982dbSRyder Lee #define CLK_AUD_ASRCO2				26
291*d84982dbSRyder Lee #define CLK_AUD_ASRC11				27
292*d84982dbSRyder Lee #define CLK_AUD_ASRC12				28
293*d84982dbSRyder Lee #define CLK_AUD_HDMIRX				29
294*d84982dbSRyder Lee #define CLK_AUD_INTDIR				30
295*d84982dbSRyder Lee #define CLK_AUD_A1SYS				31
296*d84982dbSRyder Lee #define CLK_AUD_A2SYS				32
297*d84982dbSRyder Lee #define CLK_AUD_AFE_CONN			33
298*d84982dbSRyder Lee #define CLK_AUD_AFE_PCMIF			34
299*d84982dbSRyder Lee #define CLK_AUD_AFE_MRGIF			35
300*d84982dbSRyder Lee 
301*d84982dbSRyder Lee #define CLK_AUD_MMIF_UL1			36
302*d84982dbSRyder Lee #define CLK_AUD_MMIF_UL2			37
303*d84982dbSRyder Lee #define CLK_AUD_MMIF_UL3			38
304*d84982dbSRyder Lee #define CLK_AUD_MMIF_UL4			39
305*d84982dbSRyder Lee #define CLK_AUD_MMIF_UL5			40
306*d84982dbSRyder Lee #define CLK_AUD_MMIF_UL6			41
307*d84982dbSRyder Lee #define CLK_AUD_MMIF_DL1			42
308*d84982dbSRyder Lee #define CLK_AUD_MMIF_DL2			43
309*d84982dbSRyder Lee #define CLK_AUD_MMIF_DL3			44
310*d84982dbSRyder Lee #define CLK_AUD_MMIF_DL4			45
311*d84982dbSRyder Lee #define CLK_AUD_MMIF_DL5			46
312*d84982dbSRyder Lee #define CLK_AUD_MMIF_DL6			47
313*d84982dbSRyder Lee #define CLK_AUD_MMIF_DLMCH			48
314*d84982dbSRyder Lee #define CLK_AUD_MMIF_ARB1			49
315*d84982dbSRyder Lee #define CLK_AUD_MMIF_AWB1			50
316*d84982dbSRyder Lee #define CLK_AUD_MMIF_AWB2			51
317*d84982dbSRyder Lee #define CLK_AUD_MMIF_DAI			52
318*d84982dbSRyder Lee 
319*d84982dbSRyder Lee #define CLK_AUD_DMIC1				53
320*d84982dbSRyder Lee #define CLK_AUD_DMIC2				54
321*d84982dbSRyder Lee #define CLK_AUD_ASRCI3				55
322*d84982dbSRyder Lee #define CLK_AUD_ASRCI4				56
323*d84982dbSRyder Lee #define CLK_AUD_ASRCI5				57
324*d84982dbSRyder Lee #define CLK_AUD_ASRCI6				58
325*d84982dbSRyder Lee #define CLK_AUD_ASRCO3				59
326*d84982dbSRyder Lee #define CLK_AUD_ASRCO4				60
327*d84982dbSRyder Lee #define CLK_AUD_ASRCO5				61
328*d84982dbSRyder Lee #define CLK_AUD_ASRCO6				62
329*d84982dbSRyder Lee #define CLK_AUD_MEM_ASRC1			63
330*d84982dbSRyder Lee #define CLK_AUD_MEM_ASRC2			64
331*d84982dbSRyder Lee #define CLK_AUD_MEM_ASRC3			65
332*d84982dbSRyder Lee #define CLK_AUD_MEM_ASRC4			66
333*d84982dbSRyder Lee #define CLK_AUD_MEM_ASRC5			67
334*d84982dbSRyder Lee #define CLK_AUD_DSD_ENC				68
335*d84982dbSRyder Lee #define CLK_AUD_ASRC_BRG			60
336*d84982dbSRyder Lee #define CLK_AUD_NR				70
337*d84982dbSRyder Lee 
338*d84982dbSRyder Lee /* MMSYS */
339*d84982dbSRyder Lee #define CLK_MM_SMI_COMMON			0
340*d84982dbSRyder Lee #define CLK_MM_SMI_LARB0			1
341*d84982dbSRyder Lee #define CLK_MM_CMDQ				2
342*d84982dbSRyder Lee #define CLK_MM_MUTEX				3
343*d84982dbSRyder Lee #define CLK_MM_DISP_COLOR			4
344*d84982dbSRyder Lee #define CLK_MM_DISP_BLS				5
345*d84982dbSRyder Lee #define CLK_MM_DISP_WDMA			6
346*d84982dbSRyder Lee #define CLK_MM_DISP_RDMA			7
347*d84982dbSRyder Lee #define CLK_MM_DISP_OVL				8
348*d84982dbSRyder Lee #define CLK_MM_MDP_TDSHP			9
349*d84982dbSRyder Lee #define CLK_MM_MDP_WROT				10
350*d84982dbSRyder Lee #define CLK_MM_MDP_WDMA				11
351*d84982dbSRyder Lee #define CLK_MM_MDP_RSZ1				12
352*d84982dbSRyder Lee #define CLK_MM_MDP_RSZ0				13
353*d84982dbSRyder Lee #define CLK_MM_MDP_RDMA				14
354*d84982dbSRyder Lee #define CLK_MM_MDP_BLS_26M			15
355*d84982dbSRyder Lee #define CLK_MM_CAM_MDP				16
356*d84982dbSRyder Lee #define CLK_MM_FAKE_ENG				17
357*d84982dbSRyder Lee #define CLK_MM_MUTEX_32K			18
358*d84982dbSRyder Lee #define CLK_MM_DISP_RDMA1			19
359*d84982dbSRyder Lee #define CLK_MM_DISP_UFOE			20
360*d84982dbSRyder Lee 
361*d84982dbSRyder Lee #define CLK_MM_DSI_ENGINE			21
362*d84982dbSRyder Lee #define CLK_MM_DSI_DIG				22
363*d84982dbSRyder Lee #define CLK_MM_DPI_DIGL				23
364*d84982dbSRyder Lee #define CLK_MM_DPI_ENGINE			24
365*d84982dbSRyder Lee #define CLK_MM_DPI1_DIGL			25
366*d84982dbSRyder Lee #define CLK_MM_DPI1_ENGINE			26
367*d84982dbSRyder Lee #define CLK_MM_TVE_OUTPUT			27
368*d84982dbSRyder Lee #define CLK_MM_TVE_INPUT			28
369*d84982dbSRyder Lee #define CLK_MM_HDMI_PIXEL			29
370*d84982dbSRyder Lee #define CLK_MM_HDMI_PLL				30
371*d84982dbSRyder Lee #define CLK_MM_HDMI_AUDIO			31
372*d84982dbSRyder Lee #define CLK_MM_HDMI_SPDIF			32
373*d84982dbSRyder Lee #define CLK_MM_TVE_FMM				33
374*d84982dbSRyder Lee #define CLK_MM_NR				34
375*d84982dbSRyder Lee 
376*d84982dbSRyder Lee /* IMGSYS */
377*d84982dbSRyder Lee #define CLK_IMG_SMI_COMM			0
378*d84982dbSRyder Lee #define CLK_IMG_RESZ				1
379*d84982dbSRyder Lee #define CLK_IMG_JPGDEC_SMI			2
380*d84982dbSRyder Lee #define CLK_IMG_JPGDEC				3
381*d84982dbSRyder Lee #define CLK_IMG_VENC_LT				4
382*d84982dbSRyder Lee #define CLK_IMG_VENC				5
383*d84982dbSRyder Lee #define CLK_IMG_NR				6
384*d84982dbSRyder Lee 
385*d84982dbSRyder Lee /* VDEC */
386*d84982dbSRyder Lee #define CLK_VDEC_CKGEN				0
387*d84982dbSRyder Lee #define CLK_VDEC_LARB				1
388*d84982dbSRyder Lee #define CLK_VDEC_NR				2
389*d84982dbSRyder Lee 
390*d84982dbSRyder Lee /* HIFSYS */
391*d84982dbSRyder Lee #define CLK_HIFSYS_USB0PHY			0
392*d84982dbSRyder Lee #define CLK_HIFSYS_USB1PHY			1
393*d84982dbSRyder Lee #define CLK_HIFSYS_PCIE0			2
394*d84982dbSRyder Lee #define CLK_HIFSYS_PCIE1			3
395*d84982dbSRyder Lee #define CLK_HIFSYS_PCIE2			4
396*d84982dbSRyder Lee #define CLK_HIFSYS_NR				5
397*d84982dbSRyder Lee 
398*d84982dbSRyder Lee /* ETHSYS */
399*d84982dbSRyder Lee #define CLK_ETHSYS_HSDMA			0
400*d84982dbSRyder Lee #define CLK_ETHSYS_ESW				1
401*d84982dbSRyder Lee #define CLK_ETHSYS_GP2				2
402*d84982dbSRyder Lee #define CLK_ETHSYS_GP1				3
403*d84982dbSRyder Lee #define CLK_ETHSYS_PCM				4
404*d84982dbSRyder Lee #define CLK_ETHSYS_GDMA				5
405*d84982dbSRyder Lee #define CLK_ETHSYS_I2S				6
406*d84982dbSRyder Lee #define CLK_ETHSYS_CRYPTO			7
407*d84982dbSRyder Lee #define CLK_ETHSYS_NR				8
408*d84982dbSRyder Lee 
409*d84982dbSRyder Lee /* G3DSYS */
410*d84982dbSRyder Lee #define CLK_G3DSYS_CORE				0
411*d84982dbSRyder Lee #define CLK_G3DSYS_NR				1
412*d84982dbSRyder Lee 
413*d84982dbSRyder Lee #endif /* _DT_BINDINGS_CLK_MT2701_H */
414