xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,gcc-ipq5018.h (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*aa1a8ff2SEmmanuel Vadot /*
3*aa1a8ff2SEmmanuel Vadot  * Copyright (c) 2023, The Linux Foundation. All rights reserved.
4*aa1a8ff2SEmmanuel Vadot  */
5*aa1a8ff2SEmmanuel Vadot 
6*aa1a8ff2SEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_IPQ_GCC_5018_H
7*aa1a8ff2SEmmanuel Vadot #define _DT_BINDINGS_CLOCK_IPQ_GCC_5018_H
8*aa1a8ff2SEmmanuel Vadot 
9*aa1a8ff2SEmmanuel Vadot #define GPLL0_MAIN					0
10*aa1a8ff2SEmmanuel Vadot #define GPLL0						1
11*aa1a8ff2SEmmanuel Vadot #define GPLL2_MAIN					2
12*aa1a8ff2SEmmanuel Vadot #define GPLL2						3
13*aa1a8ff2SEmmanuel Vadot #define GPLL4_MAIN					4
14*aa1a8ff2SEmmanuel Vadot #define GPLL4						5
15*aa1a8ff2SEmmanuel Vadot #define UBI32_PLL_MAIN					6
16*aa1a8ff2SEmmanuel Vadot #define UBI32_PLL					7
17*aa1a8ff2SEmmanuel Vadot #define ADSS_PWM_CLK_SRC				8
18*aa1a8ff2SEmmanuel Vadot #define BLSP1_QUP1_I2C_APPS_CLK_SRC			9
19*aa1a8ff2SEmmanuel Vadot #define BLSP1_QUP1_SPI_APPS_CLK_SRC			10
20*aa1a8ff2SEmmanuel Vadot #define BLSP1_QUP2_I2C_APPS_CLK_SRC			11
21*aa1a8ff2SEmmanuel Vadot #define BLSP1_QUP2_SPI_APPS_CLK_SRC			12
22*aa1a8ff2SEmmanuel Vadot #define BLSP1_QUP3_I2C_APPS_CLK_SRC			13
23*aa1a8ff2SEmmanuel Vadot #define BLSP1_QUP3_SPI_APPS_CLK_SRC			14
24*aa1a8ff2SEmmanuel Vadot #define BLSP1_UART1_APPS_CLK_SRC			15
25*aa1a8ff2SEmmanuel Vadot #define BLSP1_UART2_APPS_CLK_SRC			16
26*aa1a8ff2SEmmanuel Vadot #define CRYPTO_CLK_SRC					17
27*aa1a8ff2SEmmanuel Vadot #define GCC_ADSS_PWM_CLK				18
28*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_AHB_CLK				19
29*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_QUP1_I2C_APPS_CLK			20
30*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_QUP1_SPI_APPS_CLK			21
31*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_QUP2_I2C_APPS_CLK			22
32*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_QUP2_SPI_APPS_CLK			23
33*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_QUP3_I2C_APPS_CLK			24
34*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_QUP3_SPI_APPS_CLK			25
35*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_UART1_APPS_CLK			26
36*aa1a8ff2SEmmanuel Vadot #define GCC_BLSP1_UART2_APPS_CLK			27
37*aa1a8ff2SEmmanuel Vadot #define GCC_BTSS_LPO_CLK				28
38*aa1a8ff2SEmmanuel Vadot #define GCC_CMN_BLK_AHB_CLK				29
39*aa1a8ff2SEmmanuel Vadot #define GCC_CMN_BLK_SYS_CLK				30
40*aa1a8ff2SEmmanuel Vadot #define GCC_CRYPTO_AHB_CLK				31
41*aa1a8ff2SEmmanuel Vadot #define GCC_CRYPTO_AXI_CLK				32
42*aa1a8ff2SEmmanuel Vadot #define GCC_CRYPTO_CLK					33
43*aa1a8ff2SEmmanuel Vadot #define GCC_CRYPTO_PPE_CLK				34
44*aa1a8ff2SEmmanuel Vadot #define GCC_DCC_CLK					35
45*aa1a8ff2SEmmanuel Vadot #define GCC_GEPHY_RX_CLK				36
46*aa1a8ff2SEmmanuel Vadot #define GCC_GEPHY_TX_CLK				37
47*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC0_CFG_CLK				38
48*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC0_PTP_CLK				39
49*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC0_RX_CLK				40
50*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC0_SYS_CLK				41
51*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC0_TX_CLK				42
52*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC1_CFG_CLK				43
53*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC1_PTP_CLK				44
54*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC1_RX_CLK				45
55*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC1_SYS_CLK				46
56*aa1a8ff2SEmmanuel Vadot #define GCC_GMAC1_TX_CLK				47
57*aa1a8ff2SEmmanuel Vadot #define GCC_GP1_CLK					48
58*aa1a8ff2SEmmanuel Vadot #define GCC_GP2_CLK					49
59*aa1a8ff2SEmmanuel Vadot #define GCC_GP3_CLK					50
60*aa1a8ff2SEmmanuel Vadot #define GCC_LPASS_CORE_AXIM_CLK				51
61*aa1a8ff2SEmmanuel Vadot #define GCC_LPASS_SWAY_CLK				52
62*aa1a8ff2SEmmanuel Vadot #define GCC_MDIO0_AHB_CLK				53
63*aa1a8ff2SEmmanuel Vadot #define GCC_MDIO1_AHB_CLK				54
64*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE0_AHB_CLK				55
65*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE0_AUX_CLK				56
66*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE0_AXI_M_CLK				57
67*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE0_AXI_S_BRIDGE_CLK			58
68*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE0_AXI_S_CLK				59
69*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE0_PIPE_CLK				60
70*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE1_AHB_CLK				61
71*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE1_AUX_CLK				62
72*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE1_AXI_M_CLK				63
73*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE1_AXI_S_BRIDGE_CLK			64
74*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE1_AXI_S_CLK				65
75*aa1a8ff2SEmmanuel Vadot #define GCC_PCIE1_PIPE_CLK				66
76*aa1a8ff2SEmmanuel Vadot #define GCC_PRNG_AHB_CLK				67
77*aa1a8ff2SEmmanuel Vadot #define GCC_Q6_AXIM_CLK					68
78*aa1a8ff2SEmmanuel Vadot #define GCC_Q6_AXIM2_CLK				69
79*aa1a8ff2SEmmanuel Vadot #define GCC_Q6_AXIS_CLK					70
80*aa1a8ff2SEmmanuel Vadot #define GCC_Q6_AHB_CLK					71
81*aa1a8ff2SEmmanuel Vadot #define GCC_Q6_AHB_S_CLK				72
82*aa1a8ff2SEmmanuel Vadot #define GCC_Q6_TSCTR_1TO2_CLK				73
83*aa1a8ff2SEmmanuel Vadot #define GCC_Q6SS_ATBM_CLK				74
84*aa1a8ff2SEmmanuel Vadot #define GCC_Q6SS_PCLKDBG_CLK				75
85*aa1a8ff2SEmmanuel Vadot #define GCC_Q6SS_TRIG_CLK				76
86*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_AT_CLK					77
87*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_CFG_AHB_CLK				78
88*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_DAP_AHB_CLK				79
89*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_DAP_CLK				80
90*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_ETR_USB_CLK				81
91*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_EUD_AT_CLK				82
92*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_STM_CLK				83
93*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_TRACECLKIN_CLK				84
94*aa1a8ff2SEmmanuel Vadot #define GCC_QDSS_TSCTR_DIV8_CLK				85
95*aa1a8ff2SEmmanuel Vadot #define GCC_QPIC_AHB_CLK				86
96*aa1a8ff2SEmmanuel Vadot #define GCC_QPIC_CLK					87
97*aa1a8ff2SEmmanuel Vadot #define GCC_QPIC_IO_MACRO_CLK				88
98*aa1a8ff2SEmmanuel Vadot #define GCC_SDCC1_AHB_CLK				89
99*aa1a8ff2SEmmanuel Vadot #define GCC_SDCC1_APPS_CLK				90
100*aa1a8ff2SEmmanuel Vadot #define GCC_SLEEP_CLK_SRC				91
101*aa1a8ff2SEmmanuel Vadot #define GCC_SNOC_GMAC0_AHB_CLK				92
102*aa1a8ff2SEmmanuel Vadot #define GCC_SNOC_GMAC0_AXI_CLK				93
103*aa1a8ff2SEmmanuel Vadot #define GCC_SNOC_GMAC1_AHB_CLK				94
104*aa1a8ff2SEmmanuel Vadot #define GCC_SNOC_GMAC1_AXI_CLK				95
105*aa1a8ff2SEmmanuel Vadot #define GCC_SNOC_LPASS_AXIM_CLK				96
106*aa1a8ff2SEmmanuel Vadot #define GCC_SNOC_LPASS_SWAY_CLK				97
107*aa1a8ff2SEmmanuel Vadot #define GCC_SNOC_UBI0_AXI_CLK				98
108*aa1a8ff2SEmmanuel Vadot #define GCC_SYS_NOC_PCIE0_AXI_CLK			99
109*aa1a8ff2SEmmanuel Vadot #define GCC_SYS_NOC_PCIE1_AXI_CLK			100
110*aa1a8ff2SEmmanuel Vadot #define GCC_SYS_NOC_QDSS_STM_AXI_CLK			101
111*aa1a8ff2SEmmanuel Vadot #define GCC_SYS_NOC_USB0_AXI_CLK			102
112*aa1a8ff2SEmmanuel Vadot #define GCC_SYS_NOC_WCSS_AHB_CLK			103
113*aa1a8ff2SEmmanuel Vadot #define GCC_UBI0_AXI_CLK				104
114*aa1a8ff2SEmmanuel Vadot #define GCC_UBI0_CFG_CLK				105
115*aa1a8ff2SEmmanuel Vadot #define GCC_UBI0_CORE_CLK				106
116*aa1a8ff2SEmmanuel Vadot #define GCC_UBI0_DBG_CLK				107
117*aa1a8ff2SEmmanuel Vadot #define GCC_UBI0_NC_AXI_CLK				108
118*aa1a8ff2SEmmanuel Vadot #define GCC_UBI0_UTCM_CLK				109
119*aa1a8ff2SEmmanuel Vadot #define GCC_UNIPHY_AHB_CLK				110
120*aa1a8ff2SEmmanuel Vadot #define GCC_UNIPHY_RX_CLK				111
121*aa1a8ff2SEmmanuel Vadot #define GCC_UNIPHY_SYS_CLK				112
122*aa1a8ff2SEmmanuel Vadot #define GCC_UNIPHY_TX_CLK				113
123*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_AUX_CLK				114
124*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_EUD_AT_CLK				115
125*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_LFPS_CLK				116
126*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_MASTER_CLK				117
127*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_MOCK_UTMI_CLK				118
128*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_PHY_CFG_AHB_CLK			119
129*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_SLEEP_CLK				120
130*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_ACMT_CLK				121
131*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_AHB_S_CLK				122
132*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_AXI_M_CLK				123
133*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_AXI_S_CLK				124
134*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_APB_BDG_CLK			125
135*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_APB_CLK			126
136*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_ATB_BDG_CLK			127
137*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_ATB_CLK			128
138*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_DAPBUS_BDG_CLK			129
139*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_DAPBUS_CLK			130
140*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_NTS_BDG_CLK			131
141*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_DBG_IFC_NTS_CLK			132
142*aa1a8ff2SEmmanuel Vadot #define GCC_WCSS_ECAHB_CLK				133
143*aa1a8ff2SEmmanuel Vadot #define GCC_XO_CLK					134
144*aa1a8ff2SEmmanuel Vadot #define GCC_XO_CLK_SRC					135
145*aa1a8ff2SEmmanuel Vadot #define GMAC0_RX_CLK_SRC				136
146*aa1a8ff2SEmmanuel Vadot #define GMAC0_TX_CLK_SRC				137
147*aa1a8ff2SEmmanuel Vadot #define GMAC1_RX_CLK_SRC				138
148*aa1a8ff2SEmmanuel Vadot #define GMAC1_TX_CLK_SRC				139
149*aa1a8ff2SEmmanuel Vadot #define GMAC_CLK_SRC					140
150*aa1a8ff2SEmmanuel Vadot #define GP1_CLK_SRC					141
151*aa1a8ff2SEmmanuel Vadot #define GP2_CLK_SRC					142
152*aa1a8ff2SEmmanuel Vadot #define GP3_CLK_SRC					143
153*aa1a8ff2SEmmanuel Vadot #define LPASS_AXIM_CLK_SRC				144
154*aa1a8ff2SEmmanuel Vadot #define LPASS_SWAY_CLK_SRC				145
155*aa1a8ff2SEmmanuel Vadot #define PCIE0_AUX_CLK_SRC				146
156*aa1a8ff2SEmmanuel Vadot #define PCIE0_AXI_CLK_SRC				147
157*aa1a8ff2SEmmanuel Vadot #define PCIE1_AUX_CLK_SRC				148
158*aa1a8ff2SEmmanuel Vadot #define PCIE1_AXI_CLK_SRC				149
159*aa1a8ff2SEmmanuel Vadot #define PCNOC_BFDCD_CLK_SRC				150
160*aa1a8ff2SEmmanuel Vadot #define Q6_AXI_CLK_SRC					151
161*aa1a8ff2SEmmanuel Vadot #define QDSS_AT_CLK_SRC					152
162*aa1a8ff2SEmmanuel Vadot #define QDSS_STM_CLK_SRC				153
163*aa1a8ff2SEmmanuel Vadot #define QDSS_TSCTR_CLK_SRC				154
164*aa1a8ff2SEmmanuel Vadot #define QDSS_TRACECLKIN_CLK_SRC				155
165*aa1a8ff2SEmmanuel Vadot #define QPIC_IO_MACRO_CLK_SRC				156
166*aa1a8ff2SEmmanuel Vadot #define SDCC1_APPS_CLK_SRC				157
167*aa1a8ff2SEmmanuel Vadot #define SYSTEM_NOC_BFDCD_CLK_SRC			158
168*aa1a8ff2SEmmanuel Vadot #define UBI0_AXI_CLK_SRC				159
169*aa1a8ff2SEmmanuel Vadot #define UBI0_CORE_CLK_SRC				160
170*aa1a8ff2SEmmanuel Vadot #define USB0_AUX_CLK_SRC				161
171*aa1a8ff2SEmmanuel Vadot #define USB0_LFPS_CLK_SRC				162
172*aa1a8ff2SEmmanuel Vadot #define USB0_MASTER_CLK_SRC				163
173*aa1a8ff2SEmmanuel Vadot #define USB0_MOCK_UTMI_CLK_SRC				164
174*aa1a8ff2SEmmanuel Vadot #define WCSS_AHB_CLK_SRC				165
175*aa1a8ff2SEmmanuel Vadot #define PCIE0_PIPE_CLK_SRC				166
176*aa1a8ff2SEmmanuel Vadot #define PCIE1_PIPE_CLK_SRC				167
177*aa1a8ff2SEmmanuel Vadot #define USB0_PIPE_CLK_SRC				168
178*aa1a8ff2SEmmanuel Vadot #define GCC_USB0_PIPE_CLK				169
179*aa1a8ff2SEmmanuel Vadot #define GMAC0_RX_DIV_CLK_SRC				170
180*aa1a8ff2SEmmanuel Vadot #define GMAC0_TX_DIV_CLK_SRC				171
181*aa1a8ff2SEmmanuel Vadot #define GMAC1_RX_DIV_CLK_SRC				172
182*aa1a8ff2SEmmanuel Vadot #define GMAC1_TX_DIV_CLK_SRC				173
183*aa1a8ff2SEmmanuel Vadot #endif
184