blob: 64cb626be232879a586f26ff780d7bd24beedea7 [file] [log] [blame]
Deepak Katragadda7b16dba2016-08-05 18:06:30 -07001/*
2 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
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&soc {
15 /* GDSCs in Global CC */
16 pcie_0_gdsc: qcom,gdsc@0x16b004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070017 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070018 regulator-name = "pcie_0_gdsc";
19 reg = <0x16b004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -080020 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070021 status = "disabled";
22 };
23
24 pcie_1_gdsc: qcom,gdsc@0x18d004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070025 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070026 regulator-name = "pcie_1_gdsc";
27 reg = <0x18d004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -080028 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070029 status = "disabled";
30 };
31
32 ufs_card_gdsc: qcom,gdsc@0x175004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070033 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070034 regulator-name = "ufs_card_gdsc";
35 reg = <0x175004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -080036 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070037 status = "disabled";
38 };
39
40 ufs_phy_gdsc: qcom,gdsc@0x177004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070041 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070042 regulator-name = "ufs_phy_gdsc";
43 reg = <0x177004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -080044 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070045 status = "disabled";
46 };
47
48 usb30_prim_gdsc: qcom,gdsc@0x10f004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070049 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070050 regulator-name = "usb30_prim_gdsc";
51 reg = <0x10f004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -080052 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070053 status = "disabled";
54 };
55
56 usb30_sec_gdsc: qcom,gdsc@0x110004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070057 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070058 regulator-name = "usb30_sec_gdsc";
59 reg = <0x110004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -080060 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070061 status = "disabled";
62 };
63
64 hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc: qcom,gdsc@0x17d030 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070065 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070066 regulator-name = "hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc";
67 reg = <0x17d030 0x4>;
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070068 qcom,no-status-check-on-disable;
69 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070070 status = "disabled";
71 };
72
73 hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc: qcom,gdsc@0x17d03c {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070074 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070075 regulator-name = "hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc";
76 reg = <0x17d03c 0x4>;
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070077 qcom,no-status-check-on-disable;
78 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070079 status = "disabled";
80 };
81
82 hlos1_vote_aggre_noc_mmu_tbu1_gdsc: qcom,gdsc@0x17d034 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070083 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070084 regulator-name = "hlos1_vote_aggre_noc_mmu_tbu1_gdsc";
85 reg = <0x17d034 0x4>;
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070086 qcom,no-status-check-on-disable;
87 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070088 status = "disabled";
89 };
90
91 hlos1_vote_aggre_noc_mmu_tbu2_gdsc: qcom,gdsc@0x17d038 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070092 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070093 regulator-name = "hlos1_vote_aggre_noc_mmu_tbu2_gdsc";
94 reg = <0x17d038 0x4>;
Deepak Katragadda61d6ed82016-10-05 15:49:03 -070095 qcom,no-status-check-on-disable;
96 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -070097 status = "disabled";
98 };
99
100 hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@0x17d040 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700101 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700102 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
103 reg = <0x17d040 0x4>;
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700104 qcom,no-status-check-on-disable;
105 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700106 status = "disabled";
107 };
108
109 hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@0x17d048 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700110 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700111 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc";
112 reg = <0x17d048 0x4>;
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700113 qcom,no-status-check-on-disable;
114 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700115 status = "disabled";
116 };
117
118 hlos1_vote_mmnoc_mmu_tbu_sf_gdsc: qcom,gdsc@0x17d044 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700119 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700120 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf_gdsc";
121 reg = <0x17d044 0x4>;
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700122 qcom,no-status-check-on-disable;
123 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700124 status = "disabled";
125 };
126
127 /* GDSCs in Camera CC */
128 bps_gdsc: qcom,gdsc@0xad06004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700129 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700130 regulator-name = "bps_gdsc";
131 reg = <0xad06004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800132 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700133 status = "disabled";
134 };
135
136 ife_0_gdsc: qcom,gdsc@0xad09004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700137 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700138 regulator-name = "ife_0_gdsc";
139 reg = <0xad09004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800140 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700141 status = "disabled";
142 };
143
144 ife_1_gdsc: qcom,gdsc@0xad0a004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700145 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700146 regulator-name = "ife_1_gdsc";
147 reg = <0xad0a004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800148 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700149 status = "disabled";
150 };
151
152 ipe_0_gdsc: qcom,gdsc@0xad07004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700153 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700154 regulator-name = "ipe_0_gdsc";
155 reg = <0xad07004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800156 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700157 status = "disabled";
158 };
159
160 ipe_1_gdsc: qcom,gdsc@0xad08004 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700161 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700162 regulator-name = "ipe_1_gdsc";
163 reg = <0xad08004 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800164 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700165 status = "disabled";
166 };
167
168 titan_top_gdsc: qcom,gdsc@0xad0b134 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700169 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700170 regulator-name = "titan_top_gdsc";
171 reg = <0xad0b134 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800172 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700173 status = "disabled";
174 };
175
176 /* GDSCs in Display CC */
177 mdss_core_gdsc: qcom,gdsc@0xaf03000 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700178 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700179 regulator-name = "mdss_core_gdsc";
180 reg = <0xaf03000 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800181 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700182 status = "disabled";
183 };
184
185 /* GDSCs in Graphics CC */
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700186 gpu_cx_hw_ctrl: syscon@0x5091540 {
187 compatible = "syscon";
188 reg = <0x5091540 0x4>;
189 };
190
191 gpu_cx_gdsc: qcom,gdsc@0x509106c {
192 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700193 regulator-name = "gpu_cx_gdsc";
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700194 reg = <0x509106c 0x4>;
195 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
196 qcom,no-status-check-on-disable;
197 qcom,gds-timeout = <500>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700198 status = "disabled";
199 };
200
Deepak Katragadda8d77fbb2016-10-17 13:04:17 -0700201 gpu_gx_domain_addr: syscon@0x5091508 {
202 compatible = "syscon";
203 reg = <0x5091508 0x4>;
204 };
205
206 gpu_gx_sw_reset: syscon@0x5091008 {
207 compatible = "syscon";
208 reg = <0x5091008 0x4>;
209 };
210
211 gpu_gx_gdsc: qcom,gdsc@0x509100c {
212 compatible = "qcom,gdsc";
213 regulator-name = "gpu_gx_gdsc";
214 reg = <0x509100c 0x4>;
215 domain-addr = <&gpu_gx_domain_addr>;
216 sw-reset = <&gpu_gx_sw_reset>;
217 qcom,reset-aon-logic;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800218 qcom,poll-cfg-gdscr;
Deepak Katragadda8d77fbb2016-10-17 13:04:17 -0700219 status = "disabled";
220 };
221
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700222 /* GDSCs in Video CC */
223 vcodec0_gdsc: qcom,gdsc@0xab00874 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700224 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700225 regulator-name = "vcodec0_gdsc";
226 reg = <0xab00874 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800227 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700228 status = "disabled";
229 };
230
231 vcodec1_gdsc: qcom,gdsc@0xab008b4 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700232 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700233 regulator-name = "vcodec1_gdsc";
234 reg = <0xab008b4 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800235 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700236 status = "disabled";
237 };
238
239 venus_gdsc: qcom,gdsc@0xab00814 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700240 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700241 regulator-name = "venus_gdsc";
242 reg = <0xab00814 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800243 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700244 status = "disabled";
245 };
246};