xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/samsung,exynosautov920.h (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*b2d2a78aSEmmanuel Vadot /*
3*b2d2a78aSEmmanuel Vadot  * Copyright (c) 2024 Samsung Electronics Co., Ltd.
4*b2d2a78aSEmmanuel Vadot  * Author: Sunyeal Hong <sunyeal.hong@samsung.com>
5*b2d2a78aSEmmanuel Vadot  *
6*b2d2a78aSEmmanuel Vadot  * Device Tree binding constants for ExynosAuto v920 clock controller.
7*b2d2a78aSEmmanuel Vadot  */
8*b2d2a78aSEmmanuel Vadot 
9*b2d2a78aSEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H
10*b2d2a78aSEmmanuel Vadot #define _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H
11*b2d2a78aSEmmanuel Vadot 
12*b2d2a78aSEmmanuel Vadot /* CMU_TOP */
13*b2d2a78aSEmmanuel Vadot #define FOUT_SHARED0_PLL		1
14*b2d2a78aSEmmanuel Vadot #define FOUT_SHARED1_PLL		2
15*b2d2a78aSEmmanuel Vadot #define FOUT_SHARED2_PLL		3
16*b2d2a78aSEmmanuel Vadot #define FOUT_SHARED3_PLL		4
17*b2d2a78aSEmmanuel Vadot #define FOUT_SHARED4_PLL		5
18*b2d2a78aSEmmanuel Vadot #define FOUT_SHARED5_PLL		6
19*b2d2a78aSEmmanuel Vadot #define FOUT_MMC_PLL			7
20*b2d2a78aSEmmanuel Vadot 
21*b2d2a78aSEmmanuel Vadot /* MUX in CMU_TOP */
22*b2d2a78aSEmmanuel Vadot #define MOUT_SHARED0_PLL		8
23*b2d2a78aSEmmanuel Vadot #define MOUT_SHARED1_PLL		9
24*b2d2a78aSEmmanuel Vadot #define MOUT_SHARED2_PLL		10
25*b2d2a78aSEmmanuel Vadot #define MOUT_SHARED3_PLL		11
26*b2d2a78aSEmmanuel Vadot #define MOUT_SHARED4_PLL		12
27*b2d2a78aSEmmanuel Vadot #define MOUT_SHARED5_PLL		13
28*b2d2a78aSEmmanuel Vadot #define MOUT_MMC_PLL			14
29*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CMU_BOOST		15
30*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CMU_CMUREF		16
31*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_ACC_NOC		17
32*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_ACC_ORB		18
33*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_APM_NOC		19
34*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_AUD_CPU		20
35*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_AUD_NOC		21
36*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CPUCL0_SWITCH	22
37*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CPUCL0_CLUSTER	23
38*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CPUCL0_DBG		24
39*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CPUCL1_SWITCH	25
40*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CPUCL1_CLUSTER	26
41*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CPUCL2_SWITCH	27
42*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_CPUCL2_CLUSTER	28
43*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DNC_NOC		29
44*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPTX_NOC		30
45*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPTX_DPGTC		31
46*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPTX_DPOSC		32
47*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPUB_NOC		33
48*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPUB_DSIM		34
49*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPUF0_NOC		35
50*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPUF1_NOC		36
51*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DPUF2_NOC		37
52*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_DSP_NOC		38
53*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_G3D_SWITCH		39
54*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_G3D_NOCP		40
55*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_GNPU_NOC		41
56*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI0_NOC		42
57*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI1_NOC		43
58*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI1_USBDRD		44
59*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI1_MMC_CARD	45
60*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI2_NOC		46
61*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI2_NOC_UFS	47
62*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI2_UFS_EMBD	48
63*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_HSI2_ETHERNET	49
64*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_ISP_NOC		50
65*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_M2M_NOC		51
66*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_M2M_JPEG		52
67*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_MFC_MFC		53
68*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_MFC_WFD		54
69*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_MFD_NOC		55
70*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_MIF_SWITCH		56
71*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_MIF_NOCP		57
72*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_MISC_NOC		58
73*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_NOCL0_NOC		59
74*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_NOCL1_NOC		60
75*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_NOCL2_NOC		61
76*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_PERIC0_NOC		62
77*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_PERIC0_IP		63
78*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_PERIC1_NOC		64
79*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_PERIC1_IP		65
80*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_SDMA_NOC		66
81*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_SNW_NOC		67
82*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_SSP_NOC		68
83*b2d2a78aSEmmanuel Vadot #define MOUT_CLKCMU_TAA_NOC		69
84*b2d2a78aSEmmanuel Vadot 
85*b2d2a78aSEmmanuel Vadot /* DIV in CMU_TOP */
86*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED0_DIV1		70
87*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED0_DIV2		71
88*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED0_DIV3		72
89*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED0_DIV4		73
90*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED1_DIV1		74
91*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED1_DIV2		75
92*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED1_DIV3		76
93*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED1_DIV4		77
94*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED2_DIV1		78
95*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED2_DIV2		79
96*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED2_DIV3		80
97*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED2_DIV4		81
98*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED3_DIV1		82
99*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED3_DIV2		83
100*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED3_DIV3		84
101*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED3_DIV4		85
102*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED4_DIV1		86
103*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED4_DIV2		87
104*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED4_DIV3		88
105*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED4_DIV4		89
106*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED5_DIV1		90
107*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED5_DIV2		91
108*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED5_DIV3		92
109*b2d2a78aSEmmanuel Vadot #define DOUT_SHARED5_DIV4		93
110*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CMU_BOOST		94
111*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_ACC_NOC		95
112*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_ACC_ORB		96
113*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_APM_NOC		97
114*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_AUD_CPU		98
115*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_AUD_NOC		99
116*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CPUCL0_SWITCH	100
117*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CPUCL0_CLUSTER	101
118*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CPUCL0_DBG		102
119*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CPUCL1_SWITCH	103
120*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CPUCL1_CLUSTER	104
121*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CPUCL2_SWITCH	105
122*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_CPUCL2_CLUSTER	106
123*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DNC_NOC		107
124*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPTX_NOC		108
125*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPTX_DPGTC		109
126*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPTX_DPOSC		110
127*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPUB_NOC		111
128*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPUB_DSIM		112
129*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPUF0_NOC		113
130*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPUF1_NOC		114
131*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DPUF2_NOC		115
132*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_DSP_NOC		116
133*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_G3D_SWITCH		117
134*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_G3D_NOCP		118
135*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_GNPU_NOC		119
136*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI0_NOC		120
137*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI1_NOC		121
138*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI1_USBDRD		122
139*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI1_MMC_CARD	123
140*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI2_NOC		124
141*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI2_NOC_UFS	125
142*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI2_UFS_EMBD	126
143*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_HSI2_ETHERNET	127
144*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_ISP_NOC		128
145*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_M2M_NOC		129
146*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_M2M_JPEG		130
147*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_MFC_MFC		131
148*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_MFC_WFD		132
149*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_MFD_NOC		133
150*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_MIF_NOCP		134
151*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_MISC_NOC		135
152*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_NOCL0_NOC		136
153*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_NOCL1_NOC		137
154*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_NOCL2_NOC		138
155*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_PERIC0_NOC		139
156*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_PERIC0_IP		140
157*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_PERIC1_NOC		141
158*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_PERIC1_IP		142
159*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_SDMA_NOC		143
160*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_SNW_NOC		144
161*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_SSP_NOC		145
162*b2d2a78aSEmmanuel Vadot #define DOUT_CLKCMU_TAA_NOC		146
163*b2d2a78aSEmmanuel Vadot 
164*b2d2a78aSEmmanuel Vadot /* CMU_PERIC0 */
165*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_IP_USER		1
166*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_NOC_USER	2
167*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI00_USI	3
168*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI01_USI	4
169*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI02_USI	5
170*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI03_USI	6
171*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI04_USI	7
172*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI05_USI	8
173*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI06_USI	9
174*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI07_USI	10
175*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI08_USI	11
176*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_USI_I2C		12
177*b2d2a78aSEmmanuel Vadot #define CLK_MOUT_PERIC0_I3C		13
178*b2d2a78aSEmmanuel Vadot 
179*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI00_USI	14
180*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI01_USI	15
181*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI02_USI	16
182*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI03_USI	17
183*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI04_USI	18
184*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI05_USI	19
185*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI06_USI	20
186*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI07_USI	21
187*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI08_USI	22
188*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_USI_I2C		23
189*b2d2a78aSEmmanuel Vadot #define CLK_DOUT_PERIC0_I3C		24
190*b2d2a78aSEmmanuel Vadot 
191*b2d2a78aSEmmanuel Vadot #endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */
192