xref: /linux/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts (revision b08f5cbd69dcd25f5ab2a0798fe3836a97a9d7c6)
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
44*b08f5cbdSKrzysztof Kozlowski		switch-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
52*b08f5cbdSKrzysztof Kozlowski		switch-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
594420a0deSAmit Pundir	/* Reserved memory changes for IPA */
604420a0deSAmit Pundir	reserved-memory {
614420a0deSAmit Pundir		wlan_msa_mem: memory@8c400000 {
624420a0deSAmit Pundir			reg = <0 0x8c400000 0 0x100000>;
634420a0deSAmit Pundir			no-map;
644420a0deSAmit Pundir		};
654420a0deSAmit Pundir
664420a0deSAmit Pundir		gpu_mem: memory@8c515000 {
674420a0deSAmit Pundir			reg = <0 0x8c515000 0 0x2000>;
684420a0deSAmit Pundir			no-map;
694420a0deSAmit Pundir		};
704420a0deSAmit Pundir
714420a0deSAmit Pundir		ipa_fw_mem: memory@8c517000 {
724420a0deSAmit Pundir			reg = <0 0x8c517000 0 0x5a000>;
734420a0deSAmit Pundir			no-map;
744420a0deSAmit Pundir		};
754420a0deSAmit Pundir
764420a0deSAmit Pundir		adsp_mem: memory@8c600000 {
774420a0deSAmit Pundir			reg = <0 0x8c600000 0 0x1a00000>;
784420a0deSAmit Pundir			no-map;
794420a0deSAmit Pundir		};
804420a0deSAmit Pundir	};
814420a0deSAmit Pundir
82956e9c85SBjorn Andersson	sn65dsi86_refclk: sn65dsi86-refclk {
83956e9c85SBjorn Andersson		compatible = "fixed-clock";
84956e9c85SBjorn Andersson		#clock-cells = <0>;
85956e9c85SBjorn Andersson
86956e9c85SBjorn Andersson		clock-frequency = <19200000>;
87956e9c85SBjorn Andersson	};
88a28106a2SBjorn Andersson
89a28106a2SBjorn Andersson	backlight: backlight {
90a28106a2SBjorn Andersson		compatible = "pwm-backlight";
91a28106a2SBjorn Andersson		pwms = <&sn65dsi86 1000000>;
92a28106a2SBjorn Andersson		enable-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
93a28106a2SBjorn Andersson	};
9444acee20SBjorn Andersson};
9544acee20SBjorn Andersson
963cd82e95SBjorn Andersson&adsp_pas {
973cd82e95SBjorn Andersson	firmware-name = "qcom/LENOVO/81JL/qcadsp850.mbn";
983cd82e95SBjorn Andersson	status = "okay";
993cd82e95SBjorn Andersson};
1003cd82e95SBjorn Andersson
10144acee20SBjorn Andersson&apps_rsc {
10244acee20SBjorn Andersson	pm8998-rpmh-regulators {
10344acee20SBjorn Andersson		compatible = "qcom,pm8998-rpmh-regulators";
10444acee20SBjorn Andersson		qcom,pmic-id = "a";
10544acee20SBjorn Andersson
10644acee20SBjorn Andersson		vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
10744acee20SBjorn Andersson		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
10844acee20SBjorn Andersson
10944acee20SBjorn Andersson		vreg_s2a_1p125: smps2 {
11044acee20SBjorn Andersson		};
11144acee20SBjorn Andersson
11244acee20SBjorn Andersson		vreg_s3a_1p35: smps3 {
11344acee20SBjorn Andersson			regulator-min-microvolt = <1352000>;
11444acee20SBjorn Andersson			regulator-max-microvolt = <1352000>;
11544acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
11644acee20SBjorn Andersson		};
11744acee20SBjorn Andersson
11844acee20SBjorn Andersson		vreg_s4a_1p8: smps4 {
11944acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
12044acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
12144acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
12244acee20SBjorn Andersson		};
12344acee20SBjorn Andersson
12444acee20SBjorn Andersson		vreg_s5a_2p04: smps5 {
12544acee20SBjorn Andersson			regulator-min-microvolt = <2040000>;
12644acee20SBjorn Andersson			regulator-max-microvolt = <2040000>;
12744acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
12844acee20SBjorn Andersson		};
12944acee20SBjorn Andersson
13044acee20SBjorn Andersson		vreg_s7a_1p025: smps7 {
13144acee20SBjorn Andersson		};
13244acee20SBjorn Andersson
13344acee20SBjorn Andersson		vdd_qusb_hs0:
13444acee20SBjorn Andersson		vdda_hp_pcie_core:
13544acee20SBjorn Andersson		vdda_mipi_csi0_0p9:
13644acee20SBjorn Andersson		vdda_mipi_csi1_0p9:
13744acee20SBjorn Andersson		vdda_mipi_csi2_0p9:
13844acee20SBjorn Andersson		vdda_mipi_dsi0_pll:
13944acee20SBjorn Andersson		vdda_mipi_dsi1_pll:
14044acee20SBjorn Andersson		vdda_qlink_lv:
14144acee20SBjorn Andersson		vdda_qlink_lv_ck:
14244acee20SBjorn Andersson		vdda_qrefs_0p875:
14344acee20SBjorn Andersson		vdda_pcie_core:
14444acee20SBjorn Andersson		vdda_pll_cc_ebi01:
14544acee20SBjorn Andersson		vdda_pll_cc_ebi23:
14644acee20SBjorn Andersson		vdda_sp_sensor:
14744acee20SBjorn Andersson		vdda_ufs1_core:
14844acee20SBjorn Andersson		vdda_ufs2_core:
14944acee20SBjorn Andersson		vdda_usb1_ss_core:
15044acee20SBjorn Andersson		vdda_usb2_ss_core:
15144acee20SBjorn Andersson		vreg_l1a_0p875: ldo1 {
15244acee20SBjorn Andersson			regulator-min-microvolt = <880000>;
15344acee20SBjorn Andersson			regulator-max-microvolt = <880000>;
15444acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
15544acee20SBjorn Andersson		};
15644acee20SBjorn Andersson
15744acee20SBjorn Andersson		vddpx_10:
15844acee20SBjorn Andersson		vreg_l2a_1p2: ldo2 {
15944acee20SBjorn Andersson			regulator-min-microvolt = <1200000>;
16044acee20SBjorn Andersson			regulator-max-microvolt = <1200000>;
16144acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
16244acee20SBjorn Andersson			regulator-always-on;
16344acee20SBjorn Andersson		};
16444acee20SBjorn Andersson
16544acee20SBjorn Andersson		vreg_l3a_1p0: ldo3 {
16644acee20SBjorn Andersson		};
16744acee20SBjorn Andersson
16844acee20SBjorn Andersson		vdd_wcss_cx:
16944acee20SBjorn Andersson		vdd_wcss_mx:
17044acee20SBjorn Andersson		vdda_wcss_pll:
17144acee20SBjorn Andersson		vreg_l5a_0p8: ldo5 {
17244acee20SBjorn Andersson			regulator-min-microvolt = <800000>;
17344acee20SBjorn Andersson			regulator-max-microvolt = <800000>;
17444acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
17544acee20SBjorn Andersson		};
17644acee20SBjorn Andersson
17744acee20SBjorn Andersson		vddpx_13:
17844acee20SBjorn Andersson		vreg_l6a_1p8: ldo6 {
17944acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
18044acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
18144acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
18244acee20SBjorn Andersson		};
18344acee20SBjorn Andersson
18444acee20SBjorn Andersson		vreg_l7a_1p8: ldo7 {
18544acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
18644acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
18744acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
18844acee20SBjorn Andersson		};
18944acee20SBjorn Andersson
19044acee20SBjorn Andersson		vreg_l8a_1p2: ldo8 {
19144acee20SBjorn Andersson		};
19244acee20SBjorn Andersson
19344acee20SBjorn Andersson		vreg_l9a_1p8: ldo9 {
19444acee20SBjorn Andersson		};
19544acee20SBjorn Andersson
19644acee20SBjorn Andersson		vreg_l10a_1p8: ldo10 {
19744acee20SBjorn Andersson		};
19844acee20SBjorn Andersson
19944acee20SBjorn Andersson		vreg_l11a_1p0: ldo11 {
20044acee20SBjorn Andersson		};
20144acee20SBjorn Andersson
20244acee20SBjorn Andersson		vdd_qfprom:
20344acee20SBjorn Andersson		vdd_qfprom_sp:
20444acee20SBjorn Andersson		vdda_apc1_cs_1p8:
20544acee20SBjorn Andersson		vdda_gfx_cs_1p8:
20644acee20SBjorn Andersson		vdda_qrefs_1p8:
20744acee20SBjorn Andersson		vdda_qusb_hs0_1p8:
20844acee20SBjorn Andersson		vddpx_11:
20944acee20SBjorn Andersson		vreg_l12a_1p8: ldo12 {
21044acee20SBjorn Andersson			regulator-min-microvolt = <1800000>;
21144acee20SBjorn Andersson			regulator-max-microvolt = <1800000>;
21244acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
21344acee20SBjorn Andersson		};
21444acee20SBjorn Andersson
21544acee20SBjorn Andersson		vddpx_2:
21644acee20SBjorn Andersson		vreg_l13a_2p95: ldo13 {
21744acee20SBjorn Andersson		};
21844acee20SBjorn Andersson
21944acee20SBjorn Andersson		vreg_l14a_1p88: ldo14 {
22044acee20SBjorn Andersson			regulator-min-microvolt = <1880000>;
22144acee20SBjorn Andersson			regulator-max-microvolt = <1880000>;
22244acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
22344acee20SBjorn Andersson			regulator-always-on;
22444acee20SBjorn Andersson		};
22544acee20SBjorn Andersson
22644acee20SBjorn Andersson		vreg_l15a_1p8: ldo15 {
22744acee20SBjorn Andersson		};
22844acee20SBjorn Andersson
22944acee20SBjorn Andersson		vreg_l16a_2p7: ldo16 {
23044acee20SBjorn Andersson		};
23144acee20SBjorn Andersson
23244acee20SBjorn Andersson		vreg_l17a_1p3: ldo17 {
23344acee20SBjorn Andersson			regulator-min-microvolt = <1304000>;
23444acee20SBjorn Andersson			regulator-max-microvolt = <1304000>;
23544acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
23644acee20SBjorn Andersson		};
23744acee20SBjorn Andersson
23844acee20SBjorn Andersson		vreg_l18a_2p7: ldo18 {
23944acee20SBjorn Andersson		};
24044acee20SBjorn Andersson
24144acee20SBjorn Andersson		vreg_l19a_3p0: ldo19 {
24244acee20SBjorn Andersson			regulator-min-microvolt = <3100000>;
24344acee20SBjorn Andersson			regulator-max-microvolt = <3108000>;
24444acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
24544acee20SBjorn Andersson		};
24644acee20SBjorn Andersson
24744acee20SBjorn Andersson		vreg_l20a_2p95: ldo20 {
24844acee20SBjorn Andersson			regulator-min-microvolt = <2960000>;
24944acee20SBjorn Andersson			regulator-max-microvolt = <2960000>;
25044acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
25144acee20SBjorn Andersson		};
25244acee20SBjorn Andersson
25344acee20SBjorn Andersson		vreg_l21a_2p95: ldo21 {
25444acee20SBjorn Andersson		};
25544acee20SBjorn Andersson
25644acee20SBjorn Andersson		vreg_l22a_2p85: ldo22 {
25744acee20SBjorn Andersson		};
25844acee20SBjorn Andersson
25944acee20SBjorn Andersson		vreg_l23a_3p3: ldo23 {
260b464f08cSSteev Klimaszewski			regulator-min-microvolt = <3300000>;
261b464f08cSSteev Klimaszewski			regulator-max-microvolt = <3312000>;
262b464f08cSSteev Klimaszewski			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
26344acee20SBjorn Andersson		};
26444acee20SBjorn Andersson
26544acee20SBjorn Andersson		vdda_qusb_hs0_3p1:
26644acee20SBjorn Andersson		vreg_l24a_3p075: ldo24 {
26744acee20SBjorn Andersson			regulator-min-microvolt = <3075000>;
26844acee20SBjorn Andersson			regulator-max-microvolt = <3083000>;
26944acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
27044acee20SBjorn Andersson		};
27144acee20SBjorn Andersson
27244acee20SBjorn Andersson		vreg_l25a_3p3: ldo25 {
27344acee20SBjorn Andersson			regulator-min-microvolt = <3104000>;
27444acee20SBjorn Andersson			regulator-max-microvolt = <3112000>;
27544acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
27644acee20SBjorn Andersson		};
27744acee20SBjorn Andersson
27844acee20SBjorn Andersson		vdda_hp_pcie_1p2:
27944acee20SBjorn Andersson		vdda_hv_ebi0:
28044acee20SBjorn Andersson		vdda_hv_ebi1:
28144acee20SBjorn Andersson		vdda_hv_ebi2:
28244acee20SBjorn Andersson		vdda_hv_ebi3:
28344acee20SBjorn Andersson		vdda_mipi_csi_1p25:
28444acee20SBjorn Andersson		vdda_mipi_dsi0_1p2:
28544acee20SBjorn Andersson		vdda_mipi_dsi1_1p2:
28644acee20SBjorn Andersson		vdda_pcie_1p2:
28744acee20SBjorn Andersson		vdda_ufs1_1p2:
28844acee20SBjorn Andersson		vdda_ufs2_1p2:
28944acee20SBjorn Andersson		vdda_usb1_ss_1p2:
29044acee20SBjorn Andersson		vdda_usb2_ss_1p2:
29144acee20SBjorn Andersson		vreg_l26a_1p2: ldo26 {
29244acee20SBjorn Andersson			regulator-min-microvolt = <1200000>;
29344acee20SBjorn Andersson			regulator-max-microvolt = <1208000>;
29444acee20SBjorn Andersson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
29544acee20SBjorn Andersson		};
29644acee20SBjorn Andersson
29744acee20SBjorn Andersson		vreg_l28a_3p0: ldo28 {
29844acee20SBjorn Andersson		};
29944acee20SBjorn Andersson
30044acee20SBjorn Andersson		vreg_lvs1a_1p8: lvs1 {
30144acee20SBjorn Andersson		};
30244acee20SBjorn Andersson
30344acee20SBjorn Andersson		vreg_lvs2a_1p8: lvs2 {
30444acee20SBjorn Andersson		};
30544acee20SBjorn Andersson	};
30644acee20SBjorn Andersson};
30744acee20SBjorn Andersson
3083cd82e95SBjorn Andersson&cdsp_pas {
3093cd82e95SBjorn Andersson	firmware-name = "qcom/LENOVO/81JL/qccdsp850.mbn";
3103cd82e95SBjorn Andersson	status = "okay";
3113cd82e95SBjorn Andersson};
3123cd82e95SBjorn Andersson
313956e9c85SBjorn Andersson&dsi0 {
314956e9c85SBjorn Andersson	status = "okay";
315956e9c85SBjorn Andersson	vdda-supply = <&vreg_l26a_1p2>;
316956e9c85SBjorn Andersson
317956e9c85SBjorn Andersson	ports {
318956e9c85SBjorn Andersson		port@1 {
319956e9c85SBjorn Andersson			endpoint {
320956e9c85SBjorn Andersson				remote-endpoint = <&sn65dsi86_in_a>;
321956e9c85SBjorn Andersson				data-lanes = <0 1 2 3>;
322956e9c85SBjorn Andersson			};
323956e9c85SBjorn Andersson		};
324956e9c85SBjorn Andersson	};
325956e9c85SBjorn Andersson};
326956e9c85SBjorn Andersson
327956e9c85SBjorn Andersson&dsi0_phy {
328956e9c85SBjorn Andersson	status = "okay";
329956e9c85SBjorn Andersson	vdds-supply = <&vreg_l1a_0p875>;
330956e9c85SBjorn Andersson};
331956e9c85SBjorn Andersson
33244acee20SBjorn Andersson&gcc {
33344acee20SBjorn Andersson	protected-clocks = <GCC_QSPI_CORE_CLK>,
33444acee20SBjorn Andersson			   <GCC_QSPI_CORE_CLK_SRC>,
33593f2a115SBjorn Andersson			   <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
33693f2a115SBjorn Andersson			   <GCC_LPASS_Q6_AXI_CLK>,
33793f2a115SBjorn Andersson			   <GCC_LPASS_SWAY_CLK>;
33844acee20SBjorn Andersson};
33944acee20SBjorn Andersson
3407f761609SKonrad Dybcio&gmu {
3417f761609SKonrad Dybcio	status = "okay";
3427f761609SKonrad Dybcio};
3437f761609SKonrad Dybcio
344f489b13dSRob Clark&gpu {
3457f761609SKonrad Dybcio	status = "okay";
346f489b13dSRob Clark	zap-shader {
347f489b13dSRob Clark		memory-region = <&gpu_mem>;
348f489b13dSRob Clark		firmware-name = "qcom/LENOVO/81JL/qcdxkmsuc850.mbn";
349f489b13dSRob Clark	};
350f489b13dSRob Clark};
351f489b13dSRob Clark
35244acee20SBjorn Andersson&i2c1 {
35344acee20SBjorn Andersson	status = "okay";
35444acee20SBjorn Andersson	clock-frequency = <400000>;
35544acee20SBjorn Andersson};
35644acee20SBjorn Andersson
35744acee20SBjorn Andersson&i2c3 {
35844acee20SBjorn Andersson	status = "okay";
35944acee20SBjorn Andersson	clock-frequency = <400000>;
360a9164910SShawn Guo	/* Overwrite pinctrl-0 from sdm845.dtsi */
361a9164910SShawn Guo	pinctrl-0 = <&qup_i2c3_default &i2c3_hid_active>;
36244acee20SBjorn Andersson
36311d0e4f2SBjorn Andersson	tsel: hid@15 {
36444acee20SBjorn Andersson		compatible = "hid-over-i2c";
36544acee20SBjorn Andersson		reg = <0x15>;
36644acee20SBjorn Andersson		hid-descr-addr = <0x1>;
36744acee20SBjorn Andersson
36811d0e4f2SBjorn Andersson		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
36944acee20SBjorn Andersson	};
37044acee20SBjorn Andersson
37111d0e4f2SBjorn Andersson	tsc2: hid@2c {
37244acee20SBjorn Andersson		compatible = "hid-over-i2c";
37344acee20SBjorn Andersson		reg = <0x2c>;
37444acee20SBjorn Andersson		hid-descr-addr = <0x20>;
37544acee20SBjorn Andersson
37611d0e4f2SBjorn Andersson		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
37744acee20SBjorn Andersson	};
37844acee20SBjorn Andersson};
37944acee20SBjorn Andersson
38044acee20SBjorn Andersson&i2c5 {
38144acee20SBjorn Andersson	status = "okay";
38244acee20SBjorn Andersson	clock-frequency = <400000>;
38344acee20SBjorn Andersson
38411d0e4f2SBjorn Andersson	tsc1: hid@10 {
38544acee20SBjorn Andersson		compatible = "hid-over-i2c";
38644acee20SBjorn Andersson		reg = <0x10>;
38744acee20SBjorn Andersson		hid-descr-addr = <0x1>;
38844acee20SBjorn Andersson
38911d0e4f2SBjorn Andersson		interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>;
39044acee20SBjorn Andersson
39144acee20SBjorn Andersson		pinctrl-names = "default";
39211d0e4f2SBjorn Andersson		pinctrl-0 = <&i2c5_hid_active>;
39344acee20SBjorn Andersson	};
39444acee20SBjorn Andersson};
39544acee20SBjorn Andersson
396956e9c85SBjorn Andersson&i2c10 {
397956e9c85SBjorn Andersson	status = "okay";
398956e9c85SBjorn Andersson	clock-frequency = <400000>;
399956e9c85SBjorn Andersson
400956e9c85SBjorn Andersson	sn65dsi86: bridge@2c {
401956e9c85SBjorn Andersson		compatible = "ti,sn65dsi86";
402956e9c85SBjorn Andersson		reg = <0x2c>;
403956e9c85SBjorn Andersson		pinctrl-names = "default";
404956e9c85SBjorn Andersson		pinctrl-0 = <&sn65dsi86_pin_active>;
405956e9c85SBjorn Andersson
406956e9c85SBjorn Andersson		enable-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
407956e9c85SBjorn Andersson
408956e9c85SBjorn Andersson		vpll-supply = <&vreg_l14a_1p88>;
409956e9c85SBjorn Andersson		vccio-supply = <&vreg_l14a_1p88>;
410956e9c85SBjorn Andersson
411956e9c85SBjorn Andersson		clocks = <&sn65dsi86_refclk>;
412956e9c85SBjorn Andersson		clock-names = "refclk";
413956e9c85SBjorn Andersson
414c0dcfe6aSStephen Boyd		no-hpd;
415a28106a2SBjorn Andersson		#pwm-cells = <1>;
416c0dcfe6aSStephen Boyd
417956e9c85SBjorn Andersson		ports {
418956e9c85SBjorn Andersson			#address-cells = <1>;
419956e9c85SBjorn Andersson			#size-cells = <0>;
420956e9c85SBjorn Andersson
421956e9c85SBjorn Andersson			port@0 {
422956e9c85SBjorn Andersson				reg = <0>;
423956e9c85SBjorn Andersson				sn65dsi86_in_a: endpoint {
424956e9c85SBjorn Andersson					remote-endpoint = <&dsi0_out>;
425956e9c85SBjorn Andersson				};
426956e9c85SBjorn Andersson			};
427956e9c85SBjorn Andersson
428956e9c85SBjorn Andersson			port@1 {
429956e9c85SBjorn Andersson				reg = <1>;
430956e9c85SBjorn Andersson				sn65dsi86_out: endpoint {
431956e9c85SBjorn Andersson					remote-endpoint = <&panel_in_edp>;
432956e9c85SBjorn Andersson				};
433956e9c85SBjorn Andersson			};
434956e9c85SBjorn Andersson		};
435ff899133SBjorn Andersson
436ff899133SBjorn Andersson		aux-bus {
437ff899133SBjorn Andersson			panel: panel {
438ff899133SBjorn Andersson				compatible = "boe,nv133fhm-n61";
439ff899133SBjorn Andersson				backlight = <&backlight>;
440ff899133SBjorn Andersson
441ff899133SBjorn Andersson				port {
442ff899133SBjorn Andersson					panel_in_edp: endpoint {
443ff899133SBjorn Andersson						remote-endpoint = <&sn65dsi86_out>;
444ff899133SBjorn Andersson					};
445ff899133SBjorn Andersson				};
446ff899133SBjorn Andersson			};
447ff899133SBjorn Andersson		};
448956e9c85SBjorn Andersson	};
449956e9c85SBjorn Andersson};
450956e9c85SBjorn Andersson
45144acee20SBjorn Andersson&i2c11 {
45244acee20SBjorn Andersson	status = "okay";
45344acee20SBjorn Andersson	clock-frequency = <400000>;
45444acee20SBjorn Andersson
45511d0e4f2SBjorn Andersson	ecsh: hid@5c {
45644acee20SBjorn Andersson		compatible = "hid-over-i2c";
45744acee20SBjorn Andersson		reg = <0x5c>;
45844acee20SBjorn Andersson		hid-descr-addr = <0x1>;
45944acee20SBjorn Andersson
46044acee20SBjorn Andersson		interrupts-extended = <&tlmm 92 IRQ_TYPE_LEVEL_LOW>;
46144acee20SBjorn Andersson
46244acee20SBjorn Andersson		pinctrl-names = "default";
46311d0e4f2SBjorn Andersson		pinctrl-0 = <&i2c11_hid_active>;
46444acee20SBjorn Andersson	};
46544acee20SBjorn Andersson};
46644acee20SBjorn Andersson
4672e01e0c2SBjorn Andersson&ipa {
4682e01e0c2SBjorn Andersson	status = "okay";
4692e01e0c2SBjorn Andersson	memory-region = <&ipa_fw_mem>;
4702e01e0c2SBjorn Andersson};
4712e01e0c2SBjorn Andersson
472956e9c85SBjorn Andersson&mdss {
473956e9c85SBjorn Andersson	status = "okay";
474956e9c85SBjorn Andersson};
475956e9c85SBjorn Andersson
4763cd82e95SBjorn Andersson&mss_pil {
4777f761609SKonrad Dybcio	status = "okay";
4783cd82e95SBjorn Andersson	firmware-name = "qcom/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/LENOVO/81JL/qcdsp2850.mbn";
4793cd82e95SBjorn Andersson};
4803cd82e95SBjorn Andersson
481956e9c85SBjorn Andersson&qup_i2c10_default {
482956e9c85SBjorn Andersson	pinconf {
483956e9c85SBjorn Andersson		pins = "gpio55", "gpio56";
484956e9c85SBjorn Andersson		drive-strength = <2>;
485956e9c85SBjorn Andersson		bias-disable;
486956e9c85SBjorn Andersson	};
487956e9c85SBjorn Andersson};
488956e9c85SBjorn Andersson
48944acee20SBjorn Andersson&qup_i2c12_default {
49044acee20SBjorn Andersson	drive-strength = <2>;
49144acee20SBjorn Andersson	bias-disable;
49244acee20SBjorn Andersson};
49344acee20SBjorn Andersson
49444acee20SBjorn Andersson&qup_uart6_default {
49544acee20SBjorn Andersson	pinmux {
49644acee20SBjorn Andersson		 pins = "gpio45", "gpio46", "gpio47", "gpio48";
49744acee20SBjorn Andersson		 function = "qup6";
49844acee20SBjorn Andersson	};
49944acee20SBjorn Andersson
50044acee20SBjorn Andersson	cts {
50144acee20SBjorn Andersson		pins = "gpio45";
50244acee20SBjorn Andersson		bias-pull-down;
50344acee20SBjorn Andersson	};
50444acee20SBjorn Andersson
50544acee20SBjorn Andersson	rts-tx {
50644acee20SBjorn Andersson		pins = "gpio46", "gpio47";
50744acee20SBjorn Andersson		drive-strength = <2>;
50844acee20SBjorn Andersson		bias-disable;
50944acee20SBjorn Andersson	};
51044acee20SBjorn Andersson
51144acee20SBjorn Andersson	rx {
51244acee20SBjorn Andersson		pins = "gpio48";
51344acee20SBjorn Andersson		bias-pull-up;
51444acee20SBjorn Andersson	};
51544acee20SBjorn Andersson};
51644acee20SBjorn Andersson
51744acee20SBjorn Andersson&qupv3_id_0 {
51844acee20SBjorn Andersson	status = "okay";
51944acee20SBjorn Andersson};
52044acee20SBjorn Andersson
52144acee20SBjorn Andersson&qupv3_id_1 {
52244acee20SBjorn Andersson	status = "okay";
52344acee20SBjorn Andersson};
52444acee20SBjorn Andersson
52545021d35SSrinivas Kandagatla&q6asmdai {
52645021d35SSrinivas Kandagatla	dai@0 {
52745021d35SSrinivas Kandagatla		reg = <0>;
52845021d35SSrinivas Kandagatla	};
52945021d35SSrinivas Kandagatla
53045021d35SSrinivas Kandagatla	dai@1 {
53145021d35SSrinivas Kandagatla		reg = <1>;
53245021d35SSrinivas Kandagatla	};
533c02b360cSSrinivas Kandagatla
534c02b360cSSrinivas Kandagatla	dai@2 {
535c02b360cSSrinivas Kandagatla		reg = <2>;
536c02b360cSSrinivas Kandagatla	};
53745021d35SSrinivas Kandagatla};
53845021d35SSrinivas Kandagatla
53945021d35SSrinivas Kandagatla&sound {
54045021d35SSrinivas Kandagatla	compatible = "qcom,db845c-sndcard";
54145021d35SSrinivas Kandagatla	model = "Lenovo-YOGA-C630-13Q50";
54245021d35SSrinivas Kandagatla
54345021d35SSrinivas Kandagatla	audio-routing =
54445021d35SSrinivas Kandagatla		"RX_BIAS", "MCLK",
54545021d35SSrinivas Kandagatla		"AMIC2", "MIC BIAS2",
54645021d35SSrinivas Kandagatla		"SpkrLeft IN", "SPK1 OUT",
54745021d35SSrinivas Kandagatla		"SpkrRight IN", "SPK2 OUT",
54845021d35SSrinivas Kandagatla		"MM_DL1",  "MultiMedia1 Playback",
549c02b360cSSrinivas Kandagatla		"MM_DL3",  "MultiMedia3 Playback",
55045021d35SSrinivas Kandagatla		"MultiMedia2 Capture", "MM_UL2";
55145021d35SSrinivas Kandagatla
55245021d35SSrinivas Kandagatla	mm1-dai-link {
55345021d35SSrinivas Kandagatla		link-name = "MultiMedia1";
55445021d35SSrinivas Kandagatla		cpu {
55545021d35SSrinivas Kandagatla			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA1>;
55645021d35SSrinivas Kandagatla		};
55745021d35SSrinivas Kandagatla	};
55845021d35SSrinivas Kandagatla
55945021d35SSrinivas Kandagatla	mm2-dai-link {
56045021d35SSrinivas Kandagatla		link-name = "MultiMedia2";
56145021d35SSrinivas Kandagatla		cpu {
56245021d35SSrinivas Kandagatla			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA2>;
56345021d35SSrinivas Kandagatla		};
56445021d35SSrinivas Kandagatla	};
56545021d35SSrinivas Kandagatla
566c02b360cSSrinivas Kandagatla	mm3-dai-link {
567c02b360cSSrinivas Kandagatla		link-name = "MultiMedia3";
568c02b360cSSrinivas Kandagatla		cpu {
569c02b360cSSrinivas Kandagatla			sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA3>;
570c02b360cSSrinivas Kandagatla		};
571c02b360cSSrinivas Kandagatla	};
572c02b360cSSrinivas Kandagatla
57345021d35SSrinivas Kandagatla	slim-dai-link {
57445021d35SSrinivas Kandagatla		link-name = "SLIM Playback";
57545021d35SSrinivas Kandagatla		cpu {
57645021d35SSrinivas Kandagatla			sound-dai = <&q6afedai SLIMBUS_0_RX>;
57745021d35SSrinivas Kandagatla		};
57845021d35SSrinivas Kandagatla
57945021d35SSrinivas Kandagatla		platform {
58045021d35SSrinivas Kandagatla			sound-dai = <&q6routing>;
58145021d35SSrinivas Kandagatla		};
58245021d35SSrinivas Kandagatla
58345021d35SSrinivas Kandagatla		codec {
58445021d35SSrinivas Kandagatla			sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
58545021d35SSrinivas Kandagatla		};
58645021d35SSrinivas Kandagatla	};
58745021d35SSrinivas Kandagatla
58845021d35SSrinivas Kandagatla	slimcap-dai-link {
58945021d35SSrinivas Kandagatla		link-name = "SLIM Capture";
59045021d35SSrinivas Kandagatla		cpu {
59145021d35SSrinivas Kandagatla			sound-dai = <&q6afedai SLIMBUS_0_TX>;
59245021d35SSrinivas Kandagatla		};
59345021d35SSrinivas Kandagatla
59445021d35SSrinivas Kandagatla		platform {
59545021d35SSrinivas Kandagatla			sound-dai = <&q6routing>;
59645021d35SSrinivas Kandagatla		};
59745021d35SSrinivas Kandagatla
59845021d35SSrinivas Kandagatla		codec {
59945021d35SSrinivas Kandagatla			sound-dai = <&wcd9340 1>;
60045021d35SSrinivas Kandagatla		};
60145021d35SSrinivas Kandagatla	};
602c02b360cSSrinivas Kandagatla
603c02b360cSSrinivas Kandagatla	slim-wcd-dai-link {
604c02b360cSSrinivas Kandagatla		link-name = "SLIM WCD Playback";
605c02b360cSSrinivas Kandagatla		cpu {
606c02b360cSSrinivas Kandagatla			sound-dai = <&q6afedai SLIMBUS_1_RX>;
607c02b360cSSrinivas Kandagatla		};
608c02b360cSSrinivas Kandagatla
609c02b360cSSrinivas Kandagatla		platform {
610c02b360cSSrinivas Kandagatla			sound-dai = <&q6routing>;
611c02b360cSSrinivas Kandagatla		};
612c02b360cSSrinivas Kandagatla
613c02b360cSSrinivas Kandagatla		codec {
614c02b360cSSrinivas Kandagatla			sound-dai = <&wcd9340 2>;
615c02b360cSSrinivas Kandagatla		};
616c02b360cSSrinivas Kandagatla	};
61745021d35SSrinivas Kandagatla};
61845021d35SSrinivas Kandagatla
61944acee20SBjorn Andersson&tlmm {
62044acee20SBjorn Andersson	gpio-reserved-ranges = <0 4>, <81 4>;
62144acee20SBjorn Andersson
622956e9c85SBjorn Andersson	sn65dsi86_pin_active: sn65dsi86-enable {
623956e9c85SBjorn Andersson		pins = "gpio96";
624956e9c85SBjorn Andersson		drive-strength = <2>;
625956e9c85SBjorn Andersson		bias-disable;
626956e9c85SBjorn Andersson	};
627956e9c85SBjorn Andersson
62811d0e4f2SBjorn Andersson	i2c3_hid_active: i2c2-hid-active {
629f55d373fSBjorn Andersson		pins = "gpio37";
63044acee20SBjorn Andersson		function = "gpio";
63144acee20SBjorn Andersson
63244acee20SBjorn Andersson		input-enable;
63344acee20SBjorn Andersson		bias-pull-up;
63444acee20SBjorn Andersson		drive-strength = <2>;
63544acee20SBjorn Andersson	};
63644acee20SBjorn Andersson
63711d0e4f2SBjorn Andersson	i2c5_hid_active: i2c5-hid-active {
638f55d373fSBjorn Andersson		pins = "gpio125";
63944acee20SBjorn Andersson		function = "gpio";
64044acee20SBjorn Andersson
64144acee20SBjorn Andersson		input-enable;
64244acee20SBjorn Andersson		bias-pull-up;
64344acee20SBjorn Andersson		drive-strength = <2>;
64444acee20SBjorn Andersson	};
64544acee20SBjorn Andersson
64611d0e4f2SBjorn Andersson	i2c11_hid_active: i2c11-hid-active {
647f55d373fSBjorn Andersson		pins = "gpio92";
64844acee20SBjorn Andersson		function = "gpio";
64944acee20SBjorn Andersson
65044acee20SBjorn Andersson		input-enable;
65144acee20SBjorn Andersson		bias-pull-up;
65244acee20SBjorn Andersson		drive-strength = <2>;
65344acee20SBjorn Andersson	};
65445021d35SSrinivas Kandagatla
65545021d35SSrinivas Kandagatla	wcd_intr_default: wcd_intr_default {
656f55d373fSBjorn Andersson		pins = "gpio54";
65745021d35SSrinivas Kandagatla		function = "gpio";
65845021d35SSrinivas Kandagatla
65945021d35SSrinivas Kandagatla		input-enable;
66045021d35SSrinivas Kandagatla		bias-pull-down;
66145021d35SSrinivas Kandagatla		drive-strength = <2>;
66245021d35SSrinivas Kandagatla	};
66371b83b74SBjorn Andersson
66471b83b74SBjorn Andersson	lid_pin_active: lid-pin {
66571b83b74SBjorn Andersson		pins = "gpio124";
66671b83b74SBjorn Andersson		function = "gpio";
66771b83b74SBjorn Andersson
66871b83b74SBjorn Andersson		input-enable;
66971b83b74SBjorn Andersson		bias-disable;
67071b83b74SBjorn Andersson	};
67171b83b74SBjorn Andersson
67271b83b74SBjorn Andersson	mode_pin_active: mode-pin {
67371b83b74SBjorn Andersson		pins = "gpio95";
67471b83b74SBjorn Andersson		function = "gpio";
67571b83b74SBjorn Andersson
67671b83b74SBjorn Andersson		input-enable;
67771b83b74SBjorn Andersson		bias-disable;
67871b83b74SBjorn Andersson	};
67944acee20SBjorn Andersson};
68044acee20SBjorn Andersson
68144acee20SBjorn Andersson&uart6 {
68244acee20SBjorn Andersson	status = "okay";
68344acee20SBjorn Andersson
68444acee20SBjorn Andersson	bluetooth {
68544acee20SBjorn Andersson		compatible = "qcom,wcn3990-bt";
68644acee20SBjorn Andersson
68744acee20SBjorn Andersson		vddio-supply = <&vreg_s4a_1p8>;
68844acee20SBjorn Andersson		vddxo-supply = <&vreg_l7a_1p8>;
68944acee20SBjorn Andersson		vddrf-supply = <&vreg_l17a_1p3>;
69044acee20SBjorn Andersson		vddch0-supply = <&vreg_l25a_3p3>;
691b464f08cSSteev Klimaszewski		vddch1-supply = <&vreg_l23a_3p3>;
69244acee20SBjorn Andersson		max-speed = <3200000>;
69344acee20SBjorn Andersson	};
69444acee20SBjorn Andersson};
69544acee20SBjorn Andersson
69644acee20SBjorn Andersson&ufs_mem_hc {
69744acee20SBjorn Andersson	status = "okay";
69844acee20SBjorn Andersson
6992536bedeSBjorn Andersson	reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
7002536bedeSBjorn Andersson
70144acee20SBjorn Andersson	vcc-supply = <&vreg_l20a_2p95>;
70244acee20SBjorn Andersson	vcc-max-microamp = <600000>;
70344acee20SBjorn Andersson};
70444acee20SBjorn Andersson
70544acee20SBjorn Andersson&ufs_mem_phy {
70644acee20SBjorn Andersson	status = "okay";
70744acee20SBjorn Andersson
70844acee20SBjorn Andersson	vdda-phy-supply = <&vdda_ufs1_core>;
70944acee20SBjorn Andersson	vdda-pll-supply = <&vdda_ufs1_1p2>;
71044acee20SBjorn Andersson};
71144acee20SBjorn Andersson
71244acee20SBjorn Andersson&usb_1 {
71344acee20SBjorn Andersson	status = "okay";
71444acee20SBjorn Andersson};
71544acee20SBjorn Andersson
71644acee20SBjorn Andersson&usb_1_dwc3 {
71744acee20SBjorn Andersson	dr_mode = "host";
71844acee20SBjorn Andersson};
71944acee20SBjorn Andersson
72044acee20SBjorn Andersson&usb_1_hsphy {
72144acee20SBjorn Andersson	status = "okay";
72244acee20SBjorn Andersson
72344acee20SBjorn Andersson	vdd-supply = <&vdda_usb1_ss_core>;
72444acee20SBjorn Andersson	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
72544acee20SBjorn Andersson	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
72644acee20SBjorn Andersson
72744acee20SBjorn Andersson	qcom,imp-res-offset-value = <8>;
72844acee20SBjorn Andersson	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
72944acee20SBjorn Andersson	qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
73044acee20SBjorn Andersson	qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
73144acee20SBjorn Andersson};
73244acee20SBjorn Andersson
73344acee20SBjorn Andersson&usb_1_qmpphy {
73444acee20SBjorn Andersson	status = "okay";
73544acee20SBjorn Andersson
73644acee20SBjorn Andersson	vdda-phy-supply = <&vdda_usb1_ss_1p2>;
73744acee20SBjorn Andersson	vdda-pll-supply = <&vdda_usb1_ss_core>;
73844acee20SBjorn Andersson};
73944acee20SBjorn Andersson
74044acee20SBjorn Andersson&usb_2 {
74144acee20SBjorn Andersson	status = "okay";
74244acee20SBjorn Andersson};
74344acee20SBjorn Andersson
74444acee20SBjorn Andersson&usb_2_dwc3 {
74544acee20SBjorn Andersson	dr_mode = "host";
74644acee20SBjorn Andersson};
74744acee20SBjorn Andersson
74844acee20SBjorn Andersson&usb_2_hsphy {
74944acee20SBjorn Andersson	status = "okay";
75044acee20SBjorn Andersson
75144acee20SBjorn Andersson	vdd-supply = <&vdda_usb2_ss_core>;
75244acee20SBjorn Andersson	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
75344acee20SBjorn Andersson	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
75444acee20SBjorn Andersson
75544acee20SBjorn Andersson	qcom,imp-res-offset-value = <8>;
75644acee20SBjorn Andersson	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
75744acee20SBjorn Andersson};
75844acee20SBjorn Andersson
75944acee20SBjorn Andersson&usb_2_qmpphy {
76044acee20SBjorn Andersson	status = "okay";
76144acee20SBjorn Andersson
76244acee20SBjorn Andersson	vdda-phy-supply = <&vdda_usb2_ss_1p2>;
76344acee20SBjorn Andersson	vdda-pll-supply = <&vdda_usb2_ss_core>;
76444acee20SBjorn Andersson};
76545021d35SSrinivas Kandagatla
7667f761609SKonrad Dybcio&venus {
7677f761609SKonrad Dybcio	status = "okay";
7687f761609SKonrad Dybcio};
7697f761609SKonrad Dybcio
77045021d35SSrinivas Kandagatla&wcd9340{
77145021d35SSrinivas Kandagatla	pinctrl-0 = <&wcd_intr_default>;
77245021d35SSrinivas Kandagatla	pinctrl-names = "default";
77345021d35SSrinivas Kandagatla	clock-names = "extclk";
77445021d35SSrinivas Kandagatla	clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
77545021d35SSrinivas Kandagatla	reset-gpios = <&tlmm 64 0>;
77645021d35SSrinivas Kandagatla	vdd-buck-supply = <&vreg_s4a_1p8>;
77745021d35SSrinivas Kandagatla	vdd-buck-sido-supply = <&vreg_s4a_1p8>;
77845021d35SSrinivas Kandagatla	vdd-tx-supply = <&vreg_s4a_1p8>;
77945021d35SSrinivas Kandagatla	vdd-rx-supply = <&vreg_s4a_1p8>;
78045021d35SSrinivas Kandagatla	vdd-io-supply = <&vreg_s4a_1p8>;
781ef10e1b8SSrinivas Kandagatla	qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
782ef10e1b8SSrinivas Kandagatla	qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
783ef10e1b8SSrinivas Kandagatla	qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
78445021d35SSrinivas Kandagatla
78545021d35SSrinivas Kandagatla	swm: swm@c85 {
78645021d35SSrinivas Kandagatla		left_spkr: wsa8810-left{
78745021d35SSrinivas Kandagatla			compatible = "sdw10217211000";
78845021d35SSrinivas Kandagatla			reg = <0 3>;
7899a253bb4SSrinivas Kandagatla			powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
79045021d35SSrinivas Kandagatla			#thermal-sensor-cells = <0>;
79145021d35SSrinivas Kandagatla			sound-name-prefix = "SpkrLeft";
79245021d35SSrinivas Kandagatla			#sound-dai-cells = <0>;
79345021d35SSrinivas Kandagatla		};
79445021d35SSrinivas Kandagatla
79545021d35SSrinivas Kandagatla		right_spkr: wsa8810-right{
79645021d35SSrinivas Kandagatla			compatible = "sdw10217211000";
7979a253bb4SSrinivas Kandagatla			powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>;
79845021d35SSrinivas Kandagatla			reg = <0 4>;
79945021d35SSrinivas Kandagatla			#thermal-sensor-cells = <0>;
80045021d35SSrinivas Kandagatla			sound-name-prefix = "SpkrRight";
80145021d35SSrinivas Kandagatla			#sound-dai-cells = <0>;
80245021d35SSrinivas Kandagatla		};
80345021d35SSrinivas Kandagatla	};
80445021d35SSrinivas Kandagatla};
8053fb298d0SBjorn Andersson
8063fb298d0SBjorn Andersson&wifi {
8073fb298d0SBjorn Andersson	status = "okay";
8083fb298d0SBjorn Andersson
8093fb298d0SBjorn Andersson	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
8103fb298d0SBjorn Andersson	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
8113fb298d0SBjorn Andersson	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
8123fb298d0SBjorn Andersson	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
813b464f08cSSteev Klimaszewski	vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
8143fb298d0SBjorn Andersson
8153fb298d0SBjorn Andersson	qcom,snoc-host-cap-8bit-quirk;
8163fb298d0SBjorn Andersson};
817382e3e0eSSteev Klimaszewski
818382e3e0eSSteev Klimaszewski&crypto {
819382e3e0eSSteev Klimaszewski	/* FIXME: qce_start triggers an SError */
820382e3e0eSSteev Klimaszewski	status = "disable";
821382e3e0eSSteev Klimaszewski};
822