Lines Matching +full:dai +full:- +full:link +full:-
1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/sound/qcom,q6afe.h>
13 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
20 /delete-node/ &rmtfs_mem;
29 stdout-path = "serial0:115200n8";
32 gpio-hall-sensor {
33 compatible = "gpio-keys";
36 pinctrl-0 = <&hall_sensor_default>;
37 pinctrl-names = "default";
39 event-hall-sensor {
42 linux,input-type = <EV_SW>;
44 linux,can-disable;
45 wakeup-source;
49 gpio-keys {
50 compatible = "gpio-keys";
54 pinctrl-names = "default";
55 pinctrl-0 = <&volume_down_gpio &volume_up_gpio>;
57 key-vol-down {
61 debounce-interval = <15>;
64 key-vol-up {
68 debounce-interval = <15>;
72 reserved-memory {
78 rmtfs_lower_guard: rmtfs-lower-guard@f5b00000 {
79 no-map;
87 rmtfs_mem: rmtfs-mem@f5b01000 {
88 compatible = "qcom,rmtfs-mem";
90 no-map;
92 qcom,client-id = <1>;
95 rmtfs_upper_guard: rmtfs-upper-guard@f5d01000 {
96 no-map;
104 removed_region: removed-region@88f00000 {
105 no-map;
112 record-size = <0x40000>;
113 console-size = <0x40000>;
114 ftrace-size = <0x40000>;
115 pmsg-size = <0x200000>;
116 ecc-size = <16>;
120 vph_pwr: vph-pwr-regulator {
121 compatible = "regulator-fixed";
122 regulator-name = "vph_pwr";
123 regulator-min-microvolt = <3700000>;
124 regulator-max-microvolt = <3700000>;
129 * is always-on; model it as a fixed regulator.
131 vreg_s4a_1p8: pm8998-smps4 {
132 compatible = "regulator-fixed";
133 regulator-name = "vreg_s4a_1p8";
135 regulator-min-microvolt = <1800000>;
136 regulator-max-microvolt = <1800000>;
138 regulator-always-on;
139 regulator-boot-on;
141 vin-supply = <&vph_pwr>;
149 ts_1p8_supply: ts-1p8-regulator {
150 compatible = "regulator-fixed";
151 regulator-name = "ts_1p8_supply";
153 regulator-min-microvolt = <1800000>;
154 regulator-max-microvolt = <1800000>;
157 enable-active-high;
158 regulator-boot-on;
164 firmware-name = "qcom/sdm845/oneplus6/adsp.mbn";
168 regulators-0 {
169 compatible = "qcom,pm8998-rpmh-regulators";
170 qcom,pmic-id = "a";
172 vdd-s1-supply = <&vph_pwr>;
173 vdd-s2-supply = <&vph_pwr>;
174 vdd-s3-supply = <&vph_pwr>;
175 vdd-s4-supply = <&vph_pwr>;
176 vdd-s5-supply = <&vph_pwr>;
177 vdd-s6-supply = <&vph_pwr>;
178 vdd-s7-supply = <&vph_pwr>;
179 vdd-s8-supply = <&vph_pwr>;
180 vdd-s9-supply = <&vph_pwr>;
181 vdd-s10-supply = <&vph_pwr>;
182 vdd-s11-supply = <&vph_pwr>;
183 vdd-s12-supply = <&vph_pwr>;
184 vdd-s13-supply = <&vph_pwr>;
185 vdd-l1-l27-supply = <&vreg_s7a_1p025>;
186 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
187 vdd-l3-l11-supply = <&vreg_s7a_1p025>;
188 vdd-l4-l5-supply = <&vreg_s7a_1p025>;
189 vdd-l6-supply = <&vph_pwr>;
190 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
191 vdd-l9-supply = <&vreg_bob>;
192 vdd-l10-l23-l25-supply = <&vreg_bob>;
193 vdd-l13-l19-l21-supply = <&vreg_bob>;
194 vdd-l16-l28-supply = <&vreg_bob>;
195 vdd-l18-l22-supply = <&vreg_bob>;
196 vdd-l20-l24-supply = <&vreg_bob>;
197 vdd-l26-supply = <&vreg_s3a_1p35>;
198 vin-lvs-1-2-supply = <&vreg_s4a_1p8>;
201 regulator-min-microvolt = <1352000>;
202 regulator-max-microvolt = <1352000>;
206 regulator-min-microvolt = <1904000>;
207 regulator-max-microvolt = <2040000>;
211 regulator-min-microvolt = <900000>;
212 regulator-max-microvolt = <1028000>;
220 regulator-min-microvolt = <880000>;
221 regulator-max-microvolt = <880000>;
222 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
226 regulator-min-microvolt = <1200000>;
227 regulator-max-microvolt = <1200000>;
228 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
229 regulator-always-on;
233 regulator-min-microvolt = <800000>;
234 regulator-max-microvolt = <800000>;
235 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
239 regulator-min-microvolt = <1800000>;
240 regulator-max-microvolt = <1800000>;
241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <1800000>;
248 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <1800000>;
254 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
255 regulator-always-on;
259 regulator-min-microvolt = <1304000>;
260 regulator-max-microvolt = <1304000>;
261 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
265 regulator-min-microvolt = <2704000>;
266 regulator-max-microvolt = <2960000>;
267 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
271 regulator-min-microvolt = <3300000>;
272 regulator-max-microvolt = <3312000>;
273 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
278 regulator-min-microvolt = <3088000>;
279 regulator-max-microvolt = <3088000>;
280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
284 regulator-min-microvolt = <3300000>;
285 regulator-max-microvolt = <3312000>;
286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
292 regulator-min-microvolt = <1200000>;
293 regulator-max-microvolt = <1200000>;
294 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
298 regulator-min-microvolt = <2856000>;
299 regulator-max-microvolt = <3008000>;
300 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304 regulators-1 {
305 compatible = "qcom,pmi8998-rpmh-regulators";
306 qcom,pmic-id = "b";
308 vdd-bob-supply = <&vph_pwr>;
311 regulator-min-microvolt = <3312000>;
312 regulator-max-microvolt = <3600000>;
313 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
314 regulator-allow-bypass;
318 regulators-2 {
319 compatible = "qcom,pm8005-rpmh-regulators";
320 qcom,pmic-id = "c";
322 vdd-s1-supply = <&vph_pwr>;
323 vdd-s2-supply = <&vph_pwr>;
324 vdd-s3-supply = <&vph_pwr>;
325 vdd-s4-supply = <&vph_pwr>;
328 regulator-min-microvolt = <600000>;
329 regulator-max-microvolt = <600000>;
336 firmware-name = "qcom/sdm845/oneplus6/cdsp.mbn";
340 protected-clocks = <GCC_QSPI_CORE_CLK>,
354 zap-shader {
355 memory-region = <&gpu_mem>;
356 firmware-name = "qcom/sdm845/oneplus6/a630_zap.mbn";
362 clock-frequency = <100000>;
364 bq27441_fg: bq27441-battery@55 {
373 clock-frequency = <400000>;
375 synaptics-rmi4-i2c@20 {
376 compatible = "syna,rmi4-i2c";
378 #address-cells = <1>;
379 #size-cells = <0>;
380 interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&ts_default_pins>;
385 vdd-supply = <&vreg_l28a_3p0>;
386 vio-supply = <&ts_1p8_supply>;
388 syna,reset-delay-ms = <200>;
389 syna,startup-delay-ms = <200>;
391 rmi4-f01@1 {
393 syna,nosleep-mode = <1>;
396 rmi4_f12: rmi4-f12@12 {
398 touchscreen-x-mm = <68>;
399 touchscreen-y-mm = <144>;
400 syna,sensor-type = <1>;
401 syna,rezero-wait-ms = <200>;
407 qcom,gsi-loader = "self";
408 memory-region = <&ipa_fw_mem>;
409 firmware-name = "qcom/sdm845/oneplus6/ipa_fws.mbn";
419 vdda-supply = <&vdda_mipi_dsi0_1p2>;
430 vddio-supply = <&vreg_l14a_1p88>;
432 reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
434 pinctrl-names = "default";
435 pinctrl-0 = <&panel_reset_pins &panel_te_pin &panel_esd_pin>;
439 remote-endpoint = <&mdss_dsi0_out>;
446 remote-endpoint = <&panel_in>;
447 data-lanes = <0 1 2 3>;
452 vdds-supply = <&vdda_mipi_dsi0_pll>;
458 firmware-name = "qcom/sdm845/oneplus6/mba.mbn", "qcom/sdm845/oneplus6/modem.mbn";
462 volume_down_gpio: pm8998-gpio5-state {
466 input-enable;
467 bias-pull-up;
468 qcom,drive-strength = <0>;
472 volume_up_gpio: pm8998-gpio6-state {
476 input-enable;
477 bias-pull-up;
478 qcom,drive-strength = <0>;
488 dai@22 {
490 qcom,sd-lines = <1>;
493 dai@23 {
495 qcom,sd-lines = <0>;
500 dai@0 {
504 dai@1 {
508 dai@2 {
512 dai@3 {
516 dai@4 {
520 dai@5 {
534 drive-strength = <2>;
535 bias-disable;
539 drive-strength = <2>;
540 bias-disable;
544 drive-strength = <2>;
545 bias-pull-up;
549 drive-strength = <2>;
550 bias-disable;
554 firmware-name = "qcom/sdm845/oneplus6/slpi.mbn";
559 compatible = "qcom,sdm845-sndcard";
560 pinctrl-0 = <&quat_mi2s_active &quat_mi2s_sd0_active &quat_mi2s_sd1_active>;
561 pinctrl-names = "default";
564 mm1-dai-link {
565 link-name = "MultiMedia1";
567 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
571 mm2-dai-link {
572 link-name = "MultiMedia2";
574 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
578 mm3-dai-link {
579 link-name = "MultiMedia3";
581 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
585 mm4-dai-link {
586 link-name = "MultiMedia4";
588 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
592 mm5-dai-link {
593 link-name = "MultiMedia5";
595 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA5>;
599 mm6-dai-link {
600 link-name = "MultiMedia6";
602 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA6>;
606 speaker_playback_dai: speaker-dai-link {
607 link-name = "Speaker Playback";
609 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
613 sound-dai = <&q6routing>;
617 slim-dai-link {
618 link-name = "SLIM Playback 1";
620 sound-dai = <&q6afedai SLIMBUS_0_RX>;
624 sound-dai = <&q6routing>;
628 sound-dai = <&wcd9340 0>;
632 slimcap-dai-link {
633 link-name = "SLIM Capture 1";
635 sound-dai = <&q6afedai SLIMBUS_0_TX>;
639 sound-dai = <&q6routing>;
643 sound-dai = <&wcd9340 1>;
647 slim2-dai-link {
648 link-name = "SLIM Playback 2";
650 sound-dai = <&q6afedai SLIMBUS_1_RX>;
654 sound-dai = <&q6routing>;
658 sound-dai = <&wcd9340 2>; /* AIF2_PB */
662 slimcap2-dai-link {
663 link-name = "SLIM Capture 2";
665 sound-dai = <&q6afedai SLIMBUS_1_TX>;
669 sound-dai = <&q6routing>;
673 sound-dai = <&wcd9340 3>; /* AIF2_CAP */
677 slimcap3-dai-link {
678 link-name = "SLIM Capture 3";
680 sound-dai = <&q6afedai SLIMBUS_2_TX>;
684 sound-dai = <&q6routing>;
688 sound-dai = <&wcd9340 5>; /* AIF3_CAP */
696 pinctrl-0 = <&qup_uart6_4pin>;
699 compatible = "qcom,wcn3990-bt";
705 firmware-name = "oneplus6/crnv21.bin";
707 vddio-supply = <&vreg_s4a_1p8>;
708 vddxo-supply = <&vreg_l7a_1p8>;
709 vddrf-supply = <&vreg_l17a_1p3>;
710 vddch0-supply = <&vreg_l25a_3p3>;
711 max-speed = <3200000>;
716 label = "LS-UART1";
723 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
725 vcc-supply = <&vreg_l20a_2p95>;
726 vcc-max-microamp = <600000>;
732 vdda-phy-supply = <&vdda_ufs1_core>;
733 vdda-pll-supply = <&vdda_ufs1_1p2>;
743 qcom,select-utmi-as-pipe-clk;
753 maximum-speed = "high-speed";
757 phy-names = "usb2-phy";
763 vdd-supply = <&vdda_usb1_ss_core>;
764 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
765 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
767 qcom,imp-res-offset-value = <8>;
768 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
769 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
770 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
774 gpio-reserved-ranges = <0 4>, <81 4>;
776 hall_sensor_default: hall-sensor-default-state {
779 drive-strength = <2>;
780 bias-disable;
783 tri_state_key_default: tri-state-key-default-state {
786 drive-strength = <2>;
787 bias-disable;
790 ts_default_pins: ts-int-state {
793 drive-strength = <16>;
794 bias-pull-up;
797 panel_reset_pins: panel-reset-state {
800 drive-strength = <8>;
801 bias-disable;
804 panel_te_pin: panel-te-state {
807 drive-strength = <2>;
808 bias-disable;
811 panel_esd_pin: panel-esd-state {
814 drive-strength = <2>;
815 bias-pull-down;
818 speaker_default: speaker-default-state {
821 drive-strength = <16>;
822 bias-pull-up;
823 output-high;
829 firmware-name = "qcom/sdm845/oneplus6/venus.mbn";
833 pinctrl-0 = <&wcd_intr_default>;
834 pinctrl-names = "default";
835 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
836 vdd-buck-supply = <&vreg_s4a_1p8>;
837 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
838 vdd-tx-supply = <&vreg_s4a_1p8>;
839 vdd-rx-supply = <&vreg_s4a_1p8>;
840 vdd-io-supply = <&vreg_s4a_1p8>;
845 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
846 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
847 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
848 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
849 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
851 qcom,snoc-host-cap-8bit-quirk;