blob: dcc646c93b1665f45049e1b760896539776fa32c [file] [log] [blame]
Deepak Katragadda7b16dba2016-08-05 18:06:30 -07001/*
Dhaval Patelb2f51962017-03-16 17:21:39 -07002 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
Deepak Katragadda7b16dba2016-08-05 18:06:30 -07003 *
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;
Dhaval Patelb2f51962017-03-16 17:21:39 -0700182 qcom,support-hw-trigger;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700183 status = "disabled";
184 };
185
186 /* GDSCs in Graphics CC */
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700187 gpu_cx_hw_ctrl: syscon@0x5091540 {
188 compatible = "syscon";
189 reg = <0x5091540 0x4>;
190 };
191
192 gpu_cx_gdsc: qcom,gdsc@0x509106c {
193 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700194 regulator-name = "gpu_cx_gdsc";
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700195 reg = <0x509106c 0x4>;
196 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
197 qcom,no-status-check-on-disable;
198 qcom,gds-timeout = <500>;
Vicky Wallace60120df2017-07-19 19:00:47 -0700199 qcom,clk-dis-wait-val = <8>;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700200 status = "disabled";
201 };
202
Deepak Katragadda8d77fbb2016-10-17 13:04:17 -0700203 gpu_gx_gdsc: qcom,gdsc@0x509100c {
204 compatible = "qcom,gdsc";
205 regulator-name = "gpu_gx_gdsc";
206 reg = <0x509100c 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800207 qcom,poll-cfg-gdscr;
Deepak Katragadda8d77fbb2016-10-17 13:04:17 -0700208 status = "disabled";
209 };
210
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700211 /* GDSCs in Video CC */
212 vcodec0_gdsc: qcom,gdsc@0xab00874 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700213 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700214 regulator-name = "vcodec0_gdsc";
215 reg = <0xab00874 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800216 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700217 status = "disabled";
218 };
219
220 vcodec1_gdsc: qcom,gdsc@0xab008b4 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700221 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700222 regulator-name = "vcodec1_gdsc";
223 reg = <0xab008b4 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800224 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700225 status = "disabled";
226 };
227
228 venus_gdsc: qcom,gdsc@0xab00814 {
Deepak Katragadda61d6ed82016-10-05 15:49:03 -0700229 compatible = "qcom,gdsc";
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700230 regulator-name = "venus_gdsc";
231 reg = <0xab00814 0x4>;
Deepak Katragadda59661b82016-11-11 11:45:32 -0800232 qcom,poll-cfg-gdscr;
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700233 status = "disabled";
234 };
235};