xref: /linux/include/dt-bindings/clock/qcom,nord-gcc.h (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1*06498d59STaniya Das /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*06498d59STaniya Das /*
3*06498d59STaniya Das  * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4*06498d59STaniya Das  */
5*06498d59STaniya Das 
6*06498d59STaniya Das #ifndef _DT_BINDINGS_CLK_QCOM_GCC_NORD_H
7*06498d59STaniya Das #define _DT_BINDINGS_CLK_QCOM_GCC_NORD_H
8*06498d59STaniya Das 
9*06498d59STaniya Das /* GCC clocks */
10*06498d59STaniya Das #define GCC_BOOT_ROM_AHB_CLK					0
11*06498d59STaniya Das #define GCC_GP1_CLK						1
12*06498d59STaniya Das #define GCC_GP1_CLK_SRC						2
13*06498d59STaniya Das #define GCC_GP2_CLK						3
14*06498d59STaniya Das #define GCC_GP2_CLK_SRC						4
15*06498d59STaniya Das #define GCC_GPLL0						5
16*06498d59STaniya Das #define GCC_GPLL0_OUT_EVEN					6
17*06498d59STaniya Das #define GCC_MMU_0_TCU_VOTE_CLK					7
18*06498d59STaniya Das #define GCC_PCIE_A_AUX_CLK					8
19*06498d59STaniya Das #define GCC_PCIE_A_AUX_CLK_SRC					9
20*06498d59STaniya Das #define GCC_PCIE_A_CFG_AHB_CLK					10
21*06498d59STaniya Das #define GCC_PCIE_A_DTI_QTC_CLK					11
22*06498d59STaniya Das #define GCC_PCIE_A_MSTR_AXI_CLK					12
23*06498d59STaniya Das #define GCC_PCIE_A_PHY_AUX_CLK					13
24*06498d59STaniya Das #define GCC_PCIE_A_PHY_AUX_CLK_SRC				14
25*06498d59STaniya Das #define GCC_PCIE_A_PHY_RCHNG_CLK				15
26*06498d59STaniya Das #define GCC_PCIE_A_PHY_RCHNG_CLK_SRC				16
27*06498d59STaniya Das #define GCC_PCIE_A_PIPE_CLK					17
28*06498d59STaniya Das #define GCC_PCIE_A_PIPE_CLK_SRC					18
29*06498d59STaniya Das #define GCC_PCIE_A_SLV_AXI_CLK					19
30*06498d59STaniya Das #define GCC_PCIE_A_SLV_Q2A_AXI_CLK				20
31*06498d59STaniya Das #define GCC_PCIE_B_AUX_CLK					21
32*06498d59STaniya Das #define GCC_PCIE_B_AUX_CLK_SRC					22
33*06498d59STaniya Das #define GCC_PCIE_B_CFG_AHB_CLK					23
34*06498d59STaniya Das #define GCC_PCIE_B_DTI_QTC_CLK					24
35*06498d59STaniya Das #define GCC_PCIE_B_MSTR_AXI_CLK					25
36*06498d59STaniya Das #define GCC_PCIE_B_PHY_AUX_CLK					26
37*06498d59STaniya Das #define GCC_PCIE_B_PHY_AUX_CLK_SRC				27
38*06498d59STaniya Das #define GCC_PCIE_B_PHY_RCHNG_CLK				28
39*06498d59STaniya Das #define GCC_PCIE_B_PHY_RCHNG_CLK_SRC				29
40*06498d59STaniya Das #define GCC_PCIE_B_PIPE_CLK					30
41*06498d59STaniya Das #define GCC_PCIE_B_PIPE_CLK_SRC					31
42*06498d59STaniya Das #define GCC_PCIE_B_SLV_AXI_CLK					32
43*06498d59STaniya Das #define GCC_PCIE_B_SLV_Q2A_AXI_CLK				33
44*06498d59STaniya Das #define GCC_PCIE_C_AUX_CLK					34
45*06498d59STaniya Das #define GCC_PCIE_C_AUX_CLK_SRC					35
46*06498d59STaniya Das #define GCC_PCIE_C_CFG_AHB_CLK					36
47*06498d59STaniya Das #define GCC_PCIE_C_DTI_QTC_CLK					37
48*06498d59STaniya Das #define GCC_PCIE_C_MSTR_AXI_CLK					38
49*06498d59STaniya Das #define GCC_PCIE_C_PHY_AUX_CLK					39
50*06498d59STaniya Das #define GCC_PCIE_C_PHY_AUX_CLK_SRC				40
51*06498d59STaniya Das #define GCC_PCIE_C_PHY_RCHNG_CLK				41
52*06498d59STaniya Das #define GCC_PCIE_C_PHY_RCHNG_CLK_SRC				42
53*06498d59STaniya Das #define GCC_PCIE_C_PIPE_CLK					43
54*06498d59STaniya Das #define GCC_PCIE_C_PIPE_CLK_SRC					44
55*06498d59STaniya Das #define GCC_PCIE_C_SLV_AXI_CLK					45
56*06498d59STaniya Das #define GCC_PCIE_C_SLV_Q2A_AXI_CLK				46
57*06498d59STaniya Das #define GCC_PCIE_D_AUX_CLK					47
58*06498d59STaniya Das #define GCC_PCIE_D_AUX_CLK_SRC					48
59*06498d59STaniya Das #define GCC_PCIE_D_CFG_AHB_CLK					49
60*06498d59STaniya Das #define GCC_PCIE_D_DTI_QTC_CLK					50
61*06498d59STaniya Das #define GCC_PCIE_D_MSTR_AXI_CLK					51
62*06498d59STaniya Das #define GCC_PCIE_D_PHY_AUX_CLK					52
63*06498d59STaniya Das #define GCC_PCIE_D_PHY_AUX_CLK_SRC				53
64*06498d59STaniya Das #define GCC_PCIE_D_PHY_RCHNG_CLK				54
65*06498d59STaniya Das #define GCC_PCIE_D_PHY_RCHNG_CLK_SRC				55
66*06498d59STaniya Das #define GCC_PCIE_D_PIPE_CLK					56
67*06498d59STaniya Das #define GCC_PCIE_D_PIPE_CLK_SRC					57
68*06498d59STaniya Das #define GCC_PCIE_D_SLV_AXI_CLK					58
69*06498d59STaniya Das #define GCC_PCIE_D_SLV_Q2A_AXI_CLK				59
70*06498d59STaniya Das #define GCC_PCIE_LINK_AHB_CLK					60
71*06498d59STaniya Das #define GCC_PCIE_LINK_XO_CLK					61
72*06498d59STaniya Das #define GCC_PCIE_NOC_ASYNC_BRIDGE_CLK				62
73*06498d59STaniya Das #define GCC_PCIE_NOC_CNOC_SF_QX_CLK				63
74*06498d59STaniya Das #define GCC_PCIE_NOC_M_CFG_CLK					64
75*06498d59STaniya Das #define GCC_PCIE_NOC_M_PDB_CLK					65
76*06498d59STaniya Das #define GCC_PCIE_NOC_MSTR_AXI_CLK				66
77*06498d59STaniya Das #define GCC_PCIE_NOC_PWRCTL_CLK					67
78*06498d59STaniya Das #define GCC_PCIE_NOC_QOSGEN_EXTREF_CLK				68
79*06498d59STaniya Das #define GCC_PCIE_NOC_REFGEN_CLK					69
80*06498d59STaniya Das #define GCC_PCIE_NOC_REFGEN_CLK_SRC				70
81*06498d59STaniya Das #define GCC_PCIE_NOC_S_CFG_CLK					71
82*06498d59STaniya Das #define GCC_PCIE_NOC_S_PDB_CLK					72
83*06498d59STaniya Das #define GCC_PCIE_NOC_SAFETY_CLK					73
84*06498d59STaniya Das #define GCC_PCIE_NOC_SAFETY_CLK_SRC				74
85*06498d59STaniya Das #define GCC_PCIE_NOC_SLAVE_AXI_CLK				75
86*06498d59STaniya Das #define GCC_PCIE_NOC_TSCTR_CLK					76
87*06498d59STaniya Das #define GCC_PCIE_NOC_XO_CLK					77
88*06498d59STaniya Das #define GCC_PDM2_CLK						78
89*06498d59STaniya Das #define GCC_PDM2_CLK_SRC					79
90*06498d59STaniya Das #define GCC_PDM_AHB_CLK						80
91*06498d59STaniya Das #define GCC_PDM_XO4_CLK						81
92*06498d59STaniya Das #define GCC_QUPV3_WRAP3_CORE_2X_CLK				82
93*06498d59STaniya Das #define GCC_QUPV3_WRAP3_CORE_CLK				83
94*06498d59STaniya Das #define GCC_QUPV3_WRAP3_M_CLK					84
95*06498d59STaniya Das #define GCC_QUPV3_WRAP3_QSPI_REF_CLK				85
96*06498d59STaniya Das #define GCC_QUPV3_WRAP3_QSPI_REF_CLK_SRC			86
97*06498d59STaniya Das #define GCC_QUPV3_WRAP3_S0_CLK					87
98*06498d59STaniya Das #define GCC_QUPV3_WRAP3_S0_CLK_SRC				88
99*06498d59STaniya Das #define GCC_QUPV3_WRAP3_S_AHB_CLK				89
100*06498d59STaniya Das #define GCC_SMMU_PCIE_QTC_VOTE_CLK				90
101*06498d59STaniya Das 
102*06498d59STaniya Das /* GCC power domains */
103*06498d59STaniya Das #define GCC_PCIE_A_GDSC						0
104*06498d59STaniya Das #define GCC_PCIE_A_PHY_GDSC					1
105*06498d59STaniya Das #define GCC_PCIE_B_GDSC						2
106*06498d59STaniya Das #define GCC_PCIE_B_PHY_GDSC					3
107*06498d59STaniya Das #define GCC_PCIE_C_GDSC						4
108*06498d59STaniya Das #define GCC_PCIE_C_PHY_GDSC					5
109*06498d59STaniya Das #define GCC_PCIE_D_GDSC						6
110*06498d59STaniya Das #define GCC_PCIE_D_PHY_GDSC					7
111*06498d59STaniya Das #define GCC_PCIE_NOC_GDSC					8
112*06498d59STaniya Das 
113*06498d59STaniya Das /* GCC resets */
114*06498d59STaniya Das #define GCC_PCIE_A_BCR						0
115*06498d59STaniya Das #define GCC_PCIE_A_LINK_DOWN_BCR				1
116*06498d59STaniya Das #define GCC_PCIE_A_NOCSR_COM_PHY_BCR				2
117*06498d59STaniya Das #define GCC_PCIE_A_PHY_BCR					3
118*06498d59STaniya Das #define GCC_PCIE_A_PHY_CFG_AHB_BCR				4
119*06498d59STaniya Das #define GCC_PCIE_A_PHY_COM_BCR					5
120*06498d59STaniya Das #define GCC_PCIE_A_PHY_NOCSR_COM_PHY_BCR			6
121*06498d59STaniya Das #define GCC_PCIE_B_BCR						7
122*06498d59STaniya Das #define GCC_PCIE_B_LINK_DOWN_BCR				8
123*06498d59STaniya Das #define GCC_PCIE_B_NOCSR_COM_PHY_BCR				9
124*06498d59STaniya Das #define GCC_PCIE_B_PHY_BCR					10
125*06498d59STaniya Das #define GCC_PCIE_B_PHY_CFG_AHB_BCR				11
126*06498d59STaniya Das #define GCC_PCIE_B_PHY_COM_BCR					12
127*06498d59STaniya Das #define GCC_PCIE_B_PHY_NOCSR_COM_PHY_BCR			13
128*06498d59STaniya Das #define GCC_PCIE_C_BCR						14
129*06498d59STaniya Das #define GCC_PCIE_C_LINK_DOWN_BCR				15
130*06498d59STaniya Das #define GCC_PCIE_C_NOCSR_COM_PHY_BCR				16
131*06498d59STaniya Das #define GCC_PCIE_C_PHY_BCR					17
132*06498d59STaniya Das #define GCC_PCIE_C_PHY_CFG_AHB_BCR				18
133*06498d59STaniya Das #define GCC_PCIE_C_PHY_COM_BCR					19
134*06498d59STaniya Das #define GCC_PCIE_C_PHY_NOCSR_COM_PHY_BCR			20
135*06498d59STaniya Das #define GCC_PCIE_D_BCR						21
136*06498d59STaniya Das #define GCC_PCIE_D_LINK_DOWN_BCR				22
137*06498d59STaniya Das #define GCC_PCIE_D_NOCSR_COM_PHY_BCR				23
138*06498d59STaniya Das #define GCC_PCIE_D_PHY_BCR					24
139*06498d59STaniya Das #define GCC_PCIE_D_PHY_CFG_AHB_BCR				25
140*06498d59STaniya Das #define GCC_PCIE_D_PHY_COM_BCR					26
141*06498d59STaniya Das #define GCC_PCIE_D_PHY_NOCSR_COM_PHY_BCR			27
142*06498d59STaniya Das #define GCC_PCIE_NOC_BCR					28
143*06498d59STaniya Das #define GCC_PDM_BCR						29
144*06498d59STaniya Das #define GCC_QUPV3_WRAPPER_3_BCR					30
145*06498d59STaniya Das #define GCC_TCSR_PCIE_BCR					31
146*06498d59STaniya Das 
147*06498d59STaniya Das #endif
148