Lines Matching +full:sm8250 +full:- +full:pinctrl
1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/arm/qcom,ids.h>
9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10 #include "sm8250.dtsi"
17 * Delete following upstream (sm8250.dtsi) reserved
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;
28 compatible = "xiaomi,elish", "qcom,sm8250";
29 classis-type = "tablet";
32 qcom,msm-id = <QCOM_ID_SM8250 0x20001>; /* SM8250 v2.1 */
33 qcom,board-id = <0x10008 0>;
36 #address-cells = <2>;
37 #size-cells = <2>;
41 compatible = "simple-framebuffer";
50 battery_l: battery-l {
51 compatible = "simple-battery";
52 voltage-min-design-microvolt = <3870000>;
53 energy-full-design-microwatt-hours = <16600000>;
54 charge-full-design-microamp-hours = <4300000>;
57 battery_r: battery-r {
58 compatible = "simple-battery";
59 voltage-min-design-microvolt = <3870000>;
60 energy-full-design-microwatt-hours = <16600000>;
61 charge-full-design-microamp-hours = <4300000>;
64 bl_vddpos_5p5: bl-vddpos-regulator {
65 compatible = "regulator-fixed";
66 regulator-name = "bl_vddpos_5p5";
67 regulator-min-microvolt = <5500000>;
68 regulator-max-microvolt = <5500000>;
69 regulator-enable-ramp-delay = <233>;
71 enable-active-high;
72 regulator-boot-on;
75 bl_vddneg_5p5: bl-vddneg-regulator {
76 compatible = "regulator-fixed";
77 regulator-name = "bl_vddneg_5p5";
78 regulator-min-microvolt = <5500000>;
79 regulator-max-microvolt = <5500000>;
80 regulator-enable-ramp-delay = <233>;
82 enable-active-high;
83 regulator-boot-on;
86 gpio_keys: gpio-keys {
87 compatible = "gpio-keys";
89 pinctrl-names = "default";
90 pinctrl-0 = <&vol_up_n>;
92 key-vol-up {
96 debounce-interval = <15>;
97 linux,can-disable;
98 gpio-key,wakeup;
102 vph_pwr: vph-pwr-regulator {
103 compatible = "regulator-fixed";
104 regulator-name = "vph_pwr";
105 regulator-min-microvolt = <3700000>;
106 regulator-max-microvolt = <3700000>;
110 vreg_s6c_0p88: smpc6-regulator {
111 compatible = "regulator-fixed";
112 regulator-name = "vreg_s6c_0p88";
113 regulator-min-microvolt = <880000>;
114 regulator-max-microvolt = <880000>;
115 regulator-always-on;
116 vin-supply = <&vph_pwr>;
119 reserved-memory {
120 xbl_aop_mem: xbl-aop@80700000 {
122 no-map;
127 no-map;
132 no-map;
137 no-map;
140 cdsp_secure_heap: cdsp-secure-heap@8e100000 {
142 no-map;
145 cont_splash_mem: cont-splash@9c000000 {
147 no-map;
153 record-size = <0x1000>;
154 console-size = <0x200000>;
155 ecc-size = <16>;
156 no-map;
162 firmware-name = "qcom/sm8250/xiaomi/elish/adsp.mbn";
167 regulators-0 {
168 compatible = "qcom,pm8150-rpmh-regulators";
169 qcom,pmic-id = "a";
171 vdd-s1-supply = <&vph_pwr>;
172 vdd-s2-supply = <&vph_pwr>;
173 vdd-s3-supply = <&vph_pwr>;
174 vdd-s4-supply = <&vph_pwr>;
175 vdd-s5-supply = <&vph_pwr>;
176 vdd-s6-supply = <&vph_pwr>;
177 vdd-s7-supply = <&vph_pwr>;
178 vdd-s8-supply = <&vph_pwr>;
179 vdd-s9-supply = <&vph_pwr>;
180 vdd-s10-supply = <&vph_pwr>;
181 vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>;
182 vdd-l2-l10-supply = <&vreg_bob>;
183 vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>;
184 vdd-l6-l9-supply = <&vreg_s8c_1p35>;
185 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>;
186 vdd-l13-l16-l17-supply = <&vreg_bob>;
188 /* (S1+S2+S3) - cx.lvl (ARC) */
191 regulator-name = "vreg_s4a_1p8";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1920000>;
194 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
195 regulator-allow-set-load;
196 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
201 regulator-name = "vreg_s5a_1p9";
202 regulator-min-microvolt = <1900000>;
203 regulator-max-microvolt = <2040000>;
204 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
208 regulator-name = "vreg_s6a_0p95";
209 regulator-min-microvolt = <950000>;
210 regulator-max-microvolt = <1128000>;
211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
215 regulator-name = "vreg_l2a_3p1";
216 regulator-min-microvolt = <3072000>;
217 regulator-max-microvolt = <3072000>;
218 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
222 regulator-name = "vreg_l3a_0p9";
223 regulator-min-microvolt = <928000>;
224 regulator-max-microvolt = <932000>;
225 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228 /* L4 - lmx.lvl (ARC) */
231 regulator-name = "vreg_l5a_0p88";
232 regulator-min-microvolt = <880000>;
233 regulator-max-microvolt = <880000>;
234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
238 regulator-name = "vreg_l6a_1p2";
239 regulator-min-microvolt = <1200000>;
240 regulator-max-microvolt = <1200000>;
241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242 regulator-allow-set-load;
243 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
250 regulator-name = "vreg_l9a_1p2";
251 regulator-min-microvolt = <1200000>;
252 regulator-max-microvolt = <1200000>;
253 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
256 /* L10 is unused, L11 - lcx.lvl (ARC) */
259 regulator-name = "vreg_l12a_1p8";
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <1800000>;
262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
268 regulator-name = "vreg_l14a_1p88";
269 regulator-min-microvolt = <1880000>;
270 regulator-max-microvolt = <1880000>;
271 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
277 regulator-name = "vreg_l17a_3p0";
278 regulator-min-microvolt = <2496000>;
279 regulator-max-microvolt = <3008000>;
280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
281 regulator-allow-set-load;
282 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
287 regulator-name = "vreg_l18a_0p9";
288 regulator-min-microvolt = <800000>;
289 regulator-max-microvolt = <920000>;
290 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
296 * OLEDB: 4925000-8100000
297 * ab: 4600000-6100000
298 * ibb: 800000-5400000
300 regulators-1 {
301 compatible = "qcom,pm8150l-rpmh-regulators";
302 qcom,pmic-id = "c";
304 vdd-s1-supply = <&vph_pwr>;
305 vdd-s2-supply = <&vph_pwr>;
306 vdd-s3-supply = <&vph_pwr>;
307 vdd-s4-supply = <&vph_pwr>;
308 vdd-s5-supply = <&vph_pwr>;
309 vdd-s6-supply = <&vph_pwr>;
310 vdd-s7-supply = <&vph_pwr>;
311 vdd-s8-supply = <&vph_pwr>;
312 vdd-l1-l8-supply = <&vreg_s4a_1p8>;
313 vdd-l2-l3-supply = <&vreg_s8c_1p35>;
314 vdd-l4-l5-l6-supply = <&vreg_bob>;
315 vdd-l7-l11-supply = <&vreg_bob>;
316 vdd-l9-l10-supply = <&vreg_bob>;
317 vdd-bob-supply = <&vph_pwr>;
320 regulator-name = "vreg_bob";
321 regulator-min-microvolt = <3350000>;
322 regulator-max-microvolt = <3960000>;
323 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
327 * S1-S6 are ARCs:
328 * (S1+S2) - gfx.lvl,
329 * S3 - mx.lvl,
330 * (S4+S5) - mmcx.lvl,
331 * S6 - ebi.lvl
335 regulator-name = "vreg_s7c_0p35";
336 regulator-min-microvolt = <348000>;
337 regulator-max-microvolt = <1000000>;
338 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
342 regulator-name = "vreg_s8c_1p35";
343 regulator-min-microvolt = <1350000>;
344 regulator-max-microvolt = <1400000>;
345 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
349 regulator-name = "vreg_l1c_1p8";
350 regulator-min-microvolt = <1800000>;
351 regulator-max-microvolt = <1800000>;
352 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
355 /* L2-4 are unused. */
358 regulator-name = "vreg_l5c_1p8";
359 regulator-min-microvolt = <1800000>;
360 regulator-max-microvolt = <2800000>;
361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
365 regulator-name = "vreg_l6c_2p9";
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <2960000>;
368 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
369 regulator-allow-set-load;
370 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
375 regulator-name = "vreg_l7c_2p85";
376 regulator-min-microvolt = <2856000>;
377 regulator-max-microvolt = <3104000>;
378 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
382 regulator-name = "vreg_l8c_1p8";
383 regulator-min-microvolt = <1800000>;
384 regulator-max-microvolt = <1800000>;
385 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389 regulator-name = "vreg_l9c_2p9";
390 regulator-min-microvolt = <2704000>;
391 regulator-max-microvolt = <2960000>;
392 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
393 regulator-allow-set-load;
394 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
399 regulator-name = "vreg_l10c_3p3";
400 regulator-min-microvolt = <3296000>;
401 regulator-max-microvolt = <3296000>;
402 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
406 regulator-name = "vreg_l11c_3p0";
407 regulator-min-microvolt = <3000000>;
408 regulator-max-microvolt = <3000000>;
409 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
413 regulators-2 {
414 compatible = "qcom,pm8009-rpmh-regulators";
415 qcom,pmic-id = "f";
417 vdd-s1-supply = <&vph_pwr>;
418 vdd-s2-supply = <&vreg_bob>;
419 vdd-l2-supply = <&vreg_s8c_1p35>;
420 vdd-l5-l6-supply = <&vreg_bob>;
421 vdd-l7-supply = <&vreg_s4a_1p8>;
424 regulator-name = "vreg_s1f_1p2";
425 regulator-min-microvolt = <1200000>;
426 regulator-max-microvolt = <1200000>;
427 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
431 regulator-name = "vreg_s2f_0p5";
432 regulator-min-microvolt = <512000>;
433 regulator-max-microvolt = <1100000>;
434 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
440 regulator-name = "vreg_l2f_1p3";
441 regulator-min-microvolt = <1304000>;
442 regulator-max-microvolt = <1304000>;
443 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
449 regulator-name = "vreg_l5f_2p85";
450 regulator-min-microvolt = <2800000>;
451 regulator-max-microvolt = <2800000>;
452 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
456 regulator-name = "vreg_l6f_2p8";
457 regulator-min-microvolt = <2800000>;
458 regulator-max-microvolt = <2800000>;
459 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
463 regulator-name = "vreg_l7f_1p8";
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <1800000>;
466 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
472 firmware-name = "qcom/sm8250/xiaomi/elish/cdsp.mbn";
495 zap-shader {
496 memory-region = <&gpu_mem>;
497 firmware-name = "qcom/sm8250/xiaomi/elish/a650_zap.mbn";
502 clock-frequency = <400000>;
505 fuel-gauge@55 {
508 monitored-battery = <&battery_r>;
513 clock-frequency = <400000>;
519 vddpos-supply = <&bl_vddpos_5p5>;
520 vddneg-supply = <&bl_vddneg_5p5>;
521 enable-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>;
522 current-num-sinks = <5>;
523 kinetic,current-ramp-delay-ms = <128>;
524 kinetic,led-enable-ramp-delay-ms = <1>;
525 kinetic,enable-lcd-bias;
530 clock-frequency = <400000>;
533 fuel-gauge@55 {
536 monitored-battery = <&battery_l>;
545 vdda-phy-supply = <&vreg_l5a_0p88>;
546 vdda-pll-supply = <&vreg_l9a_1p2>;
551 vol_up_n: vol-up-n-state {
554 power-source = <1>;
555 input-enable;
556 bias-pull-up;
582 firmware-name = "qcom/sm8250/xiaomi/elish/slpi.mbn";
587 gpio-reserved-ranges = <40 4>;
592 qcom,select-utmi-as-pipe-clk;
598 maximum-spped = "high-speed";
601 phy-names = "usb2-phy";
605 vdda-pll-supply = <&vreg_l5a_0p88>;
606 vdda18-supply = <&vreg_l12a_1p8>;
607 vdda33-supply = <&vreg_l2a_3p1>;
612 vcc-supply = <&vreg_l17a_3p0>;
613 vcc-max-microamp = <800000>;
614 vccq-supply = <&vreg_l6a_1p2>;
615 vccq-max-microamp = <800000>;
616 vccq2-supply = <&vreg_s4a_1p8>;
617 vccq2-max-microamp = <800000>;
622 vdda-phy-supply = <&vreg_l5a_0p88>;
623 vdda-pll-supply = <&vreg_l9a_1p2>;
628 firmware-name = "qcom/sm8250/xiaomi/elish/venus.mbn";