1/*	$NetBSD: qcom,gcc-ipq6018.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $	*/
2
3/* SPDX-License-Identifier: GPL-2.0 */
4/*
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6 */
7
8#ifndef _DT_BINDINGS_RESET_IPQ_GCC_6018_H
9#define _DT_BINDINGS_RESET_IPQ_GCC_6018_H
10
11#define GCC_BLSP1_BCR				0
12#define GCC_BLSP1_QUP1_BCR			1
13#define GCC_BLSP1_UART1_BCR			2
14#define GCC_BLSP1_QUP2_BCR			3
15#define GCC_BLSP1_UART2_BCR			4
16#define GCC_BLSP1_QUP3_BCR			5
17#define GCC_BLSP1_UART3_BCR			6
18#define GCC_BLSP1_QUP4_BCR			7
19#define GCC_BLSP1_UART4_BCR			8
20#define GCC_BLSP1_QUP5_BCR			9
21#define GCC_BLSP1_UART5_BCR			10
22#define GCC_BLSP1_QUP6_BCR			11
23#define GCC_BLSP1_UART6_BCR			12
24#define GCC_IMEM_BCR				13
25#define GCC_SMMU_BCR				14
26#define GCC_APSS_TCU_BCR			15
27#define GCC_SMMU_XPU_BCR			16
28#define GCC_PCNOC_TBU_BCR			17
29#define GCC_SMMU_CFG_BCR			18
30#define GCC_PRNG_BCR				19
31#define GCC_BOOT_ROM_BCR			20
32#define GCC_CRYPTO_BCR				21
33#define GCC_WCSS_BCR				22
34#define GCC_WCSS_Q6_BCR				23
35#define GCC_NSS_BCR				24
36#define GCC_SEC_CTRL_BCR			25
37#define GCC_DDRSS_BCR				26
38#define GCC_SYSTEM_NOC_BCR			27
39#define GCC_PCNOC_BCR				28
40#define GCC_TCSR_BCR				29
41#define GCC_QDSS_BCR				30
42#define GCC_DCD_BCR				31
43#define GCC_MSG_RAM_BCR				32
44#define GCC_MPM_BCR				33
45#define GCC_SPDM_BCR				34
46#define GCC_RBCPR_BCR				35
47#define GCC_RBCPR_MX_BCR			36
48#define GCC_TLMM_BCR				37
49#define GCC_RBCPR_WCSS_BCR			38
50#define GCC_USB0_PHY_BCR			39
51#define GCC_USB3PHY_0_PHY_BCR			40
52#define GCC_USB0_BCR				41
53#define GCC_USB1_BCR				42
54#define GCC_QUSB2_0_PHY_BCR			43
55#define GCC_QUSB2_1_PHY_BCR			44
56#define GCC_SDCC1_BCR				45
57#define GCC_SNOC_BUS_TIMEOUT0_BCR		46
58#define GCC_SNOC_BUS_TIMEOUT1_BCR		47
59#define GCC_SNOC_BUS_TIMEOUT2_BCR		48
60#define GCC_PCNOC_BUS_TIMEOUT0_BCR		49
61#define GCC_PCNOC_BUS_TIMEOUT1_BCR		50
62#define GCC_PCNOC_BUS_TIMEOUT2_BCR		51
63#define GCC_PCNOC_BUS_TIMEOUT3_BCR		52
64#define GCC_PCNOC_BUS_TIMEOUT4_BCR		53
65#define GCC_PCNOC_BUS_TIMEOUT5_BCR		54
66#define GCC_PCNOC_BUS_TIMEOUT6_BCR		55
67#define GCC_PCNOC_BUS_TIMEOUT7_BCR		56
68#define GCC_PCNOC_BUS_TIMEOUT8_BCR		57
69#define GCC_PCNOC_BUS_TIMEOUT9_BCR		58
70#define GCC_UNIPHY0_BCR				59
71#define GCC_UNIPHY1_BCR				60
72#define GCC_CMN_12GPLL_BCR			61
73#define GCC_QPIC_BCR				62
74#define GCC_MDIO_BCR				63
75#define GCC_WCSS_CORE_TBU_BCR			64
76#define GCC_WCSS_Q6_TBU_BCR			65
77#define GCC_USB0_TBU_BCR			66
78#define GCC_PCIE0_TBU_BCR			67
79#define GCC_PCIE0_BCR				68
80#define GCC_PCIE0_PHY_BCR			69
81#define GCC_PCIE0PHY_PHY_BCR			70
82#define GCC_PCIE0_LINK_DOWN_BCR			71
83#define GCC_DCC_BCR				72
84#define GCC_APC0_VOLTAGE_DROOP_DETECTOR_BCR	73
85#define GCC_SMMU_CATS_BCR			74
86#define GCC_UBI0_AXI_ARES			75
87#define GCC_UBI0_AHB_ARES			76
88#define GCC_UBI0_NC_AXI_ARES			77
89#define GCC_UBI0_DBG_ARES			78
90#define GCC_UBI0_CORE_CLAMP_ENABLE		79
91#define GCC_UBI0_CLKRST_CLAMP_ENABLE		80
92#define GCC_UBI0_UTCM_ARES			81
93#define GCC_NSS_CFG_ARES			82
94#define GCC_NSS_NOC_ARES			83
95#define GCC_NSS_CRYPTO_ARES			84
96#define GCC_NSS_CSR_ARES			85
97#define GCC_NSS_CE_APB_ARES			86
98#define GCC_NSS_CE_AXI_ARES			87
99#define GCC_NSSNOC_CE_APB_ARES			88
100#define GCC_NSSNOC_CE_AXI_ARES			89
101#define GCC_NSSNOC_UBI0_AHB_ARES		90
102#define GCC_NSSNOC_SNOC_ARES			91
103#define GCC_NSSNOC_CRYPTO_ARES			92
104#define GCC_NSSNOC_ATB_ARES			93
105#define GCC_NSSNOC_QOSGEN_REF_ARES		94
106#define GCC_NSSNOC_TIMEOUT_REF_ARES		95
107#define GCC_PCIE0_PIPE_ARES			96
108#define GCC_PCIE0_SLEEP_ARES			97
109#define GCC_PCIE0_CORE_STICKY_ARES		98
110#define GCC_PCIE0_AXI_MASTER_ARES		99
111#define GCC_PCIE0_AXI_SLAVE_ARES		100
112#define GCC_PCIE0_AHB_ARES			101
113#define GCC_PCIE0_AXI_MASTER_STICKY_ARES	102
114#define GCC_PCIE0_AXI_SLAVE_STICKY_ARES		103
115#define GCC_PPE_FULL_RESET			104
116#define GCC_UNIPHY0_SOFT_RESET			105
117#define GCC_UNIPHY0_XPCS_RESET			106
118#define GCC_UNIPHY1_SOFT_RESET			107
119#define GCC_UNIPHY1_XPCS_RESET			108
120#define GCC_EDMA_HW_RESET			109
121#define GCC_ADSS_BCR				110
122#define GCC_NSS_NOC_TBU_BCR			111
123#define GCC_NSSPORT1_RESET			112
124#define GCC_NSSPORT2_RESET			113
125#define GCC_NSSPORT3_RESET			114
126#define GCC_NSSPORT4_RESET			115
127#define GCC_NSSPORT5_RESET			116
128#define GCC_UNIPHY0_PORT1_ARES			117
129#define GCC_UNIPHY0_PORT2_ARES			118
130#define GCC_UNIPHY0_PORT3_ARES			119
131#define GCC_UNIPHY0_PORT4_ARES			120
132#define GCC_UNIPHY0_PORT5_ARES			121
133#define GCC_UNIPHY0_PORT_4_5_RESET		122
134#define GCC_UNIPHY0_PORT_4_RESET		123
135#define GCC_LPASS_BCR				124
136#define GCC_UBI32_TBU_BCR			125
137#define GCC_LPASS_TBU_BCR			126
138#define GCC_WCSSAON_RESET			127
139#define GCC_LPASS_Q6_AXIM_ARES			128
140#define GCC_LPASS_Q6SS_TSCTR_1TO2_ARES		129
141#define GCC_LPASS_Q6SS_TRIG_ARES		130
142#define GCC_LPASS_Q6_ATBM_AT_ARES		131
143#define GCC_LPASS_Q6_PCLKDBG_ARES		132
144#define GCC_LPASS_CORE_AXIM_ARES		133
145#define GCC_LPASS_SNOC_CFG_ARES			134
146#define GCC_WCSS_DBG_ARES			135
147#define GCC_WCSS_ECAHB_ARES			136
148#define GCC_WCSS_ACMT_ARES			137
149#define GCC_WCSS_DBG_BDG_ARES			138
150#define GCC_WCSS_AHB_S_ARES			139
151#define GCC_WCSS_AXI_M_ARES			140
152#define GCC_Q6SS_DBG_ARES			141
153#define GCC_Q6_AHB_S_ARES			142
154#define GCC_Q6_AHB_ARES				143
155#define GCC_Q6_AXIM2_ARES			144
156#define GCC_Q6_AXIM_ARES			145
157#define GCC_UBI0_CORE_ARES			146
158
159#endif
160