Lines Matching +full:sm8250 +full:- +full:dispcc

1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
7 #include "sm8250.dtsi"
13 /delete-node/ &adsp_mem;
14 /delete-node/ &spss_mem;
15 /delete-node/ &cdsp_secure_heap;
18 qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */
19 qcom,board-id = <0x10008 0>;
26 stdout-path = "serial0:115200n8";
27 #address-cells = <2>;
28 #size-cells = <2>;
32 compatible = "simple-framebuffer";
43 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
46 <&dispcc DISP_CC_MDSS_VSYNC_CLK>,
47 <&dispcc DISP_CC_MDSS_MDP_CLK>,
48 <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
49 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
50 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
51 <&dispcc DISP_CC_MDSS_ESC0_CLK>;
52 power-domains = <&dispcc MDSS_GDSC>;
56 gpio_keys: gpio-keys {
57 compatible = "gpio-keys";
59 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n>;
60 pinctrl-names = "default";
62 key-camera-focus {
66 debounce-interval = <15>;
67 linux,can-disable;
68 wakeup-source;
71 key-camera-snapshot {
75 debounce-interval = <15>;
76 linux,can-disable;
77 wakeup-source;
80 key-vol-down {
84 debounce-interval = <15>;
85 linux,can-disable;
86 wakeup-source;
90 vph_pwr: vph-pwr-regulator {
91 compatible = "regulator-fixed";
92 regulator-name = "vph_pwr";
93 regulator-min-microvolt = <3700000>;
94 regulator-max-microvolt = <3700000>;
98 vreg_s6c_0p88: smpc6-regulator {
99 compatible = "regulator-fixed";
100 regulator-name = "vreg_s6c_0p88";
102 regulator-min-microvolt = <880000>;
103 regulator-max-microvolt = <880000>;
104 regulator-always-on;
105 vin-supply = <&vph_pwr>;
108 reserved-memory {
111 no-map;
116 no-map;
121 no-map;
126 no-map;
132 record-size = <0x1000>;
133 console-size = <0x40000>;
134 pmsg-size = <0x20000>;
135 ecc-size = <16>;
136 no-map;
146 regulators-0 {
147 compatible = "qcom,pm8150-rpmh-regulators";
148 qcom,pmic-id = "a";
150 vdd-s1-supply = <&vph_pwr>;
151 vdd-s2-supply = <&vph_pwr>;
152 vdd-s3-supply = <&vph_pwr>;
153 vdd-s4-supply = <&vph_pwr>;
154 vdd-s5-supply = <&vph_pwr>;
155 vdd-s6-supply = <&vph_pwr>;
156 vdd-s7-supply = <&vph_pwr>;
157 vdd-s8-supply = <&vph_pwr>;
158 vdd-s9-supply = <&vph_pwr>;
159 vdd-s10-supply = <&vph_pwr>;
160 vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>;
161 vdd-l2-l10-supply = <&vreg_bob>;
162 vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p6>;
163 vdd-l6-l9-supply = <&vreg_s8c_1p2>;
164 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>;
165 vdd-l13-l16-l17-supply = <&vreg_bob>;
167 /* (S1+S2+S3) - cx.lvl (ARC) */
170 regulator-name = "vreg_s4a_1p8";
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <1920000>;
173 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
177 regulator-name = "vreg_s5a_1p9";
178 regulator-min-microvolt = <1824000>;
179 regulator-max-microvolt = <2040000>;
180 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
184 regulator-name = "vreg_s6a_0p6";
185 regulator-min-microvolt = <600000>;
186 regulator-max-microvolt = <1128000>;
187 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
191 regulator-name = "vreg_l2a_3p1";
192 regulator-min-microvolt = <3072000>;
193 regulator-max-microvolt = <3072000>;
194 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
198 regulator-name = "vreg_l3a_0p9";
199 regulator-min-microvolt = <928000>;
200 regulator-max-microvolt = <932000>;
201 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
204 /* L4 - lmx.lvl (ARC) */
207 regulator-name = "vreg_l5a_0p88";
208 regulator-min-microvolt = <880000>;
209 regulator-max-microvolt = <880000>;
210 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214 regulator-name = "vreg_l6a_1p2";
215 regulator-min-microvolt = <1200000>;
216 regulator-max-microvolt = <1200000>;
217 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
223 regulator-name = "vreg_l9a_1p2";
224 regulator-min-microvolt = <1200000>;
225 regulator-max-microvolt = <1200000>;
226 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
229 /* L10 is unused, L11 - lcx.lvl (ARC) */
232 regulator-name = "vreg_l12a_1p8";
233 regulator-min-microvolt = <1800000>;
234 regulator-max-microvolt = <1800000>;
235 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
241 regulator-name = "vreg_l14a_1p8";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <1880000>;
244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250 regulator-name = "vreg_l17a_3p0";
251 regulator-min-microvolt = <2496000>;
252 regulator-max-microvolt = <3008000>;
253 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
257 regulator-name = "vreg_l18a_0p9";
258 regulator-min-microvolt = <800000>;
259 regulator-max-microvolt = <920000>;
260 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
266 * OLEDB: 4925000-8100000
267 * ab: 4600000-6100000
268 * ibb: 800000-5400000
270 regulators-1 {
271 compatible = "qcom,pm8150l-rpmh-regulators";
272 qcom,pmic-id = "c";
274 vdd-s1-supply = <&vph_pwr>;
275 vdd-s2-supply = <&vph_pwr>;
276 vdd-s3-supply = <&vph_pwr>;
277 vdd-s4-supply = <&vph_pwr>;
278 vdd-s5-supply = <&vph_pwr>;
279 vdd-s6-supply = <&vph_pwr>;
280 vdd-s7-supply = <&vph_pwr>;
281 vdd-s8-supply = <&vph_pwr>;
282 vdd-l1-l8-supply = <&vreg_s4a_1p8>;
283 vdd-l2-l3-supply = <&vreg_s8c_1p2>;
284 vdd-l4-l5-l6-supply = <&vreg_bob>;
285 vdd-l7-l11-supply = <&vreg_bob>;
286 vdd-l9-l10-supply = <&vreg_bob>;
287 vdd-bob-supply = <&vph_pwr>;
290 regulator-name = "vreg_bob";
291 regulator-min-microvolt = <3350000>;
292 regulator-max-microvolt = <3960000>;
293 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
297 * S1-S6 are ARCs:
298 * (S1+S2) - gfx.lvl,
299 * S3 - mx.lvl,
300 * (S4+S5) - mmcx.lvl,
301 * S6 - ebi.lvl
305 regulator-name = "vreg_s7c_0p35";
306 regulator-min-microvolt = <348000>;
307 regulator-max-microvolt = <1000000>;
308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
312 regulator-name = "vreg_s8c_1p2";
313 regulator-min-microvolt = <1200000>;
314 regulator-max-microvolt = <1400000>;
315 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
319 regulator-name = "vreg_l1c_1p8";
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <1800000>;
322 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325 /* L2-4 are unused. */
328 regulator-name = "vreg_l5c_1p8";
329 regulator-min-microvolt = <1800000>;
330 regulator-max-microvolt = <2800000>;
331 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
335 regulator-name = "vreg_l6c_2p9";
336 regulator-min-microvolt = <1800000>;
337 regulator-max-microvolt = <2960000>;
338 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339 regulator-allow-set-load;
340 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
345 regulator-name = "vreg_l7c_2p85";
346 regulator-min-microvolt = <2856000>;
347 regulator-max-microvolt = <3104000>;
348 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
352 regulator-name = "vreg_l8c_1p8";
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
355 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
359 regulator-name = "vreg_l9c_2p9";
360 regulator-min-microvolt = <2704000>;
361 regulator-max-microvolt = <2960000>;
362 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
363 regulator-allow-set-load;
364 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
369 regulator-name = "vreg_l10c_3p3";
370 regulator-min-microvolt = <3296000>;
371 regulator-max-microvolt = <3296000>;
372 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
376 regulator-name = "vreg_l11c_3p0";
377 regulator-min-microvolt = <3000000>;
378 regulator-max-microvolt = <3000000>;
379 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
383 regulators-2 {
384 compatible = "qcom,pm8009-rpmh-regulators";
385 qcom,pmic-id = "f";
387 vdd-s1-supply = <&vph_pwr>;
388 vdd-s2-supply = <&vreg_bob>;
389 vdd-l2-supply = <&vreg_s8c_1p2>;
390 vdd-l5-l6-supply = <&vreg_bob>;
391 vdd-l7-supply = <&vreg_s4a_1p8>;
394 regulator-name = "vreg_s1f_1p2";
395 regulator-min-microvolt = <1200000>;
396 regulator-max-microvolt = <1200000>;
397 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
401 regulator-name = "vreg_s2f_0p5";
402 regulator-min-microvolt = <512000>;
403 regulator-max-microvolt = <1100000>;
404 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
410 regulator-name = "vreg_l2f_1p3";
411 regulator-min-microvolt = <1304000>;
412 regulator-max-microvolt = <1304000>;
413 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
419 regulator-name = "vreg_l5f_2p85";
420 regulator-min-microvolt = <2800000>;
421 regulator-max-microvolt = <2800000>;
422 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
426 regulator-name = "vreg_l6f_2p8";
427 regulator-min-microvolt = <2800000>;
428 regulator-max-microvolt = <2800000>;
429 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
433 regulator-name = "vreg_l7f_1p8";
434 regulator-min-microvolt = <1800000>;
435 regulator-max-microvolt = <1800000>;
436 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
459 clock-frequency = <400000>;
462 compatible = "nxp,nxp-nci-i2c";
465 interrupt-parent = <&tlmm>;
468 enable-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
469 firmware-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
475 clock-frequency = <1000000>;
477 cs35l41_l: speaker-amp@40 {
480 interrupt-parent = <&tlmm>;
482 reset-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
483 cirrus,boost-peak-milliamp = <4000>;
484 cirrus,boost-ind-nanohenry = <1000>;
485 cirrus,boost-cap-microfarad = <15>;
486 cirrus,asp-sdout-hiz = <3>;
487 cirrus,gpio2-src-select = <2>;
488 cirrus,gpio2-output-enable;
489 #sound-dai-cells = <1>;
492 cs35l41_r: speaker-amp@41 {
495 interrupt-parent = <&tlmm>;
497 reset-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
498 cirrus,boost-peak-milliamp = <4000>;
499 cirrus,boost-ind-nanohenry = <1000>;
500 cirrus,boost-cap-microfarad = <15>;
501 cirrus,asp-sdout-hiz = <3>;
502 cirrus,gpio2-src-select = <2>;
503 cirrus,gpio2-output-enable;
504 #sound-dai-cells = <1>;
510 clock-frequency = <400000>;
517 clock-frequency = <400000>;
522 interrupt-parent = <&tlmm>;
525 vdd-supply = <&vreg_l1c_1p8>;
526 avdd-supply = <&vreg_l10c_3p3>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&ts_int_default>;
535 clock-frequency = <400000>;
549 vdda-phy-supply = <&vreg_l5a_0p88>;
550 vdda-pll-supply = <&vreg_l9a_1p2>;
556 pinctrl-0 = <&pcie2_default_state &mdm2ap_default &ap2mdm_default>;
562 vdda-phy-supply = <&vreg_l5a_0p88>;
563 vdda-pll-supply = <&vreg_l9a_1p2>;
567 vol_down_n: vol-down-n-state {
570 power-source = <0>;
571 bias-pull-up;
572 input-enable;
577 snapshot_n: snapshot-n-state {
580 power-source = <0>;
581 bias-pull-up;
582 input-enable;
585 focus_n: focus-n-state {
588 power-source = <0>;
589 bias-pull-up;
590 input-enable;
619 cd-gpios = <&tlmm 77 GPIO_ACTIVE_HIGH>;
620 pinctrl-names = "default", "sleep";
621 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
622 pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>;
623 vmmc-supply = <&vreg_l9c_2p9>;
624 vqmmc-supply = <&vreg_l6c_2p9>;
625 bus-width = <4>;
626 no-sdio;
627 no-mmc;
635 gpio-reserved-ranges = <40 4>, <52 4>;
637 sdc2_default_state: sdc2-default-state {
638 clk-pins {
640 drive-strength = <16>;
641 bias-disable;
644 cmd-pins {
646 drive-strength = <16>;
647 bias-pull-up;
650 data-pins {
652 drive-strength = <16>;
653 bias-pull-up;
657 mdm2ap_default: mdm2ap-default-state {
660 drive-strength = <8>;
661 bias-disable;
664 ts_int_default: ts-int-default-state {
667 drive-strength = <2>;
668 bias-disable;
671 ap2mdm_default: ap2mdm-default-state {
674 drive-strength = <16>;
675 bias-disable;
678 sdc2_card_det_n: sd-card-det-n-state {
681 bias-pull-up;
682 drive-strength = <2>;
705 vdda-pll-supply = <&vreg_l5a_0p88>;
706 vdda18-supply = <&vreg_l12a_1p8>;
707 vdda33-supply = <&vreg_l2a_3p1>;
713 vdda-phy-supply = <&vreg_l9a_1p2>;
714 vdda-pll-supply = <&vreg_l18a_0p9>;
718 firmware-name = "qcom/sm8250/Sony/edo/venus.mbn";