Lines Matching +full:mm2 +full:- +full:dai +full:- +full:link
1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
8 #include <dt-bindings/sound/qcom,q6afe.h>
9 #include <dt-bindings/sound/qcom,q6asm.h>
11 #include "sdm845-wcd9340.dtsi"
19 /delete-node/ &tz_mem;
20 /delete-node/ &adsp_mem;
21 /delete-node/ &wlan_msa_mem;
22 /delete-node/ &mpss_region;
23 /delete-node/ &venus_mem;
24 /delete-node/ &cdsp_mem;
25 /delete-node/ &mba_region;
26 /delete-node/ &slpi_mem;
27 /delete-node/ &spss_mem;
28 /delete-node/ &rmtfs_mem;
31 chassis-type = "handset";
34 qcom,board-id = <69 0>;
35 qcom,msm-id = <321 0x20001>;
41 gpio-keys {
42 compatible = "gpio-keys";
45 pinctrl-names = "default";
46 pinctrl-0 = <&vol_up_pin_a>;
48 key-vol-up {
56 reserved-memory {
59 no-map;
64 no-map;
69 no-map;
74 no-map;
79 no-map;
84 no-map;
89 no-map;
94 no-map;
99 no-map;
105 no-map;
109 compatible = "qcom,rmtfs-mem";
111 no-map;
113 qcom,client-id = <1>;
119 compatible = "simple-battery";
121 charge-full-design-microamp-hours = <4000000>;
122 voltage-min-design-microvolt = <3400000>;
123 voltage-max-design-microvolt = <4400000>;
126 vreg_s4a_1p8: vreg-s4a-1p8 {
127 compatible = "regulator-fixed";
128 regulator-name = "vreg_s4a_1p8";
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <1800000>;
132 regulator-always-on;
138 firmware-name = "qcom/sdm845/beryllium/adsp.mbn";
142 regulators-0 {
143 compatible = "qcom,pm8998-rpmh-regulators";
144 qcom,pmic-id = "a";
147 regulator-min-microvolt = <880000>;
148 regulator-max-microvolt = <880000>;
149 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
153 regulator-min-microvolt = <800000>;
154 regulator-max-microvolt = <800000>;
155 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <1800000>;
161 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
167 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <2960000>;
173 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
179 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
180 regulator-boot-on;
181 regulator-always-on;
185 regulator-min-microvolt = <1304000>;
186 regulator-max-microvolt = <1304000>;
187 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
191 regulator-min-microvolt = <2960000>;
192 regulator-max-microvolt = <2968000>;
193 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
197 regulator-min-microvolt = <2960000>;
198 regulator-max-microvolt = <2968000>;
199 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203 regulator-min-microvolt = <3300000>;
204 regulator-max-microvolt = <3312000>;
205 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
209 regulator-min-microvolt = <3088000>;
210 regulator-max-microvolt = <3088000>;
211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
215 regulator-min-microvolt = <3300000>;
216 regulator-max-microvolt = <3312000>;
217 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
221 regulator-min-microvolt = <1200000>;
222 regulator-max-microvolt = <1200000>;
223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
224 regulator-boot-on;
231 firmware-name = "qcom/sdm845/beryllium/cdsp.mbn";
235 protected-clocks = <GCC_QSPI_CORE_CLK>,
249 zap-shader {
250 memory-region = <&gpu_mem>;
251 firmware-name = "qcom/sdm845/beryllium/a630_zap.mbn";
256 regulator-min-microvolt = <4600000>;
257 regulator-max-microvolt = <6000000>;
258 regulator-over-current-protection;
259 regulator-pull-down;
260 regulator-soft-start;
261 qcom,discharge-resistor-kohms = <300>;
265 regulator-min-microvolt = <4600000>;
266 regulator-max-microvolt = <6000000>;
267 regulator-over-current-protection;
268 regulator-pull-down;
269 regulator-soft-start;
278 vdda-supply = <&vreg_l26a_1p2>;
282 vddio-supply = <&vreg_l14a_1p8>;
283 vddpos-supply = <&lab>;
284 vddneg-supply = <&ibb>;
287 reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
293 remote-endpoint = <&mdss_dsi0_out>;
300 remote-endpoint = <&panel_in_0>;
301 data-lanes = <0 1 2 3>;
306 vdds-supply = <&vreg_l1a_0p875>;
311 firmware-name = "qcom/sdm845/beryllium/mba.mbn", "qcom/sdm845/beryllium/modem.mbn";
315 qcom,gsi-loader = "self";
316 memory-region = <&ipa_fw_mem>;
317 firmware-name = "qcom/sdm845/beryllium/ipa_fws.mbn";
322 vol_up_pin_a: vol-up-active-state {
325 input-enable;
326 bias-pull-up;
327 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
343 qcom,current-boost-limit = <970>;
344 qcom,ovp-millivolt = <29600>;
345 qcom,current-limit-microamp = <20000>;
346 qcom,num-strings = <2>;
347 qcom,switching-freq = <600>;
348 qcom,external-pfet;
353 monitored-battery = <&battery>;
361 led-0 {
364 led-sources = <1>;
365 led-max-microamp = <500000>;
366 flash-max-microamp = <1500000>;
367 flash-max-timeout-us = <1280000>;
370 led-1 {
373 led-sources = <2>;
374 led-max-microamp = <500000>;
375 flash-max-microamp = <1500000>;
376 flash-max-timeout-us = <1280000>;
387 dai@22 {
389 qcom,sd-lines = <0>;
394 dai@0 {
398 dai@1 {
402 dai@2 {
414 pinctrl-names = "default";
415 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
417 vmmc-supply = <&vreg_l21a_2p95>;
418 vqmmc-supply = <&vreg_l13a_2p95>;
420 bus-width = <4>;
421 cd-gpios = <&tlmm 126 GPIO_ACTIVE_HIGH>;
425 compatible = "qcom,db845c-sndcard", "qcom,sdm845-sndcard";
426 pinctrl-0 = <&quat_mi2s_active
428 pinctrl-names = "default";
430 audio-routing =
436 mm1-dai-link {
437 link-name = "MultiMedia1";
439 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
443 mm2-dai-link {
444 link-name = "MultiMedia2";
446 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
450 mm3-dai-link {
451 link-name = "MultiMedia3";
453 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
457 slim-dai-link {
458 link-name = "SLIM Playback";
460 sound-dai = <&q6afedai SLIMBUS_0_RX>;
464 sound-dai = <&q6routing>;
468 sound-dai = <&wcd9340 0>;
472 slimcap-dai-link {
473 link-name = "SLIM Capture";
475 sound-dai = <&q6afedai SLIMBUS_0_TX>;
479 sound-dai = <&q6routing>;
483 sound-dai = <&wcd9340 1>;
489 gpio-reserved-ranges = <0 4>, <81 4>;
491 sdc2_default_state: sdc2-default-state {
492 clk-pins {
494 bias-disable;
495 drive-strength = <16>;
498 cmd-pins {
500 bias-pull-up;
501 drive-strength = <10>;
504 data-pins {
506 bias-pull-up;
507 drive-strength = <10>;
511 sdc2_card_det_n: sd-card-det-n-state {
514 bias-pull-up;
521 pinctrl-0 = <&qup_uart6_4pin>;
524 compatible = "qcom,wcn3990-bt";
526 vddio-supply = <&vreg_s4a_1p8>;
527 vddxo-supply = <&vreg_l7a_1p8>;
528 vddrf-supply = <&vreg_l17a_1p3>;
529 vddch0-supply = <&vreg_l25a_3p3>;
530 max-speed = <3200000>;
537 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
539 vcc-supply = <&vreg_l20a_2p95>;
540 vcc-max-microamp = <800000>;
546 vdda-phy-supply = <&vreg_l1a_0p875>;
547 vdda-pll-supply = <&vreg_l26a_1p2>;
561 vdd-supply = <&vreg_l1a_0p875>;
562 vdda-pll-supply = <&vreg_l12a_1p8>;
563 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
565 qcom,imp-res-offset-value = <8>;
566 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
567 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
568 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
574 vdda-phy-supply = <&vreg_l26a_1p2>;
575 vdda-pll-supply = <&vreg_l1a_0p875>;
580 firmware-name = "qcom/sdm845/beryllium/venus.mbn";
584 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
585 vdd-buck-supply = <&vreg_s4a_1p8>;
586 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
587 vdd-tx-supply = <&vreg_s4a_1p8>;
588 vdd-rx-supply = <&vreg_s4a_1p8>;
589 vdd-io-supply = <&vreg_s4a_1p8>;
590 qcom,micbias1-microvolt = <2700000>;
591 qcom,micbias2-microvolt = <1800000>;
592 qcom,micbias3-microvolt = <2700000>;
593 qcom,micbias4-microvolt = <2700000>;
599 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
600 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
601 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
602 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
603 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;