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 #endif
133