1/*
2 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 * GNU General Public License for more details.
12 */
13
14#ifndef _DT_BINDINGS_RESET_IPQ_806X_H
15#define _DT_BINDINGS_RESET_IPQ_806X_H
16
17#define QDSS_STM_RESET					0
18#define AFAB_SMPSS_S_RESET				1
19#define AFAB_SMPSS_M1_RESET				2
20#define AFAB_SMPSS_M0_RESET				3
21#define AFAB_EBI1_CH0_RESET				4
22#define AFAB_EBI1_CH1_RESET				5
23#define SFAB_ADM0_M0_RESET				6
24#define SFAB_ADM0_M1_RESET				7
25#define SFAB_ADM0_M2_RESET				8
26#define ADM0_C2_RESET					9
27#define ADM0_C1_RESET					10
28#define ADM0_C0_RESET					11
29#define ADM0_PBUS_RESET					12
30#define ADM0_RESET					13
31#define QDSS_CLKS_SW_RESET				14
32#define QDSS_POR_RESET					15
33#define QDSS_TSCTR_RESET				16
34#define QDSS_HRESET_RESET				17
35#define QDSS_AXI_RESET					18
36#define QDSS_DBG_RESET					19
37#define SFAB_PCIE_M_RESET				20
38#define SFAB_PCIE_S_RESET				21
39#define PCIE_EXT_RESET					22
40#define PCIE_PHY_RESET					23
41#define PCIE_PCI_RESET					24
42#define PCIE_POR_RESET					25
43#define PCIE_HCLK_RESET					26
44#define PCIE_ACLK_RESET					27
45#define SFAB_LPASS_RESET				28
46#define SFAB_AFAB_M_RESET				29
47#define AFAB_SFAB_M0_RESET				30
48#define AFAB_SFAB_M1_RESET				31
49#define SFAB_SATA_S_RESET				32
50#define SFAB_DFAB_M_RESET				33
51#define DFAB_SFAB_M_RESET				34
52#define DFAB_SWAY0_RESET				35
53#define DFAB_SWAY1_RESET				36
54#define DFAB_ARB0_RESET					37
55#define DFAB_ARB1_RESET					38
56#define PPSS_PROC_RESET					39
57#define PPSS_RESET					40
58#define DMA_BAM_RESET					41
59#define SPS_TIC_H_RESET					42
60#define SFAB_CFPB_M_RESET				43
61#define SFAB_CFPB_S_RESET				44
62#define TSIF_H_RESET					45
63#define CE1_H_RESET					46
64#define CE1_CORE_RESET					47
65#define CE1_SLEEP_RESET					48
66#define CE2_H_RESET					49
67#define CE2_CORE_RESET					50
68#define SFAB_SFPB_M_RESET				51
69#define SFAB_SFPB_S_RESET				52
70#define RPM_PROC_RESET					53
71#define PMIC_SSBI2_RESET				54
72#define SDC1_RESET					55
73#define SDC2_RESET					56
74#define SDC3_RESET					57
75#define SDC4_RESET					58
76#define USB_HS1_RESET					59
77#define USB_HSIC_RESET					60
78#define USB_FS1_XCVR_RESET				61
79#define USB_FS1_RESET					62
80#define GSBI1_RESET					63
81#define GSBI2_RESET					64
82#define GSBI3_RESET					65
83#define GSBI4_RESET					66
84#define GSBI5_RESET					67
85#define GSBI6_RESET					68
86#define GSBI7_RESET					69
87#define SPDM_RESET					70
88#define SEC_CTRL_RESET					71
89#define TLMM_H_RESET					72
90#define SFAB_SATA_M_RESET				73
91#define SATA_RESET					74
92#define TSSC_RESET					75
93#define PDM_RESET					76
94#define MPM_H_RESET					77
95#define MPM_RESET					78
96#define SFAB_SMPSS_S_RESET				79
97#define PRNG_RESET					80
98#define SFAB_CE3_M_RESET				81
99#define SFAB_CE3_S_RESET				82
100#define CE3_SLEEP_RESET					83
101#define PCIE_1_M_RESET					84
102#define PCIE_1_S_RESET					85
103#define PCIE_1_EXT_RESET				86
104#define PCIE_1_PHY_RESET				87
105#define PCIE_1_PCI_RESET				88
106#define PCIE_1_POR_RESET				89
107#define PCIE_1_HCLK_RESET				90
108#define PCIE_1_ACLK_RESET				91
109#define PCIE_2_M_RESET					92
110#define PCIE_2_S_RESET					93
111#define PCIE_2_EXT_RESET				94
112#define PCIE_2_PHY_RESET				95
113#define PCIE_2_PCI_RESET				96
114#define PCIE_2_POR_RESET				97
115#define PCIE_2_HCLK_RESET				98
116#define PCIE_2_ACLK_RESET				99
117#define SFAB_USB30_S_RESET				100
118#define SFAB_USB30_M_RESET				101
119#define USB30_0_PORT2_HS_PHY_RESET			102
120#define USB30_0_MASTER_RESET				103
121#define USB30_0_SLEEP_RESET				104
122#define USB30_0_UTMI_PHY_RESET				105
123#define USB30_0_POWERON_RESET				106
124#define USB30_0_PHY_RESET				107
125#define USB30_1_MASTER_RESET				108
126#define USB30_1_SLEEP_RESET				109
127#define USB30_1_UTMI_PHY_RESET				110
128#define USB30_1_POWERON_RESET				111
129#define USB30_1_PHY_RESET				112
130#define NSSFB0_RESET					113
131#define NSSFB1_RESET					114
132#define UBI32_CORE1_CLKRST_CLAMP_RESET			115
133#define UBI32_CORE1_CLAMP_RESET				116
134#define UBI32_CORE1_AHB_RESET				117
135#define UBI32_CORE1_AXI_RESET				118
136#define UBI32_CORE2_CLKRST_CLAMP_RESET			119
137#define UBI32_CORE2_CLAMP_RESET				120
138#define UBI32_CORE2_AHB_RESET				121
139#define UBI32_CORE2_AXI_RESET				122
140#define GMAC_CORE1_RESET				123
141#define GMAC_CORE2_RESET				124
142#define GMAC_CORE3_RESET				125
143#define GMAC_CORE4_RESET				126
144#define GMAC_AHB_RESET					127
145#define NSS_CH0_RST_RX_CLK_N_RESET			128
146#define NSS_CH0_RST_TX_CLK_N_RESET			129
147#define NSS_CH0_RST_RX_125M_N_RESET			130
148#define NSS_CH0_HW_RST_RX_125M_N_RESET			131
149#define NSS_CH0_RST_TX_125M_N_RESET			132
150#define NSS_CH1_RST_RX_CLK_N_RESET			133
151#define NSS_CH1_RST_TX_CLK_N_RESET			134
152#define NSS_CH1_RST_RX_125M_N_RESET			135
153#define NSS_CH1_HW_RST_RX_125M_N_RESET			136
154#define NSS_CH1_RST_TX_125M_N_RESET			137
155#define NSS_CH2_RST_RX_CLK_N_RESET			138
156#define NSS_CH2_RST_TX_CLK_N_RESET			139
157#define NSS_CH2_RST_RX_125M_N_RESET			140
158#define NSS_CH2_HW_RST_RX_125M_N_RESET			141
159#define NSS_CH2_RST_TX_125M_N_RESET			142
160#define NSS_CH3_RST_RX_CLK_N_RESET			143
161#define NSS_CH3_RST_TX_CLK_N_RESET			144
162#define NSS_CH3_RST_RX_125M_N_RESET			145
163#define NSS_CH3_HW_RST_RX_125M_N_RESET			146
164#define NSS_CH3_RST_TX_125M_N_RESET			147
165#define NSS_RST_RX_250M_125M_N_RESET			148
166#define NSS_RST_TX_250M_125M_N_RESET			149
167#define NSS_QSGMII_TXPI_RST_N_RESET			150
168#define NSS_QSGMII_CDR_RST_N_RESET			151
169#define NSS_SGMII2_CDR_RST_N_RESET			152
170#define NSS_SGMII3_CDR_RST_N_RESET			153
171#define NSS_CAL_PRBS_RST_N_RESET			154
172#define NSS_LCKDT_RST_N_RESET				155
173#define NSS_SRDS_N_RESET				156
174
175#endif
176