Lines Matching +full:is +full:- +full:compress +full:- +full:dai

1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #include <dt-bindings/sound/qcom,q6afe.h>
12 #include <dt-bindings/sound/qcom,q6asm.h>
14 #include "sdm845-wcd9340.dtsi"
21 qcom,msm-id = <341 0x20001>;
22 qcom,board-id = <8 0>;
30 stdout-path = "serial0:115200n8";
34 clk40M: can-clock {
35 compatible = "fixed-clock";
36 #clock-cells = <0>;
37 clock-frequency = <40000000>;
40 dc12v: dc12v-regulator {
41 compatible = "regulator-fixed";
42 regulator-name = "DC12V";
43 regulator-min-microvolt = <12000000>;
44 regulator-max-microvolt = <12000000>;
45 regulator-always-on;
48 gpio-keys {
49 compatible = "gpio-keys";
52 pinctrl-names = "default";
53 pinctrl-0 = <&vol_up_pin_a>;
55 key-vol-up {
63 compatible = "gpio-leds";
65 led-0 {
70 default-state = "off";
71 panic-indicator;
74 led-1 {
79 linux,default-trigger = "phy0tx";
80 default-state = "off";
83 led-2 {
88 linux,default-trigger = "bluetooth-power";
89 default-state = "off";
93 hdmi-out {
94 compatible = "hdmi-connector";
99 remote-endpoint = <&lt9611_out>;
104 reserved-memory {
108 no-map;
112 lt9611_1v8: lt9611-vdd18-regulator {
113 compatible = "regulator-fixed";
114 regulator-name = "LT9611_1V8";
116 vin-supply = <&vdc_5v>;
117 regulator-min-microvolt = <1800000>;
118 regulator-max-microvolt = <1800000>;
121 enable-active-high;
124 lt9611_3v3: lt9611-3v3 {
125 compatible = "regulator-fixed";
126 regulator-name = "LT9611_3V3";
128 vin-supply = <&vdc_3v3>;
129 regulator-min-microvolt = <3300000>;
130 regulator-max-microvolt = <3300000>;
135 * enable-active-high;
139 pcie0_1p05v: pcie-0-1p05v-regulator {
140 compatible = "regulator-fixed";
141 regulator-name = "PCIE0_1.05V";
143 vin-supply = <&vbat>;
144 regulator-min-microvolt = <1050000>;
145 regulator-max-microvolt = <1050000>;
150 * enable-active-high;
154 cam0_dvdd_1v2: cam0-dvdd-1v2-regulator {
155 compatible = "regulator-fixed";
156 regulator-name = "CAM0_DVDD_1V2";
157 regulator-min-microvolt = <1200000>;
158 regulator-max-microvolt = <1200000>;
159 enable-active-high;
161 pinctrl-names = "default";
162 pinctrl-0 = <&cam0_dvdd_1v2_en_default>;
163 vin-supply = <&vbat>;
166 cam0_avdd_2v8: cam0-avdd-2v8-regulator {
167 compatible = "regulator-fixed";
168 regulator-name = "CAM0_AVDD_2V8";
169 regulator-min-microvolt = <2800000>;
170 regulator-max-microvolt = <2800000>;
171 enable-active-high;
173 pinctrl-names = "default";
174 pinctrl-0 = <&cam0_avdd_2v8_en_default>;
175 vin-supply = <&vbat>;
178 /* This regulator is enabled when the VREG_LVS1A_1P8 trace is enabled */
179 cam3_avdd_2v8: cam3-avdd-2v8-regulator {
180 compatible = "regulator-fixed";
181 regulator-name = "CAM3_AVDD_2V8";
182 regulator-min-microvolt = <2800000>;
183 regulator-max-microvolt = <2800000>;
184 regulator-always-on;
185 vin-supply = <&vbat>;
188 pcie0_3p3v_dual: vldo-3v3-regulator {
189 compatible = "regulator-fixed";
190 regulator-name = "VLDO_3V3";
192 vin-supply = <&vbat>;
193 regulator-min-microvolt = <3300000>;
194 regulator-max-microvolt = <3300000>;
197 enable-active-high;
199 * FIXME: this regulator is responsible for VBUS on the left USB
203 regulator-always-on;
205 pinctrl-names = "default";
206 pinctrl-0 = <&pcie0_pwren_state>;
209 v5p0_hdmiout: v5p0-hdmiout-regulator {
210 compatible = "regulator-fixed";
211 regulator-name = "V5P0_HDMIOUT";
213 vin-supply = <&vdc_5v>;
214 regulator-min-microvolt = <500000>;
215 regulator-max-microvolt = <500000>;
220 * enable-active-high;
224 vbat: vbat-regulator {
225 compatible = "regulator-fixed";
226 regulator-name = "VBAT";
228 vin-supply = <&dc12v>;
229 regulator-min-microvolt = <4200000>;
230 regulator-max-microvolt = <4200000>;
231 regulator-always-on;
234 vbat_som: vbat-som-regulator {
235 compatible = "regulator-fixed";
236 regulator-name = "VBAT_SOM";
238 vin-supply = <&dc12v>;
239 regulator-min-microvolt = <4200000>;
240 regulator-max-microvolt = <4200000>;
241 regulator-always-on;
244 vdc_3v3: vdc-3v3-regulator {
245 compatible = "regulator-fixed";
246 regulator-name = "VDC_3V3";
247 vin-supply = <&dc12v>;
248 regulator-min-microvolt = <3300000>;
249 regulator-max-microvolt = <3300000>;
250 regulator-always-on;
253 vdc_5v: vdc-5v-regulator {
254 compatible = "regulator-fixed";
255 regulator-name = "VDC_5V";
257 vin-supply = <&dc12v>;
258 regulator-min-microvolt = <500000>;
259 regulator-max-microvolt = <500000>;
260 regulator-always-on;
263 vreg_s4a_1p8: vreg-s4a-1p8 {
264 compatible = "regulator-fixed";
265 regulator-name = "vreg_s4a_1p8";
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
269 regulator-always-on;
272 vph_pwr: vph-pwr-regulator {
273 compatible = "regulator-fixed";
274 regulator-name = "vph_pwr";
276 vin-supply = <&vbat_som>;
283 firmware-name = "qcom/sdm845/adsp.mbn";
287 regulators-0 {
288 compatible = "qcom,pm8998-rpmh-regulators";
289 qcom,pmic-id = "a";
290 vdd-s1-supply = <&vph_pwr>;
291 vdd-s2-supply = <&vph_pwr>;
292 vdd-s3-supply = <&vph_pwr>;
293 vdd-s4-supply = <&vph_pwr>;
294 vdd-s5-supply = <&vph_pwr>;
295 vdd-s6-supply = <&vph_pwr>;
296 vdd-s7-supply = <&vph_pwr>;
297 vdd-s8-supply = <&vph_pwr>;
298 vdd-s9-supply = <&vph_pwr>;
299 vdd-s10-supply = <&vph_pwr>;
300 vdd-s11-supply = <&vph_pwr>;
301 vdd-s12-supply = <&vph_pwr>;
302 vdd-s13-supply = <&vph_pwr>;
303 vdd-l1-l27-supply = <&vreg_s7a_1p025>;
304 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
305 vdd-l3-l11-supply = <&vreg_s7a_1p025>;
306 vdd-l4-l5-supply = <&vreg_s7a_1p025>;
307 vdd-l6-supply = <&vph_pwr>;
308 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
309 vdd-l9-supply = <&vreg_bob>;
310 vdd-l10-l23-l25-supply = <&vreg_bob>;
311 vdd-l13-l19-l21-supply = <&vreg_bob>;
312 vdd-l16-l28-supply = <&vreg_bob>;
313 vdd-l18-l22-supply = <&vreg_bob>;
314 vdd-l20-l24-supply = <&vreg_bob>;
315 vdd-l26-supply = <&vreg_s3a_1p35>;
316 vin-lvs-1-2-supply = <&vreg_s4a_1p8>;
319 regulator-min-microvolt = <1352000>;
320 regulator-max-microvolt = <1352000>;
324 regulator-min-microvolt = <1904000>;
325 regulator-max-microvolt = <2040000>;
329 regulator-min-microvolt = <900000>;
330 regulator-max-microvolt = <1028000>;
334 regulator-min-microvolt = <880000>;
335 regulator-max-microvolt = <880000>;
336 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
340 regulator-min-microvolt = <800000>;
341 regulator-max-microvolt = <800000>;
342 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
346 regulator-min-microvolt = <1800000>;
347 regulator-max-microvolt = <1800000>;
348 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
352 regulator-min-microvolt = <1800000>;
353 regulator-max-microvolt = <1800000>;
354 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <2960000>;
360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
364 regulator-min-microvolt = <1304000>;
365 regulator-max-microvolt = <1304000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
370 regulator-min-microvolt = <2960000>;
371 regulator-max-microvolt = <2968000>;
372 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
376 regulator-min-microvolt = <2960000>;
377 regulator-max-microvolt = <2968000>;
378 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
382 regulator-min-microvolt = <3088000>;
383 regulator-max-microvolt = <3088000>;
384 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
388 regulator-min-microvolt = <3300000>;
389 regulator-max-microvolt = <3312000>;
390 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
394 regulator-min-microvolt = <1200000>;
395 regulator-max-microvolt = <1200000>;
396 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
402 regulator-always-on;
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>;
408 regulator-always-on;
412 regulators-1 {
413 compatible = "qcom,pmi8998-rpmh-regulators";
414 qcom,pmic-id = "b";
416 vdd-bob-supply = <&vph_pwr>;
419 regulator-min-microvolt = <3312000>;
420 regulator-max-microvolt = <3600000>;
421 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
422 regulator-allow-bypass;
430 vdda-phy-supply = <&vreg_l1a_0p875>;
431 vdda-pll-supply = <&vreg_l26a_1p2>;
436 firmware-name = "qcom/sdm845/cdsp.mbn";
440 protected-clocks = <GCC_QSPI_CORE_CLK>,
461 zap-shader {
462 memory-region = <&gpu_mem>;
463 firmware-name = "qcom/sdm845/a630_zap.mbn";
469 clock-frequency = <400000>;
471 lt9611_codec: hdmi-bridge@3b {
474 #sound-dai-cells = <1>;
476 interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;
478 reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
480 vdd-supply = <&lt9611_1v8>;
481 vcc-supply = <&lt9611_3v3>;
483 pinctrl-names = "default";
484 pinctrl-0 = <&lt9611_irq_pin>, <&dsi_sw_sel>;
487 #address-cells = <1>;
488 #size-cells = <0>;
494 remote-endpoint = <&mdss_dsi0_out>;
502 remote-endpoint = <&mdss_dsi1_out>;
510 remote-endpoint = <&hdmi_con>;
519 clock-frequency = <100000>;
525 clock-frequency = <100000>;
530 memory-region = <&cont_splash_mem>;
536 vdda-supply = <&vreg_l26a_1p2>;
538 qcom,dual-dsi-mode;
539 qcom,master-dsi;
544 remote-endpoint = <&lt9611_a>;
545 data-lanes = <0 1 2 3>;
553 vdds-supply = <&vreg_l1a_0p875>;
557 vdda-supply = <&vreg_l26a_1p2>;
559 qcom,dual-dsi-mode;
561 /* DSI1 is slave, so use DSI0 clocks */
562 assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
569 remote-endpoint = <&lt9611_b>;
570 data-lanes = <0 1 2 3>;
577 vdds-supply = <&vreg_l1a_0p875>;
583 firmware-name = "qcom/sdm845/mba.mbn", "qcom/sdm845/modem.mbn";
588 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
589 wake-gpios = <&tlmm 134 GPIO_ACTIVE_HIGH>;
591 vddpe-3v3-supply = <&pcie0_3p3v_dual>;
593 pinctrl-names = "default";
594 pinctrl-0 = <&pcie0_default_state>;
600 vdda-phy-supply = <&vreg_l1a_0p875>;
601 vdda-pll-supply = <&vreg_l26a_1p2>;
606 perst-gpios = <&tlmm 102 GPIO_ACTIVE_LOW>;
608 pinctrl-names = "default";
609 pinctrl-0 = <&pcie1_default_state>;
615 vdda-phy-supply = <&vreg_l1a_0p875>;
616 vdda-pll-supply = <&vreg_l26a_1p2>;
620 gpio-line-names =
648 cam0_dvdd_1v2_en_default: cam0-dvdd-1v2-en-state {
652 bias-pull-up;
653 drive-push-pull;
654 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
657 cam0_avdd_2v8_en_default: cam0-avdd-2v8-en-state {
661 bias-pull-up;
662 drive-push-pull;
663 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
666 vol_up_pin_a: vol-up-active-state {
669 input-enable;
670 bias-pull-up;
671 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
683 qcom,power-source = <1>;
689 function-enumerator = <3>;
691 linux,default-trigger = "heartbeat";
692 default-state = "on";
699 function-enumerator = <2>;
706 function-enumerator = <1>;
712 dai@22 {
714 qcom,sd-lines = <0 1 2 3>;
719 dai@0 {
723 dai@1 {
727 dai@2 {
731 dai@3 {
734 is-compress-dai;
749 pinctrl-names = "default";
750 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
752 vmmc-supply = <&vreg_l21a_2p95>;
753 vqmmc-supply = <&vreg_l13a_2p95>;
755 bus-width = <4>;
756 cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
760 compatible = "qcom,db845c-sndcard", "qcom,sdm845-sndcard";
761 pinctrl-0 = <&quat_mi2s_active
766 pinctrl-names = "default";
768 audio-routing =
783 mm1-dai-link {
784 link-name = "MultiMedia1";
786 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
790 mm2-dai-link {
791 link-name = "MultiMedia2";
793 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
797 mm3-dai-link {
798 link-name = "MultiMedia3";
800 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
804 mm4-dai-link {
805 link-name = "MultiMedia4";
807 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
811 hdmi-dai-link {
812 link-name = "HDMI Playback";
814 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
818 sound-dai = <&q6routing>;
822 sound-dai = <&lt9611_codec 0>;
826 slim-dai-link {
827 link-name = "SLIM Playback";
829 sound-dai = <&q6afedai SLIMBUS_0_RX>;
833 sound-dai = <&q6routing>;
837 sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
841 slimcap-dai-link {
842 link-name = "SLIM Capture";
844 sound-dai = <&q6afedai SLIMBUS_0_TX>;
848 sound-dai = <&q6routing>;
852 sound-dai = <&wcd9340 1>;
859 pinctrl-names = "default";
860 pinctrl-0 = <&qup_spi0_default>;
861 cs-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
867 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
868 spi-max-frequency = <10000000>;
869 vdd-supply = <&vdc_5v>;
870 xceiver-supply = <&vdc_5v>;
880 cam0_default: cam0-default-state {
881 rst-pins {
885 drive-strength = <16>;
886 bias-disable;
889 mclk0-pins {
893 drive-strength = <16>;
894 bias-disable;
898 cam3_default: cam3-default-state {
899 rst-pins {
903 drive-strength = <16>;
904 bias-disable;
907 mclk3-pins {
911 drive-strength = <16>;
912 bias-disable;
916 dsi_sw_sel: dsi-sw-sel-state {
920 drive-strength = <2>;
921 bias-disable;
922 output-high;
925 lt9611_irq_pin: lt9611-irq-state {
928 bias-disable;
931 pcie0_default_state: pcie0-default-state {
932 clkreq-pins {
935 bias-pull-up;
938 reset-n-pins {
942 drive-strength = <2>;
943 output-low;
944 bias-pull-down;
947 wake-n-pins {
951 drive-strength = <2>;
952 bias-pull-up;
956 pcie0_pwren_state: pcie0-pwren-state {
960 drive-strength = <2>;
961 bias-disable;
964 pcie1_default_state: pcie1-default-state {
965 perst-n-pins {
969 drive-strength = <16>;
970 bias-disable;
973 clkreq-pins {
976 bias-pull-up;
979 wake-n-pins {
983 drive-strength = <2>;
984 bias-pull-up;
987 reset-n-pins {
991 drive-strength = <16>;
992 bias-pull-up;
993 output-high;
997 sdc2_default_state: sdc2-default-state {
998 clk-pins {
1000 bias-disable;
1004 * strength is not 16 on clk, cmd, and data pins.
1006 drive-strength = <16>;
1009 cmd-pins {
1011 bias-pull-up;
1012 drive-strength = <10>;
1015 data-pins {
1017 bias-pull-up;
1018 drive-strength = <10>;
1022 sdc2_card_det_n: sd-card-det-n-state {
1025 bias-pull-up;
1030 label = "LS-UART0";
1031 pinctrl-0 = <&qup_uart3_4pin>;
1039 pinctrl-0 = <&qup_uart6_4pin>;
1042 compatible = "qcom,wcn3990-bt";
1044 vddio-supply = <&vreg_s4a_1p8>;
1045 vddxo-supply = <&vreg_l7a_1p8>;
1046 vddrf-supply = <&vreg_l17a_1p3>;
1047 vddch0-supply = <&vreg_l25a_3p3>;
1048 max-speed = <3200000>;
1053 label = "LS-UART1";
1068 vdd-supply = <&vreg_l1a_0p875>;
1069 vdda-pll-supply = <&vreg_l12a_1p8>;
1070 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
1072 qcom,imp-res-offset-value = <8>;
1073 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
1074 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
1075 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
1081 vdda-phy-supply = <&vreg_l26a_1p2>;
1082 vdda-pll-supply = <&vreg_l1a_0p875>;
1096 vdd-supply = <&vreg_l1a_0p875>;
1097 vdda-pll-supply = <&vreg_l12a_1p8>;
1098 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
1100 qcom,imp-res-offset-value = <8>;
1101 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
1107 vdda-phy-supply = <&vreg_l26a_1p2>;
1108 vdda-pll-supply = <&vreg_l1a_0p875>;
1114 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
1116 vcc-supply = <&vreg_l20a_2p95>;
1117 vcc-max-microamp = <800000>;
1123 vdda-phy-supply = <&vreg_l1a_0p875>;
1124 vdda-pll-supply = <&vreg_l26a_1p2>;
1132 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
1133 vdd-buck-supply = <&vreg_s4a_1p8>;
1134 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
1135 vdd-tx-supply = <&vreg_s4a_1p8>;
1136 vdd-rx-supply = <&vreg_s4a_1p8>;
1137 vdd-io-supply = <&vreg_s4a_1p8>;
1143 powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
1144 #thermal-sensor-cells = <0>;
1145 sound-name-prefix = "SpkrLeft";
1146 #sound-dai-cells = <0>;
1151 powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
1153 #thermal-sensor-cells = <0>;
1154 sound-name-prefix = "SpkrRight";
1155 #sound-dai-cells = <0>;
1163 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
1164 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
1165 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
1166 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
1168 qcom,snoc-host-cap-8bit-quirk;
1169 qcom,ath10k-calibration-variant = "Thundercomm_DB845C";
1172 /* PINCTRL - additions to nodes defined in sdm845.dtsi */
1174 drive-strength = <16>;
1178 drive-strength = <2>;
1179 bias-disable;
1183 drive-strength = <2>;
1184 bias-pull-up;
1188 drive-strength = <2>;
1189 bias-disable;
1192 /* PINCTRL - additions to nodes defined in sdm845.dtsi */
1194 drive-strength = <6>;
1195 bias-disable;