1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
4 #include "msm8998.dtsi"
6 #include "pmi8998.dtsi"
11 serial0 = &blsp2_uart1;
15 stdout-path = "serial0:115200n8";
18 vph_pwr: vph-pwr-regulator {
19 compatible = "regulator-fixed";
20 regulator-name = "vph_pwr";
30 compatible = "qcom,wcn3990-bt";
32 vddio-supply = <&vreg_s4a_1p8>;
33 vddxo-supply = <&vreg_l7a_1p8>;
34 vddrf-supply = <&vreg_l17a_1p3>;
35 vddch0-supply = <&vreg_l25a_3p3>;
36 max-speed = <3200000>;
106 compatible = "qcom,pm8005-regulators";
108 vdd_s1-supply = <&vph_pwr>;
110 pm8005_s1: s1 { /* VDD_GFX supply */
111 regulator-min-microvolt = <524000>;
112 regulator-max-microvolt = <1100000>;
113 regulator-enable-ramp-delay = <500>;
115 /* hack until we rig up the gpu consumer */
124 vdda-pll-supply = <&vreg_l12a_1p8>;
125 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
134 compatible = "qcom,rpm-pm8998-regulators";
136 vdd_s1-supply = <&vph_pwr>;
137 vdd_s2-supply = <&vph_pwr>;
138 vdd_s3-supply = <&vph_pwr>;
139 vdd_s4-supply = <&vph_pwr>;
140 vdd_s5-supply = <&vph_pwr>;
141 vdd_s6-supply = <&vph_pwr>;
142 vdd_s7-supply = <&vph_pwr>;
143 vdd_s8-supply = <&vph_pwr>;
144 vdd_s9-supply = <&vph_pwr>;
145 vdd_s10-supply = <&vph_pwr>;
146 vdd_s11-supply = <&vph_pwr>;
147 vdd_s12-supply = <&vph_pwr>;
148 vdd_s13-supply = <&vph_pwr>;
149 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
150 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
151 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
152 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
153 vdd_l6-supply = <&vreg_s5a_2p04>;
154 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
155 vdd_l9-supply = <&vreg_bob>;
156 vdd_l10_l23_l25-supply = <&vreg_bob>;
157 vdd_l13_l19_l21-supply = <&vreg_bob>;
158 vdd_l16_l28-supply = <&vreg_bob>;
159 vdd_l18_l22-supply = <&vreg_bob>;
160 vdd_l20_l24-supply = <&vreg_bob>;
161 vdd_l26-supply = <&vreg_s3a_1p35>;
162 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
165 regulator-min-microvolt = <1352000>;
166 regulator-max-microvolt = <1352000>;
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <1800000>;
171 regulator-allow-set-load;
174 regulator-min-microvolt = <1904000>;
175 regulator-max-microvolt = <2040000>;
178 regulator-min-microvolt = <900000>;
179 regulator-max-microvolt = <1028000>;
182 regulator-min-microvolt = <880000>;
183 regulator-max-microvolt = <880000>;
186 regulator-min-microvolt = <1200000>;
187 regulator-max-microvolt = <1200000>;
190 regulator-min-microvolt = <1000000>;
191 regulator-max-microvolt = <1000000>;
194 regulator-min-microvolt = <800000>;
195 regulator-max-microvolt = <800000>;
198 regulator-min-microvolt = <1808000>;
199 regulator-max-microvolt = <1808000>;
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
206 regulator-min-microvolt = <1200000>;
207 regulator-max-microvolt = <1200000>;
210 regulator-min-microvolt = <1808000>;
211 regulator-max-microvolt = <2960000>;
214 regulator-min-microvolt = <1808000>;
215 regulator-max-microvolt = <2960000>;
218 regulator-min-microvolt = <1000000>;
219 regulator-max-microvolt = <1000000>;
222 regulator-min-microvolt = <1800000>;
223 regulator-max-microvolt = <1800000>;
225 vreg_l13a_2p95: l13 {
226 regulator-min-microvolt = <1808000>;
227 regulator-max-microvolt = <2960000>;
229 vreg_l14a_1p88: l14 {
230 regulator-min-microvolt = <1880000>;
231 regulator-max-microvolt = <1880000>;
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
238 regulator-min-microvolt = <2704000>;
239 regulator-max-microvolt = <2704000>;
242 regulator-min-microvolt = <1304000>;
243 regulator-max-microvolt = <1304000>;
246 regulator-min-microvolt = <2704000>;
247 regulator-max-microvolt = <2704000>;
250 regulator-min-microvolt = <3008000>;
251 regulator-max-microvolt = <3008000>;
253 vreg_l20a_2p95: l20 {
254 regulator-min-microvolt = <2960000>;
255 regulator-max-microvolt = <2960000>;
256 regulator-allow-set-load;
258 vreg_l21a_2p95: l21 {
259 regulator-min-microvolt = <2960000>;
260 regulator-max-microvolt = <2960000>;
261 regulator-allow-set-load;
262 regulator-system-load = <800000>;
264 vreg_l22a_2p85: l22 {
265 regulator-min-microvolt = <2864000>;
266 regulator-max-microvolt = <2864000>;
269 regulator-min-microvolt = <3312000>;
270 regulator-max-microvolt = <3312000>;
272 vreg_l24a_3p075: l24 {
273 regulator-min-microvolt = <3088000>;
274 regulator-max-microvolt = <3088000>;
277 regulator-min-microvolt = <3104000>;
278 regulator-max-microvolt = <3312000>;
281 regulator-min-microvolt = <1200000>;
282 regulator-max-microvolt = <1200000>;
283 regulator-allow-set-load;
286 regulator-min-microvolt = <3008000>;
287 regulator-max-microvolt = <3008000>;
290 vreg_lvs1a_1p8: lvs1 {
291 regulator-min-microvolt = <1800000>;
292 regulator-max-microvolt = <1800000>;
295 vreg_lvs2a_1p8: lvs2 {
296 regulator-min-microvolt = <1800000>;
297 regulator-max-microvolt = <1800000>;
303 compatible = "qcom,rpm-pmi8998-regulators";
305 vdd_bob-supply = <&vph_pwr>;
308 regulator-min-microvolt = <3312000>;
309 regulator-max-microvolt = <3600000>;
315 gpio-reserved-ranges = <0 4>, <81 4>;
320 cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
322 vmmc-supply = <&vreg_l21a_2p95>;
323 vqmmc-supply = <&vreg_l13a_2p95>;
325 pinctrl-names = "default", "sleep";
326 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
327 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
335 vcc-supply = <&vreg_l20a_2p95>;
336 vccq-supply = <&vreg_l26a_1p2>;
337 vccq2-supply = <&vreg_s4a_1p8>;
338 vcc-max-microamp = <750000>;
339 vccq-max-microamp = <560000>;
340 vccq2-max-microamp = <750000>;
344 vdda-phy-supply = <&vreg_l1a_0p875>;
345 vdda-pll-supply = <&vreg_l2a_1p2>;
346 vddp-ref-clk-supply = <&vreg_l26a_1p2>;
347 vdda-phy-max-microamp = <51400>;
348 vdda-pll-max-microamp = <14600>;
349 vddp-ref-clk-max-microamp = <100>;
350 vddp-ref-clk-always-on;
358 dr_mode = "host"; /* Force to host until we have Type-C hooked up */
364 vdda-phy-supply = <&vreg_l1a_0p875>;
365 vdda-pll-supply = <&vreg_l2a_1p2>;