Lines Matching +full:vdd +full:- +full:s

1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/arm/qcom,ids.h>
7 #include <dt-bindings/phy/phy.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include <dt-bindings/usb/pd.h>
20 /delete-node/ &adsp_mem;
21 /delete-node/ &cdsp_secure_heap;
22 /delete-node/ &slpi_mem;
23 /delete-node/ &spss_mem;
24 /delete-node/ &xbl_aop_mem;
27 chassis-type = "tablet";
30 qcom,msm-id = <QCOM_ID_SM8250 0x20001>; /* SM8250 v2.1 */
31 qcom,board-id = <0x10008 0>;
34 #address-cells = <2>;
35 #size-cells = <2>;
39 compatible = "simple-framebuffer";
48 battery_l: battery-l {
49 compatible = "simple-battery";
50 voltage-min-design-microvolt = <3870000>;
51 energy-full-design-microwatt-hours = <16600000>;
52 charge-full-design-microamp-hours = <4300000>;
55 battery_r: battery-r {
56 compatible = "simple-battery";
57 voltage-min-design-microvolt = <3870000>;
58 energy-full-design-microwatt-hours = <16600000>;
59 charge-full-design-microamp-hours = <4300000>;
62 bl_vddpos_5p5: bl-vddpos-regulator {
63 compatible = "regulator-fixed";
64 regulator-name = "bl_vddpos_5p5";
65 regulator-min-microvolt = <5500000>;
66 regulator-max-microvolt = <5500000>;
67 regulator-enable-ramp-delay = <233>;
69 enable-active-high;
70 regulator-boot-on;
73 bl_vddneg_5p5: bl-vddneg-regulator {
74 compatible = "regulator-fixed";
75 regulator-name = "bl_vddneg_5p5";
76 regulator-min-microvolt = <5500000>;
77 regulator-max-microvolt = <5500000>;
78 regulator-enable-ramp-delay = <233>;
80 enable-active-high;
81 regulator-boot-on;
84 gpio_keys: gpio-keys {
85 compatible = "gpio-keys";
87 pinctrl-names = "default";
88 pinctrl-0 = <&vol_up_n>;
90 key-vol-up {
94 debounce-interval = <15>;
95 linux,can-disable;
96 wakeup-source;
100 vph_pwr: vph-pwr-regulator {
101 compatible = "regulator-fixed";
102 regulator-name = "vph_pwr";
103 regulator-min-microvolt = <3700000>;
104 regulator-max-microvolt = <3700000>;
107 /* S6c is really ebi.lvl but it's there for supply map completeness sake. */
108 vreg_s6c_0p88: smpc6-regulator {
109 compatible = "regulator-fixed";
110 regulator-name = "vreg_s6c_0p88";
111 regulator-min-microvolt = <880000>;
112 regulator-max-microvolt = <880000>;
113 regulator-always-on;
114 vin-supply = <&vph_pwr>;
117 reserved-memory {
118 xbl_aop_mem: xbl-aop@80600000 {
120 no-map;
125 no-map;
130 no-map;
135 no-map;
138 cdsp_secure_heap: cdsp-secure-heap@8e100000 {
140 no-map;
143 cont_splash_mem: cont-splash@9c000000 {
145 no-map;
151 record-size = <0x1000>;
152 console-size = <0x200000>;
153 ecc-size = <16>;
154 no-map;
160 firmware-name = "qcom/sm8250/xiaomi/elish/adsp.mbn";
165 regulators-0 {
166 compatible = "qcom,pm8150-rpmh-regulators";
167 qcom,pmic-id = "a";
169 vdd-s1-supply = <&vph_pwr>;
170 vdd-s2-supply = <&vph_pwr>;
171 vdd-s3-supply = <&vph_pwr>;
172 vdd-s4-supply = <&vph_pwr>;
173 vdd-s5-supply = <&vph_pwr>;
174 vdd-s6-supply = <&vph_pwr>;
175 vdd-s7-supply = <&vph_pwr>;
176 vdd-s8-supply = <&vph_pwr>;
177 vdd-s9-supply = <&vph_pwr>;
178 vdd-s10-supply = <&vph_pwr>;
179 vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>;
180 vdd-l2-l10-supply = <&vreg_bob>;
181 vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>;
182 vdd-l6-l9-supply = <&vreg_s8c_1p35>;
183 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>;
184 vdd-l13-l16-l17-supply = <&vreg_bob>;
186 /* (S1+S2+S3) - cx.lvl (ARC) */
189 regulator-name = "vreg_s4a_1p8";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1920000>;
192 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
193 regulator-allow-set-load;
194 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
199 regulator-name = "vreg_s5a_1p9";
200 regulator-min-microvolt = <1900000>;
201 regulator-max-microvolt = <2040000>;
202 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
206 regulator-name = "vreg_s6a_0p95";
207 regulator-min-microvolt = <950000>;
208 regulator-max-microvolt = <1128000>;
209 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
213 regulator-name = "vreg_l2a_3p1";
214 regulator-min-microvolt = <3072000>;
215 regulator-max-microvolt = <3072000>;
216 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
220 regulator-name = "vreg_l3a_0p9";
221 regulator-min-microvolt = <928000>;
222 regulator-max-microvolt = <932000>;
223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
226 /* L4 - lmx.lvl (ARC) */
229 regulator-name = "vreg_l5a_0p88";
230 regulator-min-microvolt = <880000>;
231 regulator-max-microvolt = <880000>;
232 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
236 regulator-name = "vreg_l6a_1p2";
237 regulator-min-microvolt = <1200000>;
238 regulator-max-microvolt = <1200000>;
239 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
240 regulator-allow-set-load;
241 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
248 regulator-name = "vreg_l9a_1p2";
249 regulator-min-microvolt = <1200000>;
250 regulator-max-microvolt = <1200000>;
251 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
254 /* L10 is unused, L11 - lcx.lvl (ARC) */
257 regulator-name = "vreg_l12a_1p8";
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <1800000>;
260 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
266 regulator-name = "vreg_l14a_1p88";
267 regulator-min-microvolt = <1880000>;
268 regulator-max-microvolt = <1880000>;
269 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
275 regulator-name = "vreg_l17a_3p0";
276 regulator-min-microvolt = <2496000>;
277 regulator-max-microvolt = <3008000>;
278 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
279 regulator-allow-set-load;
280 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
285 regulator-name = "vreg_l18a_0p9";
286 regulator-min-microvolt = <800000>;
287 regulator-max-microvolt = <920000>;
288 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294 * OLEDB: 4925000-8100000
295 * ab: 4600000-6100000
296 * ibb: 800000-5400000
298 regulators-1 {
299 compatible = "qcom,pm8150l-rpmh-regulators";
300 qcom,pmic-id = "c";
302 vdd-s1-supply = <&vph_pwr>;
303 vdd-s2-supply = <&vph_pwr>;
304 vdd-s3-supply = <&vph_pwr>;
305 vdd-s4-supply = <&vph_pwr>;
306 vdd-s5-supply = <&vph_pwr>;
307 vdd-s6-supply = <&vph_pwr>;
308 vdd-s7-supply = <&vph_pwr>;
309 vdd-s8-supply = <&vph_pwr>;
310 vdd-l1-l8-supply = <&vreg_s4a_1p8>;
311 vdd-l2-l3-supply = <&vreg_s8c_1p35>;
312 vdd-l4-l5-l6-supply = <&vreg_bob>;
313 vdd-l7-l11-supply = <&vreg_bob>;
314 vdd-l9-l10-supply = <&vreg_bob>;
315 vdd-bob-supply = <&vph_pwr>;
318 regulator-name = "vreg_bob";
319 regulator-min-microvolt = <3350000>;
320 regulator-max-microvolt = <3960000>;
321 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
325 * S1-S6 are ARCs:
326 * (S1+S2) - gfx.lvl,
327 * S3 - mx.lvl,
328 * (S4+S5) - mmcx.lvl,
329 * S6 - ebi.lvl
333 regulator-name = "vreg_s7c_0p35";
334 regulator-min-microvolt = <348000>;
335 regulator-max-microvolt = <1000000>;
336 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
340 regulator-name = "vreg_s8c_1p35";
341 regulator-min-microvolt = <1350000>;
342 regulator-max-microvolt = <1400000>;
343 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347 regulator-name = "vreg_l1c_1p8";
348 regulator-min-microvolt = <1800000>;
349 regulator-max-microvolt = <1800000>;
350 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
353 /* L2-4 are unused. */
356 regulator-name = "vreg_l5c_1p8";
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <2800000>;
359 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
363 regulator-name = "vreg_l6c_2p9";
364 regulator-min-microvolt = <1800000>;
365 regulator-max-microvolt = <2960000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367 regulator-allow-set-load;
368 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
373 regulator-name = "vreg_l7c_2p85";
374 regulator-min-microvolt = <2856000>;
375 regulator-max-microvolt = <3104000>;
376 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
380 regulator-name = "vreg_l8c_1p8";
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <1800000>;
383 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
387 regulator-name = "vreg_l9c_2p9";
388 regulator-min-microvolt = <2704000>;
389 regulator-max-microvolt = <2960000>;
390 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391 regulator-allow-set-load;
392 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
397 regulator-name = "vreg_l10c_3p3";
398 regulator-min-microvolt = <3296000>;
399 regulator-max-microvolt = <3296000>;
400 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
404 regulator-name = "vreg_l11c_3p0";
405 regulator-min-microvolt = <3000000>;
406 regulator-max-microvolt = <3000000>;
407 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
411 regulators-2 {
412 compatible = "qcom,pm8009-rpmh-regulators";
413 qcom,pmic-id = "f";
415 vdd-s1-supply = <&vph_pwr>;
416 vdd-s2-supply = <&vreg_bob>;
417 vdd-l2-supply = <&vreg_s8c_1p35>;
418 vdd-l5-l6-supply = <&vreg_bob>;
419 vdd-l7-supply = <&vreg_s4a_1p8>;
422 regulator-name = "vreg_s1f_1p2";
423 regulator-min-microvolt = <1200000>;
424 regulator-max-microvolt = <1200000>;
425 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
429 regulator-name = "vreg_s2f_0p5";
430 regulator-min-microvolt = <512000>;
431 regulator-max-microvolt = <1100000>;
432 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
438 regulator-name = "vreg_l2f_1p3";
439 regulator-min-microvolt = <1304000>;
440 regulator-max-microvolt = <1304000>;
441 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
447 regulator-name = "vreg_l5f_2p85";
448 regulator-min-microvolt = <2800000>;
449 regulator-max-microvolt = <2800000>;
450 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
454 regulator-name = "vreg_l6f_2p8";
455 regulator-min-microvolt = <2800000>;
456 regulator-max-microvolt = <2800000>;
457 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
461 regulator-name = "vreg_l7f_1p8";
462 regulator-min-microvolt = <1800000>;
463 regulator-max-microvolt = <1800000>;
464 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
470 firmware-name = "qcom/sm8250/xiaomi/elish/cdsp.mbn";
493 zap-shader {
494 memory-region = <&gpu_mem>;
495 firmware-name = "qcom/sm8250/xiaomi/elish/a650_zap.mbn";
500 clock-frequency = <400000>;
503 fuel-gauge@55 {
506 monitored-battery = <&battery_r>;
511 clock-frequency = <400000>;
517 vddpos-supply = <&bl_vddpos_5p5>;
518 vddneg-supply = <&bl_vddneg_5p5>;
519 enable-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>;
520 current-num-sinks = <5>;
521 kinetic,current-ramp-delay-ms = <128>;
522 kinetic,led-enable-ramp-delay-ms = <1>;
523 kinetic,enable-lcd-bias;
528 clock-frequency = <400000>;
531 fuel-gauge@55 {
534 monitored-battery = <&battery_l>;
543 vdda-supply = <&vreg_l9a_1p2>;
544 qcom,dual-dsi-mode;
545 qcom,sync-dual-dsi;
546 qcom,master-dsi;
551 vddio-supply = <&vreg_l14a_1p88>;
552 reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
558 #address-cells = <1>;
559 #size-cells = <0>;
565 remote-endpoint = <&mdss_dsi0_out>;
573 remote-endpoint = <&mdss_dsi1_out>;
581 data-lanes = <0 1 2>;
582 remote-endpoint = <&panel_in_0>;
586 vdds-supply = <&vreg_l5a_0p88>;
587 phy-type = <PHY_TYPE_CPHY>;
592 vdda-supply = <&vreg_l9a_1p2>;
593 qcom,dual-dsi-mode;
594 qcom,sync-dual-dsi;
596 assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
601 data-lanes = <0 1 2>;
602 remote-endpoint = <&panel_in_1>;
606 vdds-supply = <&vreg_l5a_0p88>;
607 phy-type = <PHY_TYPE_CPHY>;
616 vdda-phy-supply = <&vreg_l5a_0p88>;
617 vdda-pll-supply = <&vreg_l9a_1p2>;
622 vol_up_n: vol-up-n-state {
625 power-source = <1>;
626 input-enable;
627 bias-pull-up;
632 vdd-pdphy-supply = <&vreg_l2a_3p1>;
636 compatible = "usb-c-connector";
638 power-role = "source";
639 data-role = "dual";
640 self-powered;
642 source-pdos = <PDO_FIXED(5000, 3000,
648 #address-cells = <1>;
649 #size-cells = <0>;
655 remote-endpoint = <&usb_1_role_switch_out>;
688 firmware-name = "qcom/sm8250/xiaomi/elish/slpi.mbn";
693 gpio-reserved-ranges = <40 4>;
698 qcom,select-utmi-as-pipe-clk;
704 maximum-speed = "high-speed";
707 phy-names = "usb2-phy";
708 usb-role-switch;
712 vdda-pll-supply = <&vreg_l5a_0p88>;
713 vdda18-supply = <&vreg_l12a_1p8>;
714 vdda33-supply = <&vreg_l2a_3p1>;
719 remote-endpoint = <&pm8150b_role_switch_in>;
723 vcc-supply = <&vreg_l17a_3p0>;
724 vcc-max-microamp = <800000>;
725 vccq-supply = <&vreg_l6a_1p2>;
726 vccq-max-microamp = <800000>;
727 vccq2-supply = <&vreg_s4a_1p8>;
728 vccq2-max-microamp = <800000>;
733 vdda-phy-supply = <&vreg_l5a_0p88>;
734 vdda-pll-supply = <&vreg_l9a_1p2>;
739 firmware-name = "qcom/sm8250/xiaomi/elish/venus.mbn";