xref: /linux/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts (revision 41c177cf354126a22443b5c80cec9fdd313e67e1)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Lenovo Yoga C630
4 *
5 * Copyright (c) 2019, Linaro Ltd.
6 */
7
8/dts-v1/;
9
10#include <dt-bindings/input/gpio-keys.h>
11#include <dt-bindings/input/input.h>
12#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13#include <dt-bindings/sound/qcom,q6afe.h>
14#include <dt-bindings/sound/qcom,q6asm.h>
15#include "sdm850.dtsi"
16#include "sdm845-wcd9340.dtsi"
17#include "pm8998.dtsi"
18
19/*
20 * Update following upstream (sdm845.dtsi) reserved
21 * memory mappings for firmware loading to succeed
22 * and enable the IPA device.
23 */
24/delete-node/ &ipa_fw_mem;
25/delete-node/ &ipa_gsi_mem;
26/delete-node/ &gpu_mem;
27/delete-node/ &adsp_mem;
28/delete-node/ &wlan_msa_mem;
29
30/ {
31	model = "Lenovo Yoga C630";
32	compatible = "lenovo,yoga-c630", "qcom,sdm845";
33	chassis-type = "convertible";
34
35	aliases {
36		serial0 = &uart9;
37		serial1 = &uart6;
38	};
39
40	gpio-keys {
41		compatible = "gpio-keys";
42
43		pinctrl-names = "default";
44		pinctrl-0 = <&lid_pin_active>, <&mode_pin_active>;
45
46		switch-lid {
47			gpios = <&tlmm 124 GPIO_ACTIVE_HIGH>;
48			linux,input-type = <EV_SW>;
49			linux,code = <SW_LID>;
50			wakeup-source;
51			wakeup-event-action = <EV_ACT_DEASSERTED>;
52		};
53
54		switch-mode {
55			gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
56			linux,input-type = <EV_SW>;
57			linux,code = <SW_TABLET_MODE>;
58		};
59	};
60
61	/* Reserved memory changes for IPA */
62	reserved-memory {
63		wlan_msa_mem: memory@8c400000 {
64			reg = <0 0x8c400000 0 0x100000>;
65			no-map;
66		};
67
68		gpu_mem: memory@8c515000 {
69			reg = <0 0x8c515000 0 0x2000>;
70			no-map;
71		};
72
73		ipa_fw_mem: memory@8c517000 {
74			reg = <0 0x8c517000 0 0x5a000>;
75			no-map;
76		};
77
78		adsp_mem: memory@8c600000 {
79			reg = <0 0x8c600000 0 0x1a00000>;
80			no-map;
81		};
82	};
83
84	sw_edp_1p2: edp-1p2-regulator {
85		compatible = "regulator-fixed";
86		regulator-name = "sw_edp_1p2";
87
88		regulator-min-microvolt = <1200000>;
89		regulator-max-microvolt = <1200000>;
90
91		pinctrl-0 = <&sw_edp_1p2_en>;
92		pinctrl-names = "default";
93
94		gpio = <&pm8998_gpios 9 GPIO_ACTIVE_HIGH>;
95		enable-active-high;
96
97		vin-supply = <&vreg_l2a_1p2>;
98	};
99
100	sn65dsi86_refclk: sn65dsi86-refclk {
101		compatible = "fixed-clock";
102		#clock-cells = <0>;
103
104		clock-frequency = <19200000>;
105	};
106
107	vph_pwr: regulator-vph-pwr {
108		compatible = "regulator-fixed";
109		regulator-name = "vph_pwr";
110		regulator-min-microvolt = <3700000>;
111		regulator-max-microvolt = <3700000>;
112	};
113
114	vlcm_3v3: regulator-vlcm-3v3 {
115		compatible = "regulator-fixed";
116		regulator-name = "vlcm_3v3";
117
118		vin-supply = <&vph_pwr>;
119		regulator-min-microvolt = <3300000>;
120		regulator-max-microvolt = <3300000>;
121
122		gpio = <&tlmm 88 GPIO_ACTIVE_HIGH>;
123		enable-active-high;
124	};
125
126	backlight: backlight {
127		compatible = "pwm-backlight";
128		pwms = <&sn65dsi86 1000000>;
129		enable-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
130	};
131};
132
133&adsp_pas {
134	firmware-name = "qcom/sdm850/LENOVO/81JL/qcadsp850.mbn";
135	status = "okay";
136};
137
138&apps_rsc {
139	regulators-0 {
140		compatible = "qcom,pm8998-rpmh-regulators";
141		qcom,pmic-id = "a";
142
143		vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
144		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
145
146		vreg_s2a_1p125: smps2 {
147		};
148
149		vreg_s3a_1p35: smps3 {
150			regulator-min-microvolt = <1352000>;
151			regulator-max-microvolt = <1352000>;
152			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
153		};
154
155		vreg_s4a_1p8: smps4 {
156			regulator-min-microvolt = <1800000>;
157			regulator-max-microvolt = <1800000>;
158			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
159		};
160
161		vreg_s5a_2p04: smps5 {
162			regulator-min-microvolt = <2040000>;
163			regulator-max-microvolt = <2040000>;
164			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
165		};
166
167		vreg_s7a_1p025: smps7 {
168		};
169
170		vdd_qusb_hs0:
171		vdda_hp_pcie_core:
172		vdda_mipi_csi0_0p9:
173		vdda_mipi_csi1_0p9:
174		vdda_mipi_csi2_0p9:
175		vdda_mipi_dsi0_pll:
176		vdda_mipi_dsi1_pll:
177		vdda_qlink_lv:
178		vdda_qlink_lv_ck:
179		vdda_qrefs_0p875:
180		vdda_pcie_core:
181		vdda_pll_cc_ebi01:
182		vdda_pll_cc_ebi23:
183		vdda_sp_sensor:
184		vdda_ufs1_core:
185		vdda_ufs2_core:
186		vdda_usb1_ss_core:
187		vdda_usb2_ss_core:
188		vreg_l1a_0p875: ldo1 {
189			regulator-min-microvolt = <880000>;
190			regulator-max-microvolt = <880000>;
191			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
192		};
193
194		vddpx_10:
195		vreg_l2a_1p2: ldo2 {
196			regulator-min-microvolt = <1200000>;
197			regulator-max-microvolt = <1200000>;
198			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
199			regulator-always-on;
200		};
201
202		vreg_l3a_1p0: ldo3 {
203		};
204
205		vdd_wcss_cx:
206		vdd_wcss_mx:
207		vdda_wcss_pll:
208		vreg_l5a_0p8: ldo5 {
209			regulator-min-microvolt = <800000>;
210			regulator-max-microvolt = <800000>;
211			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
212		};
213
214		vddpx_13:
215		vreg_l6a_1p8: ldo6 {
216			regulator-min-microvolt = <1800000>;
217			regulator-max-microvolt = <1800000>;
218			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
219		};
220
221		vreg_l7a_1p8: ldo7 {
222			regulator-min-microvolt = <1800000>;
223			regulator-max-microvolt = <1800000>;
224			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
225		};
226
227		vreg_l8a_1p2: ldo8 {
228		};
229
230		vreg_l9a_1p8: ldo9 {
231		};
232
233		vreg_l10a_1p8: ldo10 {
234		};
235
236		vreg_l11a_1p0: ldo11 {
237		};
238
239		vdd_qfprom:
240		vdd_qfprom_sp:
241		vdda_apc1_cs_1p8:
242		vdda_gfx_cs_1p8:
243		vdda_qrefs_1p8:
244		vdda_qusb_hs0_1p8:
245		vddpx_11:
246		vreg_l12a_1p8: ldo12 {
247			regulator-min-microvolt = <1800000>;
248			regulator-max-microvolt = <1800000>;
249			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250		};
251
252		vddpx_2:
253		vreg_l13a_2p95: ldo13 {
254		};
255
256		vreg_l14a_1p88: ldo14 {
257			regulator-min-microvolt = <1880000>;
258			regulator-max-microvolt = <1880000>;
259			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
260			regulator-always-on;
261		};
262
263		vreg_l15a_1p8: ldo15 {
264		};
265
266		vreg_l16a_2p7: ldo16 {
267		};
268
269		vreg_l17a_1p3: ldo17 {
270			regulator-min-microvolt = <1304000>;
271			regulator-max-microvolt = <1304000>;
272			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
273		};
274
275		vreg_l18a_2p7: ldo18 {
276		};
277
278		vreg_l19a_3p0: ldo19 {
279			regulator-min-microvolt = <3100000>;
280			regulator-max-microvolt = <3108000>;
281			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282		};
283
284		vreg_l20a_2p95: ldo20 {
285			regulator-min-microvolt = <2960000>;
286			regulator-max-microvolt = <2960000>;
287			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
288		};
289
290		vreg_l21a_2p95: ldo21 {
291		};
292
293		vreg_l22a_2p85: ldo22 {
294		};
295
296		vreg_l23a_3p3: ldo23 {
297			regulator-min-microvolt = <3300000>;
298			regulator-max-microvolt = <3312000>;
299			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
300		};
301
302		vdda_qusb_hs0_3p1:
303		vreg_l24a_3p075: ldo24 {
304			regulator-min-microvolt = <3075000>;
305			regulator-max-microvolt = <3083000>;
306			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
307		};
308
309		vreg_l25a_3p3: ldo25 {
310			regulator-min-microvolt = <3104000>;
311			regulator-max-microvolt = <3112000>;
312			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
313		};
314
315		vdda_hp_pcie_1p2:
316		vdda_hv_ebi0:
317		vdda_hv_ebi1:
318		vdda_hv_ebi2:
319		vdda_hv_ebi3:
320		vdda_mipi_csi_1p25:
321		vdda_mipi_dsi0_1p2:
322		vdda_mipi_dsi1_1p2:
323		vdda_pcie_1p2:
324		vdda_ufs1_1p2:
325		vdda_ufs2_1p2:
326		vdda_usb1_ss_1p2:
327		vdda_usb2_ss_1p2:
328		vreg_l26a_1p2: ldo26 {
329			regulator-min-microvolt = <1200000>;
330			regulator-max-microvolt = <1208000>;
331			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332		};
333
334		vreg_l28a_3p0: ldo28 {
335		};
336
337		vreg_lvs1a_1p8: lvs1 {
338		};
339
340		vreg_lvs2a_1p8: lvs2 {
341		};
342	};
343};
344
345&cdsp_pas {
346	firmware-name = "qcom/sdm850/LENOVO/81JL/qccdsp850.mbn";
347	status = "okay";
348};
349
350&gcc {
351	protected-clocks = <GCC_QSPI_CORE_CLK>,
352			   <GCC_QSPI_CORE_CLK_SRC>,
353			   <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
354			   <GCC_LPASS_Q6_AXI_CLK>,
355			   <GCC_LPASS_SWAY_CLK>;
356};
357
358&gmu {
359	status = "okay";
360};
361
362&gpu {
363	status = "okay";
364	zap-shader {
365		memory-region = <&gpu_mem>;
366		firmware-name = "qcom/sdm850/LENOVO/81JL/qcdxkmsuc850.mbn";
367	};
368};
369
370&i2c1 {
371	status = "okay";
372	clock-frequency = <400000>;
373};
374
375&i2c3 {
376	status = "okay";
377	clock-frequency = <400000>;
378	/* Overwrite pinctrl-0 from sdm845.dtsi */
379	pinctrl-0 = <&qup_i2c3_default &i2c3_hid_active>;
380
381	tsel: hid@15 {
382		compatible = "hid-over-i2c";
383		reg = <0x15>;
384		hid-descr-addr = <0x1>;
385
386		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
387	};
388
389	tsc2: hid@2c {
390		compatible = "hid-over-i2c";
391		reg = <0x2c>;
392		hid-descr-addr = <0x20>;
393
394		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
395
396		wakeup-source;
397	};
398};
399
400&i2c5 {
401	status = "okay";
402	clock-frequency = <400000>;
403
404	tsc1: hid@10 {
405		compatible = "hid-over-i2c";
406		reg = <0x10>;
407		hid-descr-addr = <0x1>;
408
409		interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>;
410
411		pinctrl-names = "default";
412		pinctrl-0 = <&i2c5_hid_active>;
413
414		wakeup-source;
415	};
416};
417
418&i2c10 {
419	status = "okay";
420	clock-frequency = <400000>;
421
422	sn65dsi86: bridge@2c {
423		compatible = "ti,sn65dsi86";
424		reg = <0x2c>;
425		pinctrl-names = "default";
426		pinctrl-0 = <&sn65dsi86_pin_active>;
427
428		enable-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
429
430		vcca-supply = <&sw_edp_1p2>;
431		vcc-supply = <&sw_edp_1p2>;
432		vpll-supply = <&vreg_l14a_1p88>;
433		vccio-supply = <&vreg_l14a_1p88>;
434
435		clocks = <&sn65dsi86_refclk>;
436		clock-names = "refclk";
437
438		no-hpd;
439		#pwm-cells = <1>;
440
441		ports {
442			#address-cells = <1>;
443			#size-cells = <0>;
444
445			port@0 {
446				reg = <0>;
447				sn65dsi86_in_a: endpoint {
448					remote-endpoint = <&mdss_dsi0_out>;
449				};
450			};
451
452			port@1 {
453				reg = <1>;
454				sn65dsi86_out: endpoint {
455					remote-endpoint = <&panel_in_edp>;
456				};
457			};
458		};
459
460		aux-bus {
461			panel: panel {
462				compatible = "boe,nv133fhm-n61";
463				backlight = <&backlight>;
464				power-supply = <&vlcm_3v3>;
465
466				port {
467					panel_in_edp: endpoint {
468						remote-endpoint = <&sn65dsi86_out>;
469					};
470				};
471			};
472		};
473	};
474};
475
476&i2c11 {
477	status = "okay";
478	clock-frequency = <400000>;
479
480	ecsh: hid@5c {
481		compatible = "hid-over-i2c";
482		reg = <0x5c>;
483		hid-descr-addr = <0x1>;
484
485		interrupts-extended = <&tlmm 92 IRQ_TYPE_LEVEL_LOW>;
486
487		pinctrl-names = "default";
488		pinctrl-0 = <&i2c11_hid_active>;
489
490		wakeup-source;
491	};
492};
493
494&ipa {
495	qcom,gsi-loader = "self";
496	memory-region = <&ipa_fw_mem>;
497	status = "okay";
498};
499
500&mdss {
501	status = "okay";
502};
503
504&mdss_dsi0 {
505	status = "okay";
506	vdda-supply = <&vreg_l26a_1p2>;
507
508	ports {
509		port@1 {
510			endpoint {
511				remote-endpoint = <&sn65dsi86_in_a>;
512				data-lanes = <0 1 2 3>;
513			};
514		};
515	};
516};
517
518&mdss_dsi0_phy {
519	status = "okay";
520	vdds-supply = <&vreg_l1a_0p875>;
521};
522
523&mss_pil {
524	status = "okay";
525	firmware-name = "qcom/sdm850/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/sdm850/LENOVO/81JL/qcdsp2850.mbn";
526};
527
528&pm8998_gpios {
529	/* This pin is pulled down by a fixed resistor */
530	sw_edp_1p2_en: pm8998-gpio9-state {
531		pins = "gpio9";
532		function = "normal";
533		bias-disable;
534		qcom,drive-strength = <0>;
535	};
536};
537
538&qup_i2c10_default {
539	drive-strength = <2>;
540	bias-disable;
541};
542
543&qup_i2c12_default {
544	drive-strength = <2>;
545	bias-disable;
546};
547
548&qupv3_id_0 {
549	status = "okay";
550};
551
552&qupv3_id_1 {
553	status = "okay";
554};
555
556&q6asmdai {
557	dai@0 {
558		reg = <0>;
559	};
560
561	dai@1 {
562		reg = <1>;
563	};
564
565	dai@2 {
566		reg = <2>;
567	};
568};
569
570&sound {
571	compatible = "lenovo,yoga-c630-sndcard", "qcom,sdm845-sndcard";
572	model = "Lenovo-YOGA-C630-13Q50";
573
574	audio-routing =
575		"RX_BIAS", "MCLK",
576		"AMIC2", "MIC BIAS2",
577		"SpkrLeft IN", "SPK1 OUT",
578		"SpkrRight IN", "SPK2 OUT",
579		"MM_DL1",  "MultiMedia1 Playback",
580		"MM_DL3",  "MultiMedia3 Playback",
581		"MultiMedia2 Capture", "MM_UL2";
582
583	mm1-dai-link {
584		link-name = "MultiMedia1";
585		cpu {
586			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA1>;
587		};
588	};
589
590	mm2-dai-link {
591		link-name = "MultiMedia2";
592		cpu {
593			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA2>;
594		};
595	};
596
597	mm3-dai-link {
598		link-name = "MultiMedia3";
599		cpu {
600			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA3>;
601		};
602	};
603
604	slim-dai-link {
605		link-name = "SLIM Playback";
606		cpu {
607			sound-dai = <&q6afedai SLIMBUS_0_RX>;
608		};
609
610		platform {
611			sound-dai = <&q6routing>;
612		};
613
614		codec {
615			sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
616		};
617	};
618
619	slimcap-dai-link {
620		link-name = "SLIM Capture";
621		cpu {
622			sound-dai = <&q6afedai SLIMBUS_0_TX>;
623		};
624
625		platform {
626			sound-dai = <&q6routing>;
627		};
628
629		codec {
630			sound-dai = <&wcd9340 1>;
631		};
632	};
633
634	slim-wcd-dai-link {
635		link-name = "SLIM WCD Playback";
636		cpu {
637			sound-dai = <&q6afedai SLIMBUS_1_RX>;
638		};
639
640		platform {
641			sound-dai = <&q6routing>;
642		};
643
644		codec {
645			sound-dai = <&wcd9340 2>;
646		};
647	};
648};
649
650&tlmm {
651	gpio-reserved-ranges = <0 4>, <81 4>;
652
653	sn65dsi86_pin_active: sn65dsi86-enable-state {
654		pins = "gpio96";
655		function = "gpio";
656		drive-strength = <2>;
657		bias-disable;
658	};
659
660	i2c3_hid_active: i2c2-hid-active-state {
661		pins = "gpio37";
662		function = "gpio";
663
664		bias-pull-up;
665		drive-strength = <2>;
666	};
667
668	i2c5_hid_active: i2c5-hid-active-state {
669		pins = "gpio125";
670		function = "gpio";
671
672		bias-pull-up;
673		drive-strength = <2>;
674	};
675
676	i2c11_hid_active: i2c11-hid-active-state {
677		pins = "gpio92";
678		function = "gpio";
679
680		bias-pull-up;
681		drive-strength = <2>;
682	};
683
684	lid_pin_active: lid-pin-state {
685		pins = "gpio124";
686		function = "gpio";
687
688		bias-disable;
689	};
690
691	mode_pin_active: mode-pin-state {
692		pins = "gpio95";
693		function = "gpio";
694
695		bias-disable;
696	};
697};
698
699&uart6 {
700	pinctrl-names = "default";
701	pinctrl-0 = <&qup_uart6_4pin>;
702	status = "okay";
703
704	bluetooth {
705		compatible = "qcom,wcn3990-bt";
706
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		vddch1-supply = <&vreg_l23a_3p3>;
712		max-speed = <3200000>;
713	};
714};
715
716&uart9 {
717	status = "okay";
718};
719
720&ufs_mem_hc {
721	status = "okay";
722
723	reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
724
725	vcc-supply = <&vreg_l20a_2p95>;
726	vcc-max-microamp = <600000>;
727};
728
729&ufs_mem_phy {
730	status = "okay";
731
732	vdda-phy-supply = <&vdda_ufs1_core>;
733	vdda-pll-supply = <&vdda_ufs1_1p2>;
734};
735
736&usb_1 {
737	status = "okay";
738};
739
740&usb_1_dwc3 {
741	dr_mode = "host";
742};
743
744&usb_1_hsphy {
745	status = "okay";
746
747	vdd-supply = <&vdda_usb1_ss_core>;
748	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
749	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
750
751	qcom,imp-res-offset-value = <8>;
752	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
753	qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
754	qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
755};
756
757&usb_1_qmpphy {
758	status = "okay";
759
760	vdda-phy-supply = <&vdda_usb1_ss_1p2>;
761	vdda-pll-supply = <&vdda_usb1_ss_core>;
762};
763
764&usb_2 {
765	status = "okay";
766};
767
768&usb_2_dwc3 {
769	dr_mode = "host";
770};
771
772&usb_2_hsphy {
773	status = "okay";
774
775	vdd-supply = <&vdda_usb2_ss_core>;
776	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
777	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
778
779	qcom,imp-res-offset-value = <8>;
780	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
781};
782
783&usb_2_qmpphy {
784	status = "okay";
785
786	vdda-phy-supply = <&vdda_usb2_ss_1p2>;
787	vdda-pll-supply = <&vdda_usb2_ss_core>;
788};
789
790&venus {
791	firmware-name = "qcom/sdm850/LENOVO/81JL/qcvss850.mbn";
792	status = "okay";
793};
794
795&wcd9340 {
796	reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
797	vdd-buck-supply = <&vreg_s4a_1p8>;
798	vdd-buck-sido-supply = <&vreg_s4a_1p8>;
799	vdd-tx-supply = <&vreg_s4a_1p8>;
800	vdd-rx-supply = <&vreg_s4a_1p8>;
801	vdd-io-supply = <&vreg_s4a_1p8>;
802	qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
803	qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
804	qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
805
806	swm: soundwire@c85 {
807		left_spkr: speaker@0,3 {
808			compatible = "sdw10217211000";
809			reg = <0 3>;
810			powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
811			#thermal-sensor-cells = <0>;
812			sound-name-prefix = "SpkrLeft";
813			#sound-dai-cells = <0>;
814		};
815
816		right_spkr: speaker@0,4 {
817			compatible = "sdw10217211000";
818			powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
819			reg = <0 4>;
820			#thermal-sensor-cells = <0>;
821			sound-name-prefix = "SpkrRight";
822			#sound-dai-cells = <0>;
823		};
824	};
825};
826
827&wifi {
828	status = "okay";
829
830	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
831	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
832	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
833	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
834	vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
835
836	qcom,snoc-host-cap-8bit-quirk;
837};
838
839&crypto {
840	/* FIXME: qce_start triggers an SError */
841	status = "disabled";
842};
843