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;
12 serial1 = &blsp1_uart3;
16 stdout-path = "serial0:115200n8";
19 vph_pwr: vph-pwr-regulator {
20 compatible = "regulator-fixed";
21 regulator-name = "vph_pwr";
31 compatible = "qcom,wcn3990-bt";
33 vddio-supply = <&vreg_s4a_1p8>;
34 vddxo-supply = <&vreg_l7a_1p8>;
35 vddrf-supply = <&vreg_l17a_1p3>;
36 vddch0-supply = <&vreg_l25a_3p3>;
37 max-speed = <3200000>;
107 compatible = "qcom,pm8005-regulators";
109 vdd_s1-supply = <&vph_pwr>;
111 pm8005_s1: s1 { /* VDD_GFX supply */
112 regulator-min-microvolt = <524000>;
113 regulator-max-microvolt = <1100000>;
114 regulator-enable-ramp-delay = <500>;
116 /* hack until we rig up the gpu consumer */
125 vdda-pll-supply = <&vreg_l12a_1p8>;
126 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
135 compatible = "qcom,rpm-pm8998-regulators";
137 vdd_s1-supply = <&vph_pwr>;
138 vdd_s2-supply = <&vph_pwr>;
139 vdd_s3-supply = <&vph_pwr>;
140 vdd_s4-supply = <&vph_pwr>;
141 vdd_s5-supply = <&vph_pwr>;
142 vdd_s6-supply = <&vph_pwr>;
143 vdd_s7-supply = <&vph_pwr>;
144 vdd_s8-supply = <&vph_pwr>;
145 vdd_s9-supply = <&vph_pwr>;
146 vdd_s10-supply = <&vph_pwr>;
147 vdd_s11-supply = <&vph_pwr>;
148 vdd_s12-supply = <&vph_pwr>;
149 vdd_s13-supply = <&vph_pwr>;
150 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
151 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
152 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
153 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
154 vdd_l6-supply = <&vreg_s5a_2p04>;
155 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
156 vdd_l9-supply = <&vreg_bob>;
157 vdd_l10_l23_l25-supply = <&vreg_bob>;
158 vdd_l13_l19_l21-supply = <&vreg_bob>;
159 vdd_l16_l28-supply = <&vreg_bob>;
160 vdd_l18_l22-supply = <&vreg_bob>;
161 vdd_l20_l24-supply = <&vreg_bob>;
162 vdd_l26-supply = <&vreg_s3a_1p35>;
163 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
166 regulator-min-microvolt = <1352000>;
167 regulator-max-microvolt = <1352000>;
170 regulator-min-microvolt = <1800000>;
171 regulator-max-microvolt = <1800000>;
172 regulator-allow-set-load;
175 regulator-min-microvolt = <1904000>;
176 regulator-max-microvolt = <2040000>;
179 regulator-min-microvolt = <900000>;
180 regulator-max-microvolt = <1028000>;
183 regulator-min-microvolt = <880000>;
184 regulator-max-microvolt = <880000>;
187 regulator-min-microvolt = <1200000>;
188 regulator-max-microvolt = <1200000>;
191 regulator-min-microvolt = <1000000>;
192 regulator-max-microvolt = <1000000>;
195 regulator-min-microvolt = <800000>;
196 regulator-max-microvolt = <800000>;
199 regulator-min-microvolt = <1808000>;
200 regulator-max-microvolt = <1808000>;
203 regulator-min-microvolt = <1800000>;
204 regulator-max-microvolt = <1800000>;
207 regulator-min-microvolt = <1200000>;
208 regulator-max-microvolt = <1200000>;
211 regulator-min-microvolt = <1808000>;
212 regulator-max-microvolt = <2960000>;
215 regulator-min-microvolt = <1808000>;
216 regulator-max-microvolt = <2960000>;
219 regulator-min-microvolt = <1000000>;
220 regulator-max-microvolt = <1000000>;
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
226 vreg_l13a_2p95: l13 {
227 regulator-min-microvolt = <1808000>;
228 regulator-max-microvolt = <2960000>;
230 vreg_l14a_1p88: l14 {
231 regulator-min-microvolt = <1880000>;
232 regulator-max-microvolt = <1880000>;
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
239 regulator-min-microvolt = <2704000>;
240 regulator-max-microvolt = <2704000>;
243 regulator-min-microvolt = <1304000>;
244 regulator-max-microvolt = <1304000>;
247 regulator-min-microvolt = <2704000>;
248 regulator-max-microvolt = <2704000>;
251 regulator-min-microvolt = <3008000>;
252 regulator-max-microvolt = <3008000>;
254 vreg_l20a_2p95: l20 {
255 regulator-min-microvolt = <2960000>;
256 regulator-max-microvolt = <2960000>;
257 regulator-allow-set-load;
259 vreg_l21a_2p95: l21 {
260 regulator-min-microvolt = <2960000>;
261 regulator-max-microvolt = <2960000>;
262 regulator-allow-set-load;
263 regulator-system-load = <800000>;
265 vreg_l22a_2p85: l22 {
266 regulator-min-microvolt = <2864000>;
267 regulator-max-microvolt = <2864000>;
270 regulator-min-microvolt = <3312000>;
271 regulator-max-microvolt = <3312000>;
273 vreg_l24a_3p075: l24 {
274 regulator-min-microvolt = <3088000>;
275 regulator-max-microvolt = <3088000>;
278 regulator-min-microvolt = <3104000>;
279 regulator-max-microvolt = <3312000>;
282 regulator-min-microvolt = <1200000>;
283 regulator-max-microvolt = <1200000>;
284 regulator-allow-set-load;
287 regulator-min-microvolt = <3008000>;
288 regulator-max-microvolt = <3008000>;
291 vreg_lvs1a_1p8: lvs1 {
292 regulator-min-microvolt = <1800000>;
293 regulator-max-microvolt = <1800000>;
296 vreg_lvs2a_1p8: lvs2 {
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
304 compatible = "qcom,rpm-pmi8998-regulators";
306 vdd_bob-supply = <&vph_pwr>;
309 regulator-min-microvolt = <3312000>;
310 regulator-max-microvolt = <3600000>;
324 gpio-reserved-ranges = <0 4>, <81 4>;
329 cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
331 vmmc-supply = <&vreg_l21a_2p95>;
332 vqmmc-supply = <&vreg_l13a_2p95>;
334 pinctrl-names = "default", "sleep";
335 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
336 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
344 vcc-supply = <&vreg_l20a_2p95>;
345 vccq-supply = <&vreg_l26a_1p2>;
346 vccq2-supply = <&vreg_s4a_1p8>;
347 vcc-max-microamp = <750000>;
348 vccq-max-microamp = <560000>;
349 vccq2-max-microamp = <750000>;
353 vdda-phy-supply = <&vreg_l1a_0p875>;
354 vdda-pll-supply = <&vreg_l2a_1p2>;
355 vddp-ref-clk-supply = <&vreg_l26a_1p2>;
356 vdda-phy-max-microamp = <51400>;
357 vdda-pll-max-microamp = <14600>;
358 vddp-ref-clk-max-microamp = <100>;
359 vddp-ref-clk-always-on;
367 dr_mode = "host"; /* Force to host until we have Type-C hooked up */
373 vdda-phy-supply = <&vreg_l1a_0p875>;
374 vdda-pll-supply = <&vreg_l2a_1p2>;
380 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
381 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
382 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
383 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
386 /* PINCTRL - board-specific pinctrl */
389 /delete-property/ bias-disable;
391 * Configure a pull-up on 45 (RX). This is needed to
392 * avoid garbage data when the TX pin of the Bluetooth
393 * module is in tri-state (module powered off or not
394 * driving the signal yet).
400 /delete-property/ bias-disable;
402 * Configure a pull-down on 47 (CTS) to match the pull
403 * of the Bluetooth module.