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>;
98 // FIXME: Figure out why clock late_initcall crashes the board with
104 // FIXME: Figure out why clock late_initcall crashes the board with
119 compatible = "qcom,pm8005-regulators";
121 vdd_s1-supply = <&vph_pwr>;
123 pm8005_s1: s1 { /* VDD_GFX supply */
124 regulator-min-microvolt = <524000>;
125 regulator-max-microvolt = <1100000>;
126 regulator-enable-ramp-delay = <500>;
128 /* hack until we rig up the gpu consumer */
137 vdda-pll-supply = <&vreg_l12a_1p8>;
138 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
147 compatible = "qcom,rpm-pm8998-regulators";
149 vdd_s1-supply = <&vph_pwr>;
150 vdd_s2-supply = <&vph_pwr>;
151 vdd_s3-supply = <&vph_pwr>;
152 vdd_s4-supply = <&vph_pwr>;
153 vdd_s5-supply = <&vph_pwr>;
154 vdd_s6-supply = <&vph_pwr>;
155 vdd_s7-supply = <&vph_pwr>;
156 vdd_s8-supply = <&vph_pwr>;
157 vdd_s9-supply = <&vph_pwr>;
158 vdd_s10-supply = <&vph_pwr>;
159 vdd_s11-supply = <&vph_pwr>;
160 vdd_s12-supply = <&vph_pwr>;
161 vdd_s13-supply = <&vph_pwr>;
162 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
163 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
164 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
165 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
166 vdd_l6-supply = <&vreg_s5a_2p04>;
167 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
168 vdd_l9-supply = <&vreg_bob>;
169 vdd_l10_l23_l25-supply = <&vreg_bob>;
170 vdd_l13_l19_l21-supply = <&vreg_bob>;
171 vdd_l16_l28-supply = <&vreg_bob>;
172 vdd_l18_l22-supply = <&vreg_bob>;
173 vdd_l20_l24-supply = <&vreg_bob>;
174 vdd_l26-supply = <&vreg_s3a_1p35>;
175 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
178 regulator-min-microvolt = <1352000>;
179 regulator-max-microvolt = <1352000>;
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184 regulator-allow-set-load;
187 regulator-min-microvolt = <1904000>;
188 regulator-max-microvolt = <2040000>;
191 regulator-min-microvolt = <900000>;
192 regulator-max-microvolt = <1028000>;
195 regulator-min-microvolt = <880000>;
196 regulator-max-microvolt = <880000>;
199 regulator-min-microvolt = <1200000>;
200 regulator-max-microvolt = <1200000>;
203 regulator-min-microvolt = <1000000>;
204 regulator-max-microvolt = <1000000>;
207 regulator-min-microvolt = <800000>;
208 regulator-max-microvolt = <800000>;
211 regulator-min-microvolt = <1808000>;
212 regulator-max-microvolt = <1808000>;
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
219 regulator-min-microvolt = <1200000>;
220 regulator-max-microvolt = <1200000>;
223 regulator-min-microvolt = <1808000>;
224 regulator-max-microvolt = <2960000>;
227 regulator-min-microvolt = <1808000>;
228 regulator-max-microvolt = <2960000>;
231 regulator-min-microvolt = <1000000>;
232 regulator-max-microvolt = <1000000>;
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
238 vreg_l13a_2p95: l13 {
239 regulator-min-microvolt = <1808000>;
240 regulator-max-microvolt = <2960000>;
242 vreg_l14a_1p88: l14 {
243 regulator-min-microvolt = <1880000>;
244 regulator-max-microvolt = <1880000>;
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
251 regulator-min-microvolt = <2704000>;
252 regulator-max-microvolt = <2704000>;
255 regulator-min-microvolt = <1304000>;
256 regulator-max-microvolt = <1304000>;
259 regulator-min-microvolt = <2704000>;
260 regulator-max-microvolt = <2704000>;
263 regulator-min-microvolt = <3008000>;
264 regulator-max-microvolt = <3008000>;
266 vreg_l20a_2p95: l20 {
267 regulator-min-microvolt = <2960000>;
268 regulator-max-microvolt = <2960000>;
269 regulator-allow-set-load;
271 vreg_l21a_2p95: l21 {
272 regulator-min-microvolt = <2960000>;
273 regulator-max-microvolt = <2960000>;
274 regulator-allow-set-load;
275 regulator-system-load = <800000>;
277 vreg_l22a_2p85: l22 {
278 regulator-min-microvolt = <2864000>;
279 regulator-max-microvolt = <2864000>;
282 regulator-min-microvolt = <3312000>;
283 regulator-max-microvolt = <3312000>;
285 vreg_l24a_3p075: l24 {
286 regulator-min-microvolt = <3088000>;
287 regulator-max-microvolt = <3088000>;
290 regulator-min-microvolt = <3104000>;
291 regulator-max-microvolt = <3312000>;
294 regulator-min-microvolt = <1200000>;
295 regulator-max-microvolt = <1200000>;
296 regulator-allow-set-load;
299 regulator-min-microvolt = <3008000>;
300 regulator-max-microvolt = <3008000>;
303 vreg_lvs1a_1p8: lvs1 {
304 regulator-min-microvolt = <1800000>;
305 regulator-max-microvolt = <1800000>;
308 vreg_lvs2a_1p8: lvs2 {
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
316 compatible = "qcom,rpm-pmi8998-regulators";
318 vdd_bob-supply = <&vph_pwr>;
321 regulator-min-microvolt = <3312000>;
322 regulator-max-microvolt = <3600000>;
336 gpio-reserved-ranges = <0 4>, <81 4>;
341 cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
343 vmmc-supply = <&vreg_l21a_2p95>;
344 vqmmc-supply = <&vreg_l13a_2p95>;
346 pinctrl-names = "default", "sleep";
347 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
348 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
357 vcc-supply = <&vreg_l20a_2p95>;
358 vccq-supply = <&vreg_l26a_1p2>;
359 vccq2-supply = <&vreg_s4a_1p8>;
360 vcc-max-microamp = <750000>;
361 vccq-max-microamp = <560000>;
362 vccq2-max-microamp = <750000>;
367 vdda-phy-supply = <&vreg_l1a_0p875>;
368 vdda-pll-supply = <&vreg_l2a_1p2>;
369 vddp-ref-clk-supply = <&vreg_l26a_1p2>;
370 vdda-phy-max-microamp = <51400>;
371 vdda-pll-max-microamp = <14600>;
372 vddp-ref-clk-max-microamp = <100>;
373 vddp-ref-clk-always-on;
381 dr_mode = "host"; /* Force to host until we have Type-C hooked up */
387 vdda-phy-supply = <&vreg_l1a_0p875>;
388 vdda-pll-supply = <&vreg_l2a_1p2>;
394 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
395 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
396 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
397 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
400 /* PINCTRL - board-specific pinctrl */
403 /delete-property/ bias-disable;
405 * Configure a pull-up on 45 (RX). This is needed to
406 * avoid garbage data when the TX pin of the Bluetooth
407 * module is in tri-state (module powered off or not
408 * driving the signal yet).
414 /delete-property/ bias-disable;
416 * Configure a pull-down on 47 (CTS) to match the pull
417 * of the Bluetooth module.