xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,rpmcc.h (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
2c66ec88fSEmmanuel Vadot /*
3c66ec88fSEmmanuel Vadot  * Copyright 2015 Linaro Limited
4c66ec88fSEmmanuel Vadot  */
5c66ec88fSEmmanuel Vadot 
6c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_MSM_RPMCC_H
7c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLK_MSM_RPMCC_H
8c66ec88fSEmmanuel Vadot 
9c66ec88fSEmmanuel Vadot /* RPM clocks */
10c66ec88fSEmmanuel Vadot #define RPM_PXO_CLK				0
11c66ec88fSEmmanuel Vadot #define RPM_PXO_A_CLK				1
12c66ec88fSEmmanuel Vadot #define RPM_CXO_CLK				2
13c66ec88fSEmmanuel Vadot #define RPM_CXO_A_CLK				3
14c66ec88fSEmmanuel Vadot #define RPM_APPS_FABRIC_CLK			4
15c66ec88fSEmmanuel Vadot #define RPM_APPS_FABRIC_A_CLK			5
16c66ec88fSEmmanuel Vadot #define RPM_CFPB_CLK				6
17c66ec88fSEmmanuel Vadot #define RPM_CFPB_A_CLK				7
18c66ec88fSEmmanuel Vadot #define RPM_QDSS_CLK				8
19c66ec88fSEmmanuel Vadot #define RPM_QDSS_A_CLK				9
20c66ec88fSEmmanuel Vadot #define RPM_DAYTONA_FABRIC_CLK			10
21c66ec88fSEmmanuel Vadot #define RPM_DAYTONA_FABRIC_A_CLK		11
22c66ec88fSEmmanuel Vadot #define RPM_EBI1_CLK				12
23c66ec88fSEmmanuel Vadot #define RPM_EBI1_A_CLK				13
24c66ec88fSEmmanuel Vadot #define RPM_MM_FABRIC_CLK			14
25c66ec88fSEmmanuel Vadot #define RPM_MM_FABRIC_A_CLK			15
26c66ec88fSEmmanuel Vadot #define RPM_MMFPB_CLK				16
27c66ec88fSEmmanuel Vadot #define RPM_MMFPB_A_CLK				17
28c66ec88fSEmmanuel Vadot #define RPM_SYS_FABRIC_CLK			18
29c66ec88fSEmmanuel Vadot #define RPM_SYS_FABRIC_A_CLK			19
30c66ec88fSEmmanuel Vadot #define RPM_SFPB_CLK				20
31c66ec88fSEmmanuel Vadot #define RPM_SFPB_A_CLK				21
32c66ec88fSEmmanuel Vadot #define RPM_SMI_CLK				22
33c66ec88fSEmmanuel Vadot #define RPM_SMI_A_CLK				23
34c66ec88fSEmmanuel Vadot #define RPM_PLL4_CLK				24
35c66ec88fSEmmanuel Vadot #define RPM_XO_D0				25
36c66ec88fSEmmanuel Vadot #define RPM_XO_D1				26
37c66ec88fSEmmanuel Vadot #define RPM_XO_A0				27
38c66ec88fSEmmanuel Vadot #define RPM_XO_A1				28
39c66ec88fSEmmanuel Vadot #define RPM_XO_A2				29
40c66ec88fSEmmanuel Vadot #define RPM_NSS_FABRIC_0_CLK			30
41c66ec88fSEmmanuel Vadot #define RPM_NSS_FABRIC_0_A_CLK			31
42c66ec88fSEmmanuel Vadot #define RPM_NSS_FABRIC_1_CLK			32
43c66ec88fSEmmanuel Vadot #define RPM_NSS_FABRIC_1_A_CLK			33
44c66ec88fSEmmanuel Vadot 
45c66ec88fSEmmanuel Vadot /* SMD RPM clocks */
46c66ec88fSEmmanuel Vadot #define RPM_SMD_XO_CLK_SRC				0
47c66ec88fSEmmanuel Vadot #define RPM_SMD_XO_A_CLK_SRC			1
48c66ec88fSEmmanuel Vadot #define RPM_SMD_PCNOC_CLK				2
49c66ec88fSEmmanuel Vadot #define RPM_SMD_PCNOC_A_CLK				3
50c66ec88fSEmmanuel Vadot #define RPM_SMD_SNOC_CLK				4
51c66ec88fSEmmanuel Vadot #define RPM_SMD_SNOC_A_CLK				5
52c66ec88fSEmmanuel Vadot #define RPM_SMD_BIMC_CLK				6
53c66ec88fSEmmanuel Vadot #define RPM_SMD_BIMC_A_CLK				7
54c66ec88fSEmmanuel Vadot #define RPM_SMD_QDSS_CLK				8
55c66ec88fSEmmanuel Vadot #define RPM_SMD_QDSS_A_CLK				9
56c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK1				10
57c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK1_A				11
58c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK2				12
59c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK2_A				13
60c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK1				14
61c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK1_A				15
62c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK2				16
63c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK2_A				17
64c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK1_PIN				18
65c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK1_A_PIN			19
66c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK2_PIN				20
67c66ec88fSEmmanuel Vadot #define RPM_SMD_BB_CLK2_A_PIN			21
68c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK1_PIN				22
69c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK1_A_PIN			23
70c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK2_PIN				24
71c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK2_A_PIN			25
72c66ec88fSEmmanuel Vadot #define RPM_SMD_PNOC_CLK			26
73c66ec88fSEmmanuel Vadot #define RPM_SMD_PNOC_A_CLK			27
74c66ec88fSEmmanuel Vadot #define RPM_SMD_CNOC_CLK			28
75c66ec88fSEmmanuel Vadot #define RPM_SMD_CNOC_A_CLK			29
76c66ec88fSEmmanuel Vadot #define RPM_SMD_MMSSNOC_AHB_CLK			30
77c66ec88fSEmmanuel Vadot #define RPM_SMD_MMSSNOC_AHB_A_CLK		31
78c66ec88fSEmmanuel Vadot #define RPM_SMD_GFX3D_CLK_SRC			32
79c66ec88fSEmmanuel Vadot #define RPM_SMD_GFX3D_A_CLK_SRC			33
80c66ec88fSEmmanuel Vadot #define RPM_SMD_OCMEMGX_CLK			34
81c66ec88fSEmmanuel Vadot #define RPM_SMD_OCMEMGX_A_CLK			35
82c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D0				36
83c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D0_A			37
84c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D1				38
85c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D1_A			39
86c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A0				40
87c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A0_A			41
88c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A1				42
89c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A1_A			43
90c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A2				44
91c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A2_A			45
92c66ec88fSEmmanuel Vadot #define RPM_SMD_DIV_CLK1			46
93c66ec88fSEmmanuel Vadot #define RPM_SMD_DIV_A_CLK1			47
94c66ec88fSEmmanuel Vadot #define RPM_SMD_DIV_CLK2			48
95c66ec88fSEmmanuel Vadot #define RPM_SMD_DIV_A_CLK2			49
96c66ec88fSEmmanuel Vadot #define RPM_SMD_DIFF_CLK			50
97c66ec88fSEmmanuel Vadot #define RPM_SMD_DIFF_A_CLK			51
98c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D0_PIN			52
99c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D0_A_PIN			53
100c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D1_PIN			54
101c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_D1_A_PIN			55
102c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A0_PIN			56
103c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A0_A_PIN			57
104c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A1_PIN			58
105c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A1_A_PIN			59
106c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A2_PIN			60
107c66ec88fSEmmanuel Vadot #define RPM_SMD_CXO_A2_A_PIN			61
108c66ec88fSEmmanuel Vadot #define RPM_SMD_AGGR1_NOC_CLK			62
109c66ec88fSEmmanuel Vadot #define RPM_SMD_AGGR1_NOC_A_CLK			63
110c66ec88fSEmmanuel Vadot #define RPM_SMD_AGGR2_NOC_CLK			64
111c66ec88fSEmmanuel Vadot #define RPM_SMD_AGGR2_NOC_A_CLK			65
112c66ec88fSEmmanuel Vadot #define RPM_SMD_MMAXI_CLK			66
113c66ec88fSEmmanuel Vadot #define RPM_SMD_MMAXI_A_CLK			67
114c66ec88fSEmmanuel Vadot #define RPM_SMD_IPA_CLK				68
115c66ec88fSEmmanuel Vadot #define RPM_SMD_IPA_A_CLK			69
116c66ec88fSEmmanuel Vadot #define RPM_SMD_CE1_CLK				70
117c66ec88fSEmmanuel Vadot #define RPM_SMD_CE1_A_CLK			71
118c66ec88fSEmmanuel Vadot #define RPM_SMD_DIV_CLK3			72
119c66ec88fSEmmanuel Vadot #define RPM_SMD_DIV_A_CLK3			73
120c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK			74
121c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_A_CLK			75
122c66ec88fSEmmanuel Vadot #define RPM_SMD_BIMC_GPU_CLK			76
123c66ec88fSEmmanuel Vadot #define RPM_SMD_BIMC_GPU_A_CLK			77
124c66ec88fSEmmanuel Vadot #define RPM_SMD_QPIC_CLK			78
125c66ec88fSEmmanuel Vadot #define RPM_SMD_QPIC_CLK_A			79
126c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK1			80
127c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK1_A			81
128c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK2			82
129c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK2_A			83
130c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK3_PIN			84
131c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK3_A_PIN		85
132c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK3				86
133c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK3_A			87
134c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK3_PIN			88
135c66ec88fSEmmanuel Vadot #define RPM_SMD_RF_CLK3_A_PIN			89
136c66ec88fSEmmanuel Vadot #define RPM_SMD_MMSSNOC_AXI_CLK			90
137c66ec88fSEmmanuel Vadot #define RPM_SMD_MMSSNOC_AXI_CLK_A		91
138c66ec88fSEmmanuel Vadot #define RPM_SMD_CNOC_PERIPH_CLK			92
139c66ec88fSEmmanuel Vadot #define RPM_SMD_CNOC_PERIPH_A_CLK		93
140c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK3			94
141c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK3_A			95
142c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK1_PIN			96
143c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK1_A_PIN		97
144c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK2_PIN			98
145c66ec88fSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK2_A_PIN		99
146c66ec88fSEmmanuel Vadot #define RPM_SMD_SYSMMNOC_CLK			100
147c66ec88fSEmmanuel Vadot #define RPM_SMD_SYSMMNOC_A_CLK			101
148c66ec88fSEmmanuel Vadot #define RPM_SMD_CE2_CLK				102
149c66ec88fSEmmanuel Vadot #define RPM_SMD_CE2_A_CLK			103
150c66ec88fSEmmanuel Vadot #define RPM_SMD_CE3_CLK				104
151c66ec88fSEmmanuel Vadot #define RPM_SMD_CE3_A_CLK			105
152354d7675SEmmanuel Vadot #define RPM_SMD_QUP_CLK				106
153354d7675SEmmanuel Vadot #define RPM_SMD_QUP_A_CLK			107
154354d7675SEmmanuel Vadot #define RPM_SMD_MMRT_CLK			108
155354d7675SEmmanuel Vadot #define RPM_SMD_MMRT_A_CLK			109
156354d7675SEmmanuel Vadot #define RPM_SMD_MMNRT_CLK			110
157354d7675SEmmanuel Vadot #define RPM_SMD_MMNRT_A_CLK			111
158354d7675SEmmanuel Vadot #define RPM_SMD_SNOC_PERIPH_CLK			112
159354d7675SEmmanuel Vadot #define RPM_SMD_SNOC_PERIPH_A_CLK		113
160354d7675SEmmanuel Vadot #define RPM_SMD_SNOC_LPASS_CLK			114
161354d7675SEmmanuel Vadot #define RPM_SMD_SNOC_LPASS_A_CLK		115
1628cc087a1SEmmanuel Vadot #define RPM_SMD_HWKM_CLK			116
1638cc087a1SEmmanuel Vadot #define RPM_SMD_HWKM_A_CLK			117
1648cc087a1SEmmanuel Vadot #define RPM_SMD_PKA_CLK				118
1658cc087a1SEmmanuel Vadot #define RPM_SMD_PKA_A_CLK			119
1668cc087a1SEmmanuel Vadot #define RPM_SMD_CPUSS_GNOC_CLK			120
1678cc087a1SEmmanuel Vadot #define RPM_SMD_CPUSS_GNOC_A_CLK		121
168c9ccf3a3SEmmanuel Vadot #define RPM_SMD_MSS_CFG_AHB_CLK		122
169c9ccf3a3SEmmanuel Vadot #define RPM_SMD_MSS_CFG_AHB_A_CLK		123
1707ef62cebSEmmanuel Vadot #define RPM_SMD_BIMC_FREQ_LOG			124
171*cb7aa33aSEmmanuel Vadot #define RPM_SMD_LN_BB_CLK_PIN			125
172*cb7aa33aSEmmanuel Vadot #define RPM_SMD_LN_BB_A_CLK_PIN			126
173c66ec88fSEmmanuel Vadot 
174c66ec88fSEmmanuel Vadot #endif
175