xref: /linux/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts (revision ef10e1b89508d3315e47e23098fec60b33b1f6b3)
144acee20SBjorn Andersson// SPDX-License-Identifier: BSD-3-Clause
244acee20SBjorn Andersson/*
344acee20SBjorn Andersson * Lenovo Yoga C630
444acee20SBjorn Andersson *
544acee20SBjorn Andersson * Copyright (c) 2019, Linaro Ltd.
644acee20SBjorn Andersson */
744acee20SBjorn Andersson
844acee20SBjorn Andersson/dts-v1/;
944acee20SBjorn Andersson
1071b83b74SBjorn Andersson#include <dt-bindings/input/gpio-keys.h>
1171b83b74SBjorn Andersson#include <dt-bindings/input/input.h>
1244acee20SBjorn Andersson#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
1345021d35SSrinivas Kandagatla#include <dt-bindings/sound/qcom,q6afe.h>
1445021d35SSrinivas Kandagatla#include <dt-bindings/sound/qcom,q6asm.h>
156be4ba54SSteev Klimaszewski#include "sdm850.dtsi"
1644acee20SBjorn Andersson#include "pm8998.dtsi"
1744acee20SBjorn Andersson
184420a0deSAmit Pundir/*
194420a0deSAmit Pundir * Update following upstream (sdm845.dtsi) reserved
204420a0deSAmit Pundir * memory mappings for firmware loading to succeed
214420a0deSAmit Pundir * and enable the IPA device.
224420a0deSAmit Pundir */
234420a0deSAmit Pundir/delete-node/ &ipa_fw_mem;
244420a0deSAmit Pundir/delete-node/ &ipa_gsi_mem;
254420a0deSAmit Pundir/delete-node/ &gpu_mem;
264420a0deSAmit Pundir/delete-node/ &adsp_mem;
274420a0deSAmit Pundir/delete-node/ &wlan_msa_mem;
284420a0deSAmit Pundir
2944acee20SBjorn Andersson/ {
3044acee20SBjorn Andersson	model = "Lenovo Yoga C630";
3144acee20SBjorn Andersson	compatible = "lenovo,yoga-c630", "qcom,sdm845";
32eaa744b1SArnaud Ferraris	chassis-type = "convertible";
3344acee20SBjorn Andersson
3444acee20SBjorn Andersson	aliases {
3544acee20SBjorn Andersson		hsuart0 = &uart6;
3644acee20SBjorn Andersson	};
3771b83b74SBjorn Andersson
3871b83b74SBjorn Andersson	gpio-keys {
3971b83b74SBjorn Andersson		compatible = "gpio-keys";
4071b83b74SBjorn Andersson
4171b83b74SBjorn Andersson		pinctrl-names = "default";
4271b83b74SBjorn Andersson		pinctrl-0 = <&lid_pin_active>, <&mode_pin_active>;
4371b83b74SBjorn Andersson
4471b83b74SBjorn Andersson		lid {
4571b83b74SBjorn Andersson			gpios = <&tlmm 124 GPIO_ACTIVE_HIGH>;
4671b83b74SBjorn Andersson			linux,input-type = <EV_SW>;
4771b83b74SBjorn Andersson			linux,code = <SW_LID>;
4871b83b74SBjorn Andersson			wakeup-source;
4971b83b74SBjorn Andersson			wakeup-event-action = <EV_ACT_DEASSERTED>;
5071b83b74SBjorn Andersson		};
5171b83b74SBjorn Andersson
5271b83b74SBjorn Andersson		mode {
5371b83b74SBjorn Andersson			gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
5471b83b74SBjorn Andersson			linux,input-type = <EV_SW>;
5571b83b74SBjorn Andersson			linux,code = <SW_TABLET_MODE>;
5671b83b74SBjorn Andersson		};
5771b83b74SBjorn Andersson	};
58956e9c85SBjorn Andersson
59956e9c85SBjorn Andersson	panel {
60956e9c85SBjorn Andersson		compatible = "boe,nv133fhm-n61";
61956e9c85SBjorn Andersson		no-hpd;
62956e9c85SBjorn Andersson
63956e9c85SBjorn Andersson		ports {
64956e9c85SBjorn Andersson			port {
65956e9c85SBjorn Andersson				panel_in_edp: endpoint {
66956e9c85SBjorn Andersson					remote-endpoint = <&sn65dsi86_out>;
67956e9c85SBjorn Andersson				};
68956e9c85SBjorn Andersson			};
69956e9c85SBjorn Andersson		};
70956e9c85SBjorn Andersson	};
71956e9c85SBjorn Andersson
724420a0deSAmit Pundir	/* Reserved memory changes for IPA */
734420a0deSAmit Pundir	reserved-memory {
744420a0deSAmit Pundir		wlan_msa_mem: memory@8c400000 {
754420a0deSAmit Pundir			reg = <0 0x8c400000 0 0x100000>;
764420a0deSAmit Pundir			no-map;
774420a0deSAmit Pundir		};
784420a0deSAmit Pundir
794420a0deSAmit Pundir		gpu_mem: memory@8c515000 {
804420a0deSAmit Pundir			reg = <0 0x8c515000 0 0x2000>;
814420a0deSAmit Pundir			no-map;
824420a0deSAmit Pundir		};
834420a0deSAmit Pundir
844420a0deSAmit Pundir		ipa_fw_mem: memory@8c517000 {
854420a0deSAmit Pundir			reg = <0 0x8c517000 0 0x5a000>;
864420a0deSAmit Pundir			no-map;
874420a0deSAmit Pundir		};
884420a0deSAmit Pundir
894420a0deSAmit Pundir		adsp_mem: memory@8c600000 {
904420a0deSAmit Pundir			reg = <0 0x8c600000 0 0x1a00000>;
914420a0deSAmit Pundir			no-map;
924420a0deSAmit Pundir		};
934420a0deSAmit Pundir	};
944420a0deSAmit Pundir
95956e9c85SBjorn Andersson	sn65dsi86_refclk: sn65dsi86-refclk {
96956e9c85SBjorn Andersson		compatible = "fixed-clock";
97956e9c85SBjorn Andersson		#clock-cells = <0>;
98956e9c85SBjorn Andersson
99956e9c85SBjorn Andersson		clock-frequency = <19200000>;
100956e9c85SBjorn Andersson	};
10144acee20SBjorn Andersson};
10244acee20SBjorn Andersson
1033cd82e95SBjorn Andersson&adsp_pas {
1043cd82e95SBjorn Andersson	firmware-name = "qcom/LENOVO/81JL/qcadsp850.mbn";
1053cd82e95SBjorn Andersson	status = "okay";
1063cd82e95SBjorn Andersson};
1073cd82e95SBjorn Andersson
10844acee20SBjorn Andersson&apps_rsc {
10944acee20SBjorn Andersson	pm8998-rpmh-regulators {
11044acee20SBjorn Andersson		compatible = "qcom,pm8998-rpmh-regulators";
11144acee20SBjorn Andersson		qcom,pmic-id = "a";
11244acee20SBjorn Andersson
11344acee20SBjorn Andersson		vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
11444acee20SBjorn Andersson		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
11544acee20SBjorn Andersson
11644acee20SBjorn Andersson		vreg_s2a_1p125: smps2 {
11744acee20SBjorn Andersson		};
11844acee20SBjorn Andersson
11944acee20SBjorn Andersson		vreg_s3a_1p35: smps3 {
12044acee20SBjorn Andersson			regulator-min-microvolt = <1352000>;
12144acee20SBjorn Andersson			regulator-max-microvolt = <1352000>;
12244acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
12344acee20SBjorn Andersson		};
12444acee20SBjorn Andersson
12544acee20SBjorn Andersson		vreg_s4a_1p8: smps4 {
12644acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
12744acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
12844acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
12944acee20SBjorn Andersson		};
13044acee20SBjorn Andersson
13144acee20SBjorn Andersson		vreg_s5a_2p04: smps5 {
13244acee20SBjorn Andersson			regulator-min-microvolt = <2040000>;
13344acee20SBjorn Andersson			regulator-max-microvolt = <2040000>;
13444acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
13544acee20SBjorn Andersson		};
13644acee20SBjorn Andersson
13744acee20SBjorn Andersson		vreg_s7a_1p025: smps7 {
13844acee20SBjorn Andersson		};
13944acee20SBjorn Andersson
14044acee20SBjorn Andersson		vdd_qusb_hs0:
14144acee20SBjorn Andersson		vdda_hp_pcie_core:
14244acee20SBjorn Andersson		vdda_mipi_csi0_0p9:
14344acee20SBjorn Andersson		vdda_mipi_csi1_0p9:
14444acee20SBjorn Andersson		vdda_mipi_csi2_0p9:
14544acee20SBjorn Andersson		vdda_mipi_dsi0_pll:
14644acee20SBjorn Andersson		vdda_mipi_dsi1_pll:
14744acee20SBjorn Andersson		vdda_qlink_lv:
14844acee20SBjorn Andersson		vdda_qlink_lv_ck:
14944acee20SBjorn Andersson		vdda_qrefs_0p875:
15044acee20SBjorn Andersson		vdda_pcie_core:
15144acee20SBjorn Andersson		vdda_pll_cc_ebi01:
15244acee20SBjorn Andersson		vdda_pll_cc_ebi23:
15344acee20SBjorn Andersson		vdda_sp_sensor:
15444acee20SBjorn Andersson		vdda_ufs1_core:
15544acee20SBjorn Andersson		vdda_ufs2_core:
15644acee20SBjorn Andersson		vdda_usb1_ss_core:
15744acee20SBjorn Andersson		vdda_usb2_ss_core:
15844acee20SBjorn Andersson		vreg_l1a_0p875: ldo1 {
15944acee20SBjorn Andersson			regulator-min-microvolt = <880000>;
16044acee20SBjorn Andersson			regulator-max-microvolt = <880000>;
16144acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
16244acee20SBjorn Andersson		};
16344acee20SBjorn Andersson
16444acee20SBjorn Andersson		vddpx_10:
16544acee20SBjorn Andersson		vreg_l2a_1p2: ldo2 {
16644acee20SBjorn Andersson			regulator-min-microvolt = <1200000>;
16744acee20SBjorn Andersson			regulator-max-microvolt = <1200000>;
16844acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
16944acee20SBjorn Andersson			regulator-always-on;
17044acee20SBjorn Andersson		};
17144acee20SBjorn Andersson
17244acee20SBjorn Andersson		vreg_l3a_1p0: ldo3 {
17344acee20SBjorn Andersson		};
17444acee20SBjorn Andersson
17544acee20SBjorn Andersson		vdd_wcss_cx:
17644acee20SBjorn Andersson		vdd_wcss_mx:
17744acee20SBjorn Andersson		vdda_wcss_pll:
17844acee20SBjorn Andersson		vreg_l5a_0p8: ldo5 {
17944acee20SBjorn Andersson			regulator-min-microvolt = <800000>;
18044acee20SBjorn Andersson			regulator-max-microvolt = <800000>;
18144acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
18244acee20SBjorn Andersson		};
18344acee20SBjorn Andersson
18444acee20SBjorn Andersson		vddpx_13:
18544acee20SBjorn Andersson		vreg_l6a_1p8: ldo6 {
18644acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
18744acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
18844acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
18944acee20SBjorn Andersson		};
19044acee20SBjorn Andersson
19144acee20SBjorn Andersson		vreg_l7a_1p8: ldo7 {
19244acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
19344acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
19444acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
19544acee20SBjorn Andersson		};
19644acee20SBjorn Andersson
19744acee20SBjorn Andersson		vreg_l8a_1p2: ldo8 {
19844acee20SBjorn Andersson		};
19944acee20SBjorn Andersson
20044acee20SBjorn Andersson		vreg_l9a_1p8: ldo9 {
20144acee20SBjorn Andersson		};
20244acee20SBjorn Andersson
20344acee20SBjorn Andersson		vreg_l10a_1p8: ldo10 {
20444acee20SBjorn Andersson		};
20544acee20SBjorn Andersson
20644acee20SBjorn Andersson		vreg_l11a_1p0: ldo11 {
20744acee20SBjorn Andersson		};
20844acee20SBjorn Andersson
20944acee20SBjorn Andersson		vdd_qfprom:
21044acee20SBjorn Andersson		vdd_qfprom_sp:
21144acee20SBjorn Andersson		vdda_apc1_cs_1p8:
21244acee20SBjorn Andersson		vdda_gfx_cs_1p8:
21344acee20SBjorn Andersson		vdda_qrefs_1p8:
21444acee20SBjorn Andersson		vdda_qusb_hs0_1p8:
21544acee20SBjorn Andersson		vddpx_11:
21644acee20SBjorn Andersson		vreg_l12a_1p8: ldo12 {
21744acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
21844acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
21944acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
22044acee20SBjorn Andersson		};
22144acee20SBjorn Andersson
22244acee20SBjorn Andersson		vddpx_2:
22344acee20SBjorn Andersson		vreg_l13a_2p95: ldo13 {
22444acee20SBjorn Andersson		};
22544acee20SBjorn Andersson
22644acee20SBjorn Andersson		vreg_l14a_1p88: ldo14 {
22744acee20SBjorn Andersson			regulator-min-microvolt = <1880000>;
22844acee20SBjorn Andersson			regulator-max-microvolt = <1880000>;
22944acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
23044acee20SBjorn Andersson			regulator-always-on;
23144acee20SBjorn Andersson		};
23244acee20SBjorn Andersson
23344acee20SBjorn Andersson		vreg_l15a_1p8: ldo15 {
23444acee20SBjorn Andersson		};
23544acee20SBjorn Andersson
23644acee20SBjorn Andersson		vreg_l16a_2p7: ldo16 {
23744acee20SBjorn Andersson		};
23844acee20SBjorn Andersson
23944acee20SBjorn Andersson		vreg_l17a_1p3: ldo17 {
24044acee20SBjorn Andersson			regulator-min-microvolt = <1304000>;
24144acee20SBjorn Andersson			regulator-max-microvolt = <1304000>;
24244acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
24344acee20SBjorn Andersson		};
24444acee20SBjorn Andersson
24544acee20SBjorn Andersson		vreg_l18a_2p7: ldo18 {
24644acee20SBjorn Andersson		};
24744acee20SBjorn Andersson
24844acee20SBjorn Andersson		vreg_l19a_3p0: ldo19 {
24944acee20SBjorn Andersson			regulator-min-microvolt = <3100000>;
25044acee20SBjorn Andersson			regulator-max-microvolt = <3108000>;
25144acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
25244acee20SBjorn Andersson		};
25344acee20SBjorn Andersson
25444acee20SBjorn Andersson		vreg_l20a_2p95: ldo20 {
25544acee20SBjorn Andersson			regulator-min-microvolt = <2960000>;
25644acee20SBjorn Andersson			regulator-max-microvolt = <2960000>;
25744acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
25844acee20SBjorn Andersson		};
25944acee20SBjorn Andersson
26044acee20SBjorn Andersson		vreg_l21a_2p95: ldo21 {
26144acee20SBjorn Andersson		};
26244acee20SBjorn Andersson
26344acee20SBjorn Andersson		vreg_l22a_2p85: ldo22 {
26444acee20SBjorn Andersson		};
26544acee20SBjorn Andersson
26644acee20SBjorn Andersson		vreg_l23a_3p3: ldo23 {
267b464f08cSSteev Klimaszewski			regulator-min-microvolt = <3300000>;
268b464f08cSSteev Klimaszewski			regulator-max-microvolt = <3312000>;
269b464f08cSSteev Klimaszewski			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
27044acee20SBjorn Andersson		};
27144acee20SBjorn Andersson
27244acee20SBjorn Andersson		vdda_qusb_hs0_3p1:
27344acee20SBjorn Andersson		vreg_l24a_3p075: ldo24 {
27444acee20SBjorn Andersson			regulator-min-microvolt = <3075000>;
27544acee20SBjorn Andersson			regulator-max-microvolt = <3083000>;
27644acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
27744acee20SBjorn Andersson		};
27844acee20SBjorn Andersson
27944acee20SBjorn Andersson		vreg_l25a_3p3: ldo25 {
28044acee20SBjorn Andersson			regulator-min-microvolt = <3104000>;
28144acee20SBjorn Andersson			regulator-max-microvolt = <3112000>;
28244acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
28344acee20SBjorn Andersson		};
28444acee20SBjorn Andersson
28544acee20SBjorn Andersson		vdda_hp_pcie_1p2:
28644acee20SBjorn Andersson		vdda_hv_ebi0:
28744acee20SBjorn Andersson		vdda_hv_ebi1:
28844acee20SBjorn Andersson		vdda_hv_ebi2:
28944acee20SBjorn Andersson		vdda_hv_ebi3:
29044acee20SBjorn Andersson		vdda_mipi_csi_1p25:
29144acee20SBjorn Andersson		vdda_mipi_dsi0_1p2:
29244acee20SBjorn Andersson		vdda_mipi_dsi1_1p2:
29344acee20SBjorn Andersson		vdda_pcie_1p2:
29444acee20SBjorn Andersson		vdda_ufs1_1p2:
29544acee20SBjorn Andersson		vdda_ufs2_1p2:
29644acee20SBjorn Andersson		vdda_usb1_ss_1p2:
29744acee20SBjorn Andersson		vdda_usb2_ss_1p2:
29844acee20SBjorn Andersson		vreg_l26a_1p2: ldo26 {
29944acee20SBjorn Andersson			regulator-min-microvolt = <1200000>;
30044acee20SBjorn Andersson			regulator-max-microvolt = <1208000>;
30144acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
30244acee20SBjorn Andersson		};
30344acee20SBjorn Andersson
30444acee20SBjorn Andersson		vreg_l28a_3p0: ldo28 {
30544acee20SBjorn Andersson		};
30644acee20SBjorn Andersson
30744acee20SBjorn Andersson		vreg_lvs1a_1p8: lvs1 {
30844acee20SBjorn Andersson		};
30944acee20SBjorn Andersson
31044acee20SBjorn Andersson		vreg_lvs2a_1p8: lvs2 {
31144acee20SBjorn Andersson		};
31244acee20SBjorn Andersson	};
31344acee20SBjorn Andersson};
31444acee20SBjorn Andersson
3153cd82e95SBjorn Andersson&cdsp_pas {
3163cd82e95SBjorn Andersson	firmware-name = "qcom/LENOVO/81JL/qccdsp850.mbn";
3173cd82e95SBjorn Andersson	status = "okay";
3183cd82e95SBjorn Andersson};
3193cd82e95SBjorn Andersson
320956e9c85SBjorn Andersson&dsi0 {
321956e9c85SBjorn Andersson	status = "okay";
322956e9c85SBjorn Andersson	vdda-supply = <&vreg_l26a_1p2>;
323956e9c85SBjorn Andersson
324956e9c85SBjorn Andersson	ports {
325956e9c85SBjorn Andersson		port@1 {
326956e9c85SBjorn Andersson			endpoint {
327956e9c85SBjorn Andersson				remote-endpoint = <&sn65dsi86_in_a>;
328956e9c85SBjorn Andersson				data-lanes = <0 1 2 3>;
329956e9c85SBjorn Andersson			};
330956e9c85SBjorn Andersson		};
331956e9c85SBjorn Andersson	};
332956e9c85SBjorn Andersson};
333956e9c85SBjorn Andersson
334956e9c85SBjorn Andersson&dsi0_phy {
335956e9c85SBjorn Andersson	status = "okay";
336956e9c85SBjorn Andersson	vdds-supply = <&vreg_l1a_0p875>;
337956e9c85SBjorn Andersson};
338956e9c85SBjorn Andersson
33944acee20SBjorn Andersson&gcc {
34044acee20SBjorn Andersson	protected-clocks = <GCC_QSPI_CORE_CLK>,
34144acee20SBjorn Andersson			   <GCC_QSPI_CORE_CLK_SRC>,
34293f2a115SBjorn Andersson			   <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
34393f2a115SBjorn Andersson			   <GCC_LPASS_Q6_AXI_CLK>,
34493f2a115SBjorn Andersson			   <GCC_LPASS_SWAY_CLK>;
34544acee20SBjorn Andersson};
34644acee20SBjorn Andersson
3477f761609SKonrad Dybcio&gmu {
3487f761609SKonrad Dybcio	status = "okay";
3497f761609SKonrad Dybcio};
3507f761609SKonrad Dybcio
351f489b13dSRob Clark&gpu {
3527f761609SKonrad Dybcio	status = "okay";
353f489b13dSRob Clark	zap-shader {
354f489b13dSRob Clark		memory-region = <&gpu_mem>;
355f489b13dSRob Clark		firmware-name = "qcom/LENOVO/81JL/qcdxkmsuc850.mbn";
356f489b13dSRob Clark	};
357f489b13dSRob Clark};
358f489b13dSRob Clark
35944acee20SBjorn Andersson&i2c1 {
36044acee20SBjorn Andersson	status = "okay";
36144acee20SBjorn Andersson	clock-frequency = <400000>;
36244acee20SBjorn Andersson};
36344acee20SBjorn Andersson
36444acee20SBjorn Andersson&i2c3 {
36544acee20SBjorn Andersson	status = "okay";
36644acee20SBjorn Andersson	clock-frequency = <400000>;
367a9164910SShawn Guo	/* Overwrite pinctrl-0 from sdm845.dtsi */
368a9164910SShawn Guo	pinctrl-0 = <&qup_i2c3_default &i2c3_hid_active>;
36944acee20SBjorn Andersson
37011d0e4f2SBjorn Andersson	tsel: hid@15 {
37144acee20SBjorn Andersson		compatible = "hid-over-i2c";
37244acee20SBjorn Andersson		reg = <0x15>;
37344acee20SBjorn Andersson		hid-descr-addr = <0x1>;
37444acee20SBjorn Andersson
37511d0e4f2SBjorn Andersson		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
37644acee20SBjorn Andersson	};
37744acee20SBjorn Andersson
37811d0e4f2SBjorn Andersson	tsc2: hid@2c {
37944acee20SBjorn Andersson		compatible = "hid-over-i2c";
38044acee20SBjorn Andersson		reg = <0x2c>;
38144acee20SBjorn Andersson		hid-descr-addr = <0x20>;
38244acee20SBjorn Andersson
38311d0e4f2SBjorn Andersson		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
38444acee20SBjorn Andersson	};
38544acee20SBjorn Andersson};
38644acee20SBjorn Andersson
38744acee20SBjorn Andersson&i2c5 {
38844acee20SBjorn Andersson	status = "okay";
38944acee20SBjorn Andersson	clock-frequency = <400000>;
39044acee20SBjorn Andersson
39111d0e4f2SBjorn Andersson	tsc1: hid@10 {
39244acee20SBjorn Andersson		compatible = "hid-over-i2c";
39344acee20SBjorn Andersson		reg = <0x10>;
39444acee20SBjorn Andersson		hid-descr-addr = <0x1>;
39544acee20SBjorn Andersson
39611d0e4f2SBjorn Andersson		interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>;
39744acee20SBjorn Andersson
39844acee20SBjorn Andersson		pinctrl-names = "default";
39911d0e4f2SBjorn Andersson		pinctrl-0 = <&i2c5_hid_active>;
40044acee20SBjorn Andersson	};
40144acee20SBjorn Andersson};
40244acee20SBjorn Andersson
403956e9c85SBjorn Andersson&i2c10 {
404956e9c85SBjorn Andersson	status = "okay";
405956e9c85SBjorn Andersson	clock-frequency = <400000>;
406956e9c85SBjorn Andersson
407956e9c85SBjorn Andersson	sn65dsi86: bridge@2c {
408956e9c85SBjorn Andersson		compatible = "ti,sn65dsi86";
409956e9c85SBjorn Andersson		reg = <0x2c>;
410956e9c85SBjorn Andersson		pinctrl-names = "default";
411956e9c85SBjorn Andersson		pinctrl-0 = <&sn65dsi86_pin_active>;
412956e9c85SBjorn Andersson
413956e9c85SBjorn Andersson		enable-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
414956e9c85SBjorn Andersson
415956e9c85SBjorn Andersson		vpll-supply = <&vreg_l14a_1p88>;
416956e9c85SBjorn Andersson		vccio-supply = <&vreg_l14a_1p88>;
417956e9c85SBjorn Andersson
418956e9c85SBjorn Andersson		clocks = <&sn65dsi86_refclk>;
419956e9c85SBjorn Andersson		clock-names = "refclk";
420956e9c85SBjorn Andersson
421c0dcfe6aSStephen Boyd		no-hpd;
422c0dcfe6aSStephen Boyd
423956e9c85SBjorn Andersson		ports {
424956e9c85SBjorn Andersson			#address-cells = <1>;
425956e9c85SBjorn Andersson			#size-cells = <0>;
426956e9c85SBjorn Andersson
427956e9c85SBjorn Andersson			port@0 {
428956e9c85SBjorn Andersson				reg = <0>;
429956e9c85SBjorn Andersson				sn65dsi86_in_a: endpoint {
430956e9c85SBjorn Andersson					remote-endpoint = <&dsi0_out>;
431956e9c85SBjorn Andersson				};
432956e9c85SBjorn Andersson			};
433956e9c85SBjorn Andersson
434956e9c85SBjorn Andersson			port@1 {
435956e9c85SBjorn Andersson				reg = <1>;
436956e9c85SBjorn Andersson				sn65dsi86_out: endpoint {
437956e9c85SBjorn Andersson					remote-endpoint = <&panel_in_edp>;
438956e9c85SBjorn Andersson				};
439956e9c85SBjorn Andersson			};
440956e9c85SBjorn Andersson		};
441956e9c85SBjorn Andersson	};
442956e9c85SBjorn Andersson};
443956e9c85SBjorn Andersson
44444acee20SBjorn Andersson&i2c11 {
44544acee20SBjorn Andersson	status = "okay";
44644acee20SBjorn Andersson	clock-frequency = <400000>;
44744acee20SBjorn Andersson
44811d0e4f2SBjorn Andersson	ecsh: hid@5c {
44944acee20SBjorn Andersson		compatible = "hid-over-i2c";
45044acee20SBjorn Andersson		reg = <0x5c>;
45144acee20SBjorn Andersson		hid-descr-addr = <0x1>;
45244acee20SBjorn Andersson
45344acee20SBjorn Andersson		interrupts-extended = <&tlmm 92 IRQ_TYPE_LEVEL_LOW>;
45444acee20SBjorn Andersson
45544acee20SBjorn Andersson		pinctrl-names = "default";
45611d0e4f2SBjorn Andersson		pinctrl-0 = <&i2c11_hid_active>;
45744acee20SBjorn Andersson	};
45844acee20SBjorn Andersson};
45944acee20SBjorn Andersson
4602e01e0c2SBjorn Andersson&ipa {
4612e01e0c2SBjorn Andersson	status = "okay";
4622e01e0c2SBjorn Andersson	memory-region = <&ipa_fw_mem>;
4632e01e0c2SBjorn Andersson};
4642e01e0c2SBjorn Andersson
465956e9c85SBjorn Andersson&mdss {
466956e9c85SBjorn Andersson	status = "okay";
467956e9c85SBjorn Andersson};
468956e9c85SBjorn Andersson
4693cd82e95SBjorn Andersson&mss_pil {
4707f761609SKonrad Dybcio	status = "okay";
4713cd82e95SBjorn Andersson	firmware-name = "qcom/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/LENOVO/81JL/qcdsp2850.mbn";
4723cd82e95SBjorn Andersson};
4733cd82e95SBjorn Andersson
474956e9c85SBjorn Andersson&qup_i2c10_default {
475956e9c85SBjorn Andersson	pinconf {
476956e9c85SBjorn Andersson		pins = "gpio55", "gpio56";
477956e9c85SBjorn Andersson		drive-strength = <2>;
478956e9c85SBjorn Andersson		bias-disable;
479956e9c85SBjorn Andersson	};
480956e9c85SBjorn Andersson};
481956e9c85SBjorn Andersson
48244acee20SBjorn Andersson&qup_i2c12_default {
48344acee20SBjorn Andersson	drive-strength = <2>;
48444acee20SBjorn Andersson	bias-disable;
48544acee20SBjorn Andersson};
48644acee20SBjorn Andersson
48744acee20SBjorn Andersson&qup_uart6_default {
48844acee20SBjorn Andersson	pinmux {
48944acee20SBjorn Andersson		 pins = "gpio45", "gpio46", "gpio47", "gpio48";
49044acee20SBjorn Andersson		 function = "qup6";
49144acee20SBjorn Andersson	};
49244acee20SBjorn Andersson
49344acee20SBjorn Andersson	cts {
49444acee20SBjorn Andersson		pins = "gpio45";
49544acee20SBjorn Andersson		bias-pull-down;
49644acee20SBjorn Andersson	};
49744acee20SBjorn Andersson
49844acee20SBjorn Andersson	rts-tx {
49944acee20SBjorn Andersson		pins = "gpio46", "gpio47";
50044acee20SBjorn Andersson		drive-strength = <2>;
50144acee20SBjorn Andersson		bias-disable;
50244acee20SBjorn Andersson	};
50344acee20SBjorn Andersson
50444acee20SBjorn Andersson	rx {
50544acee20SBjorn Andersson		pins = "gpio48";
50644acee20SBjorn Andersson		bias-pull-up;
50744acee20SBjorn Andersson	};
50844acee20SBjorn Andersson};
50944acee20SBjorn Andersson
51044acee20SBjorn Andersson&qupv3_id_0 {
51144acee20SBjorn Andersson	status = "okay";
51244acee20SBjorn Andersson};
51344acee20SBjorn Andersson
51444acee20SBjorn Andersson&qupv3_id_1 {
51544acee20SBjorn Andersson	status = "okay";
51644acee20SBjorn Andersson};
51744acee20SBjorn Andersson
51845021d35SSrinivas Kandagatla&q6asmdai {
51945021d35SSrinivas Kandagatla	dai@0 {
52045021d35SSrinivas Kandagatla		reg = <0>;
52145021d35SSrinivas Kandagatla	};
52245021d35SSrinivas Kandagatla
52345021d35SSrinivas Kandagatla	dai@1 {
52445021d35SSrinivas Kandagatla		reg = <1>;
52545021d35SSrinivas Kandagatla	};
526c02b360cSSrinivas Kandagatla
527c02b360cSSrinivas Kandagatla	dai@2 {
528c02b360cSSrinivas Kandagatla		reg = <2>;
529c02b360cSSrinivas Kandagatla	};
53045021d35SSrinivas Kandagatla};
53145021d35SSrinivas Kandagatla
53245021d35SSrinivas Kandagatla&sound {
53345021d35SSrinivas Kandagatla	compatible = "qcom,db845c-sndcard";
53445021d35SSrinivas Kandagatla	model = "Lenovo-YOGA-C630-13Q50";
53545021d35SSrinivas Kandagatla
53645021d35SSrinivas Kandagatla	audio-routing =
53745021d35SSrinivas Kandagatla		"RX_BIAS", "MCLK",
53845021d35SSrinivas Kandagatla		"AMIC2", "MIC BIAS2",
53945021d35SSrinivas Kandagatla		"SpkrLeft IN", "SPK1 OUT",
54045021d35SSrinivas Kandagatla		"SpkrRight IN", "SPK2 OUT",
54145021d35SSrinivas Kandagatla		"MM_DL1",  "MultiMedia1 Playback",
542c02b360cSSrinivas Kandagatla		"MM_DL3",  "MultiMedia3 Playback",
54345021d35SSrinivas Kandagatla		"MultiMedia2 Capture", "MM_UL2";
54445021d35SSrinivas Kandagatla
54545021d35SSrinivas Kandagatla	mm1-dai-link {
54645021d35SSrinivas Kandagatla		link-name = "MultiMedia1";
54745021d35SSrinivas Kandagatla		cpu {
54845021d35SSrinivas Kandagatla			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA1>;
54945021d35SSrinivas Kandagatla		};
55045021d35SSrinivas Kandagatla	};
55145021d35SSrinivas Kandagatla
55245021d35SSrinivas Kandagatla	mm2-dai-link {
55345021d35SSrinivas Kandagatla		link-name = "MultiMedia2";
55445021d35SSrinivas Kandagatla		cpu {
55545021d35SSrinivas Kandagatla			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA2>;
55645021d35SSrinivas Kandagatla		};
55745021d35SSrinivas Kandagatla	};
55845021d35SSrinivas Kandagatla
559c02b360cSSrinivas Kandagatla	mm3-dai-link {
560c02b360cSSrinivas Kandagatla		link-name = "MultiMedia3";
561c02b360cSSrinivas Kandagatla		cpu {
562c02b360cSSrinivas Kandagatla			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA3>;
563c02b360cSSrinivas Kandagatla		};
564c02b360cSSrinivas Kandagatla	};
565c02b360cSSrinivas Kandagatla
56645021d35SSrinivas Kandagatla	slim-dai-link {
56745021d35SSrinivas Kandagatla		link-name = "SLIM Playback";
56845021d35SSrinivas Kandagatla		cpu {
56945021d35SSrinivas Kandagatla			sound-dai = <&q6afedai SLIMBUS_0_RX>;
57045021d35SSrinivas Kandagatla		};
57145021d35SSrinivas Kandagatla
57245021d35SSrinivas Kandagatla		platform {
57345021d35SSrinivas Kandagatla			sound-dai = <&q6routing>;
57445021d35SSrinivas Kandagatla		};
57545021d35SSrinivas Kandagatla
57645021d35SSrinivas Kandagatla		codec {
57745021d35SSrinivas Kandagatla			sound-dai =  <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
57845021d35SSrinivas Kandagatla		};
57945021d35SSrinivas Kandagatla	};
58045021d35SSrinivas Kandagatla
58145021d35SSrinivas Kandagatla	slimcap-dai-link {
58245021d35SSrinivas Kandagatla		link-name = "SLIM Capture";
58345021d35SSrinivas Kandagatla		cpu {
58445021d35SSrinivas Kandagatla			sound-dai = <&q6afedai SLIMBUS_0_TX>;
58545021d35SSrinivas Kandagatla		};
58645021d35SSrinivas Kandagatla
58745021d35SSrinivas Kandagatla		platform {
58845021d35SSrinivas Kandagatla			sound-dai = <&q6routing>;
58945021d35SSrinivas Kandagatla		};
59045021d35SSrinivas Kandagatla
59145021d35SSrinivas Kandagatla		codec {
59245021d35SSrinivas Kandagatla			sound-dai = <&wcd9340 1>;
59345021d35SSrinivas Kandagatla		};
59445021d35SSrinivas Kandagatla	};
595c02b360cSSrinivas Kandagatla
596c02b360cSSrinivas Kandagatla	slim-wcd-dai-link {
597c02b360cSSrinivas Kandagatla		link-name = "SLIM WCD Playback";
598c02b360cSSrinivas Kandagatla		cpu {
599c02b360cSSrinivas Kandagatla			sound-dai = <&q6afedai SLIMBUS_1_RX>;
600c02b360cSSrinivas Kandagatla		};
601c02b360cSSrinivas Kandagatla
602c02b360cSSrinivas Kandagatla		platform {
603c02b360cSSrinivas Kandagatla			sound-dai = <&q6routing>;
604c02b360cSSrinivas Kandagatla		};
605c02b360cSSrinivas Kandagatla
606c02b360cSSrinivas Kandagatla		codec {
607c02b360cSSrinivas Kandagatla			sound-dai =  <&wcd9340 2>;
608c02b360cSSrinivas Kandagatla		};
609c02b360cSSrinivas Kandagatla	};
61045021d35SSrinivas Kandagatla};
61145021d35SSrinivas Kandagatla
61244acee20SBjorn Andersson&tlmm {
61344acee20SBjorn Andersson	gpio-reserved-ranges = <0 4>, <81 4>;
61444acee20SBjorn Andersson
615956e9c85SBjorn Andersson	sn65dsi86_pin_active: sn65dsi86-enable {
616956e9c85SBjorn Andersson		pins = "gpio96";
617956e9c85SBjorn Andersson		drive-strength = <2>;
618956e9c85SBjorn Andersson		bias-disable;
619956e9c85SBjorn Andersson	};
620956e9c85SBjorn Andersson
62111d0e4f2SBjorn Andersson	i2c3_hid_active: i2c2-hid-active {
622f55d373fSBjorn Andersson		pins = "gpio37";
62344acee20SBjorn Andersson		function = "gpio";
62444acee20SBjorn Andersson
62544acee20SBjorn Andersson		input-enable;
62644acee20SBjorn Andersson		bias-pull-up;
62744acee20SBjorn Andersson		drive-strength = <2>;
62844acee20SBjorn Andersson	};
62944acee20SBjorn Andersson
63011d0e4f2SBjorn Andersson	i2c5_hid_active: i2c5-hid-active {
631f55d373fSBjorn Andersson		pins = "gpio125";
63244acee20SBjorn Andersson		function = "gpio";
63344acee20SBjorn Andersson
63444acee20SBjorn Andersson		input-enable;
63544acee20SBjorn Andersson		bias-pull-up;
63644acee20SBjorn Andersson		drive-strength = <2>;
63744acee20SBjorn Andersson	};
63844acee20SBjorn Andersson
63911d0e4f2SBjorn Andersson	i2c11_hid_active: i2c11-hid-active {
640f55d373fSBjorn Andersson		pins = "gpio92";
64144acee20SBjorn Andersson		function = "gpio";
64244acee20SBjorn Andersson
64344acee20SBjorn Andersson		input-enable;
64444acee20SBjorn Andersson		bias-pull-up;
64544acee20SBjorn Andersson		drive-strength = <2>;
64644acee20SBjorn Andersson	};
64745021d35SSrinivas Kandagatla
64845021d35SSrinivas Kandagatla	wcd_intr_default: wcd_intr_default {
649f55d373fSBjorn Andersson		pins = "gpio54";
65045021d35SSrinivas Kandagatla		function = "gpio";
65145021d35SSrinivas Kandagatla
65245021d35SSrinivas Kandagatla		input-enable;
65345021d35SSrinivas Kandagatla		bias-pull-down;
65445021d35SSrinivas Kandagatla		drive-strength = <2>;
65545021d35SSrinivas Kandagatla	};
65671b83b74SBjorn Andersson
65771b83b74SBjorn Andersson	lid_pin_active: lid-pin {
65871b83b74SBjorn Andersson		pins = "gpio124";
65971b83b74SBjorn Andersson		function = "gpio";
66071b83b74SBjorn Andersson
66171b83b74SBjorn Andersson		input-enable;
66271b83b74SBjorn Andersson		bias-disable;
66371b83b74SBjorn Andersson	};
66471b83b74SBjorn Andersson
66571b83b74SBjorn Andersson	mode_pin_active: mode-pin {
66671b83b74SBjorn Andersson		pins = "gpio95";
66771b83b74SBjorn Andersson		function = "gpio";
66871b83b74SBjorn Andersson
66971b83b74SBjorn Andersson		input-enable;
67071b83b74SBjorn Andersson		bias-disable;
67171b83b74SBjorn Andersson	};
67244acee20SBjorn Andersson};
67344acee20SBjorn Andersson
67444acee20SBjorn Andersson&uart6 {
67544acee20SBjorn Andersson	status = "okay";
67644acee20SBjorn Andersson
67744acee20SBjorn Andersson	bluetooth {
67844acee20SBjorn Andersson		compatible = "qcom,wcn3990-bt";
67944acee20SBjorn Andersson
68044acee20SBjorn Andersson		vddio-supply = <&vreg_s4a_1p8>;
68144acee20SBjorn Andersson		vddxo-supply = <&vreg_l7a_1p8>;
68244acee20SBjorn Andersson		vddrf-supply = <&vreg_l17a_1p3>;
68344acee20SBjorn Andersson		vddch0-supply = <&vreg_l25a_3p3>;
684b464f08cSSteev Klimaszewski		vddch1-supply = <&vreg_l23a_3p3>;
68544acee20SBjorn Andersson		max-speed = <3200000>;
68644acee20SBjorn Andersson	};
68744acee20SBjorn Andersson};
68844acee20SBjorn Andersson
68944acee20SBjorn Andersson&ufs_mem_hc {
69044acee20SBjorn Andersson	status = "okay";
69144acee20SBjorn Andersson
6922536bedeSBjorn Andersson	reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
6932536bedeSBjorn Andersson
69444acee20SBjorn Andersson	vcc-supply = <&vreg_l20a_2p95>;
69544acee20SBjorn Andersson	vcc-max-microamp = <600000>;
69644acee20SBjorn Andersson};
69744acee20SBjorn Andersson
69844acee20SBjorn Andersson&ufs_mem_phy {
69944acee20SBjorn Andersson	status = "okay";
70044acee20SBjorn Andersson
70144acee20SBjorn Andersson	vdda-phy-supply = <&vdda_ufs1_core>;
70244acee20SBjorn Andersson	vdda-pll-supply = <&vdda_ufs1_1p2>;
70344acee20SBjorn Andersson};
70444acee20SBjorn Andersson
70544acee20SBjorn Andersson&usb_1 {
70644acee20SBjorn Andersson	status = "okay";
70744acee20SBjorn Andersson};
70844acee20SBjorn Andersson
70944acee20SBjorn Andersson&usb_1_dwc3 {
71044acee20SBjorn Andersson	dr_mode = "host";
71144acee20SBjorn Andersson};
71244acee20SBjorn Andersson
71344acee20SBjorn Andersson&usb_1_hsphy {
71444acee20SBjorn Andersson	status = "okay";
71544acee20SBjorn Andersson
71644acee20SBjorn Andersson	vdd-supply = <&vdda_usb1_ss_core>;
71744acee20SBjorn Andersson	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
71844acee20SBjorn Andersson	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
71944acee20SBjorn Andersson
72044acee20SBjorn Andersson	qcom,imp-res-offset-value = <8>;
72144acee20SBjorn Andersson	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
72244acee20SBjorn Andersson	qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
72344acee20SBjorn Andersson	qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
72444acee20SBjorn Andersson};
72544acee20SBjorn Andersson
72644acee20SBjorn Andersson&usb_1_qmpphy {
72744acee20SBjorn Andersson	status = "okay";
72844acee20SBjorn Andersson
72944acee20SBjorn Andersson	vdda-phy-supply = <&vdda_usb1_ss_1p2>;
73044acee20SBjorn Andersson	vdda-pll-supply = <&vdda_usb1_ss_core>;
73144acee20SBjorn Andersson};
73244acee20SBjorn Andersson
73344acee20SBjorn Andersson&usb_2 {
73444acee20SBjorn Andersson	status = "okay";
73544acee20SBjorn Andersson};
73644acee20SBjorn Andersson
73744acee20SBjorn Andersson&usb_2_dwc3 {
73844acee20SBjorn Andersson	dr_mode = "host";
73944acee20SBjorn Andersson};
74044acee20SBjorn Andersson
74144acee20SBjorn Andersson&usb_2_hsphy {
74244acee20SBjorn Andersson	status = "okay";
74344acee20SBjorn Andersson
74444acee20SBjorn Andersson	vdd-supply = <&vdda_usb2_ss_core>;
74544acee20SBjorn Andersson	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
74644acee20SBjorn Andersson	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
74744acee20SBjorn Andersson
74844acee20SBjorn Andersson	qcom,imp-res-offset-value = <8>;
74944acee20SBjorn Andersson	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
75044acee20SBjorn Andersson};
75144acee20SBjorn Andersson
75244acee20SBjorn Andersson&usb_2_qmpphy {
75344acee20SBjorn Andersson	status = "okay";
75444acee20SBjorn Andersson
75544acee20SBjorn Andersson	vdda-phy-supply = <&vdda_usb2_ss_1p2>;
75644acee20SBjorn Andersson	vdda-pll-supply = <&vdda_usb2_ss_core>;
75744acee20SBjorn Andersson};
75845021d35SSrinivas Kandagatla
7597f761609SKonrad Dybcio&venus {
7607f761609SKonrad Dybcio	status = "okay";
7617f761609SKonrad Dybcio};
7627f761609SKonrad Dybcio
76345021d35SSrinivas Kandagatla&wcd9340{
76445021d35SSrinivas Kandagatla	pinctrl-0 = <&wcd_intr_default>;
76545021d35SSrinivas Kandagatla	pinctrl-names = "default";
76645021d35SSrinivas Kandagatla	clock-names = "extclk";
76745021d35SSrinivas Kandagatla	clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
76845021d35SSrinivas Kandagatla	reset-gpios = <&tlmm 64 0>;
76945021d35SSrinivas Kandagatla	vdd-buck-supply = <&vreg_s4a_1p8>;
77045021d35SSrinivas Kandagatla	vdd-buck-sido-supply = <&vreg_s4a_1p8>;
77145021d35SSrinivas Kandagatla	vdd-tx-supply = <&vreg_s4a_1p8>;
77245021d35SSrinivas Kandagatla	vdd-rx-supply = <&vreg_s4a_1p8>;
77345021d35SSrinivas Kandagatla	vdd-io-supply = <&vreg_s4a_1p8>;
774*ef10e1b8SSrinivas Kandagatla	qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
775*ef10e1b8SSrinivas Kandagatla	qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
776*ef10e1b8SSrinivas Kandagatla	qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
77745021d35SSrinivas Kandagatla
77845021d35SSrinivas Kandagatla	swm: swm@c85 {
77945021d35SSrinivas Kandagatla		left_spkr: wsa8810-left{
78045021d35SSrinivas Kandagatla			compatible = "sdw10217211000";
78145021d35SSrinivas Kandagatla			reg = <0 3>;
7829a253bb4SSrinivas Kandagatla			powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
78345021d35SSrinivas Kandagatla			#thermal-sensor-cells = <0>;
78445021d35SSrinivas Kandagatla			sound-name-prefix = "SpkrLeft";
78545021d35SSrinivas Kandagatla			#sound-dai-cells = <0>;
78645021d35SSrinivas Kandagatla		};
78745021d35SSrinivas Kandagatla
78845021d35SSrinivas Kandagatla		right_spkr: wsa8810-right{
78945021d35SSrinivas Kandagatla			compatible = "sdw10217211000";
7909a253bb4SSrinivas Kandagatla			powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>;
79145021d35SSrinivas Kandagatla			reg = <0 4>;
79245021d35SSrinivas Kandagatla			#thermal-sensor-cells = <0>;
79345021d35SSrinivas Kandagatla			sound-name-prefix = "SpkrRight";
79445021d35SSrinivas Kandagatla			#sound-dai-cells = <0>;
79545021d35SSrinivas Kandagatla		};
79645021d35SSrinivas Kandagatla	};
79745021d35SSrinivas Kandagatla};
7983fb298d0SBjorn Andersson
7993fb298d0SBjorn Andersson&wifi {
8003fb298d0SBjorn Andersson	status = "okay";
8013fb298d0SBjorn Andersson
8023fb298d0SBjorn Andersson	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
8033fb298d0SBjorn Andersson	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
8043fb298d0SBjorn Andersson	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
8053fb298d0SBjorn Andersson	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
806b464f08cSSteev Klimaszewski	vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
8073fb298d0SBjorn Andersson
8083fb298d0SBjorn Andersson	qcom,snoc-host-cap-8bit-quirk;
8093fb298d0SBjorn Andersson};
810