xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8996-oneplus-common.dtsi (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1*8bab661aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*8bab661aSEmmanuel Vadot/*
3*8bab661aSEmmanuel Vadot * Copyright (c) 2022, Harry Austen <hpausten@protonmail.com>
4*8bab661aSEmmanuel Vadot */
5*8bab661aSEmmanuel Vadot
6*8bab661aSEmmanuel Vadot#include "msm8996.dtsi"
7*8bab661aSEmmanuel Vadot#include "pm8994.dtsi"
8*8bab661aSEmmanuel Vadot#include "pmi8994.dtsi"
9*8bab661aSEmmanuel Vadot#include "pmi8996.dtsi"
10*8bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
11*8bab661aSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12*8bab661aSEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h>
13*8bab661aSEmmanuel Vadot#include <dt-bindings/sound/qcom,q6asm.h>
14*8bab661aSEmmanuel Vadot#include <dt-bindings/sound/qcom,wcd9335.h>
15*8bab661aSEmmanuel Vadot
16*8bab661aSEmmanuel Vadot/ {
17*8bab661aSEmmanuel Vadot	aliases {
18*8bab661aSEmmanuel Vadot		serial0 = &blsp1_uart2;
19*8bab661aSEmmanuel Vadot		serial1 = &blsp2_uart2;
20*8bab661aSEmmanuel Vadot	};
21*8bab661aSEmmanuel Vadot
22*8bab661aSEmmanuel Vadot	battery: battery {
23*8bab661aSEmmanuel Vadot		compatible = "simple-battery";
24*8bab661aSEmmanuel Vadot
25*8bab661aSEmmanuel Vadot		constant-charge-current-max-microamp = <3000000>;
26*8bab661aSEmmanuel Vadot		voltage-min-design-microvolt = <3400000>;
27*8bab661aSEmmanuel Vadot	};
28*8bab661aSEmmanuel Vadot
29*8bab661aSEmmanuel Vadot	chosen {
30*8bab661aSEmmanuel Vadot		stdout-path = "serial1:115200n8";
31*8bab661aSEmmanuel Vadot	};
32*8bab661aSEmmanuel Vadot
33*8bab661aSEmmanuel Vadot	clocks {
34*8bab661aSEmmanuel Vadot		div1_mclk: div1-clk {
35*8bab661aSEmmanuel Vadot			compatible = "gpio-gate-clock";
36*8bab661aSEmmanuel Vadot			pinctrl-names = "default";
37*8bab661aSEmmanuel Vadot			pinctrl-0 = <&audio_mclk>;
38*8bab661aSEmmanuel Vadot			#clock-cells = <0>;
39*8bab661aSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_DIV_CLK1>;
40*8bab661aSEmmanuel Vadot			enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
41*8bab661aSEmmanuel Vadot		};
42*8bab661aSEmmanuel Vadot
43*8bab661aSEmmanuel Vadot		divclk4: div4-clk {
44*8bab661aSEmmanuel Vadot			compatible = "fixed-clock";
45*8bab661aSEmmanuel Vadot			pinctrl-names = "default";
46*8bab661aSEmmanuel Vadot			pinctrl-0 = <&divclk4_pin_a>;
47*8bab661aSEmmanuel Vadot			#clock-cells = <0>;
48*8bab661aSEmmanuel Vadot			clock-frequency = <32768>;
49*8bab661aSEmmanuel Vadot			clock-output-names = "divclk4";
50*8bab661aSEmmanuel Vadot		};
51*8bab661aSEmmanuel Vadot	};
52*8bab661aSEmmanuel Vadot
53*8bab661aSEmmanuel Vadot	reserved-memory {
54*8bab661aSEmmanuel Vadot		ramoops@ac000000 {
55*8bab661aSEmmanuel Vadot			compatible = "ramoops";
56*8bab661aSEmmanuel Vadot			reg = <0 0xac000000 0 0x200000>;
57*8bab661aSEmmanuel Vadot			record-size = <0x20000>;
58*8bab661aSEmmanuel Vadot			console-size = <0x100000>;
59*8bab661aSEmmanuel Vadot			pmsg-size = <0x80000>;
60*8bab661aSEmmanuel Vadot		};
61*8bab661aSEmmanuel Vadot	};
62*8bab661aSEmmanuel Vadot
63*8bab661aSEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
64*8bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
65*8bab661aSEmmanuel Vadot		regulator-name = "vph_pwr";
66*8bab661aSEmmanuel Vadot		regulator-min-microvolt = <3700000>;
67*8bab661aSEmmanuel Vadot		regulator-max-microvolt = <3700000>;
68*8bab661aSEmmanuel Vadot		regulator-always-on;
69*8bab661aSEmmanuel Vadot		regulator-boot-on;
70*8bab661aSEmmanuel Vadot	};
71*8bab661aSEmmanuel Vadot
72*8bab661aSEmmanuel Vadot	wlan_en: wlan-en-regulator {
73*8bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
74*8bab661aSEmmanuel Vadot		pinctrl-names = "default";
75*8bab661aSEmmanuel Vadot		pinctrl-0 = <&wlan_en_gpios>;
76*8bab661aSEmmanuel Vadot		regulator-name = "wlan-en-regulator";
77*8bab661aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
78*8bab661aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
79*8bab661aSEmmanuel Vadot
80*8bab661aSEmmanuel Vadot		gpio = <&pm8994_gpios 8 GPIO_ACTIVE_HIGH>;
81*8bab661aSEmmanuel Vadot
82*8bab661aSEmmanuel Vadot		/* WLAN card specific delay */
83*8bab661aSEmmanuel Vadot		startup-delay-us = <70000>;
84*8bab661aSEmmanuel Vadot		enable-active-high;
85*8bab661aSEmmanuel Vadot	};
86*8bab661aSEmmanuel Vadot};
87*8bab661aSEmmanuel Vadot
88*8bab661aSEmmanuel Vadot&adsp_pil {
89*8bab661aSEmmanuel Vadot	status = "okay";
90*8bab661aSEmmanuel Vadot};
91*8bab661aSEmmanuel Vadot
92*8bab661aSEmmanuel Vadot&blsp1_i2c3 {
93*8bab661aSEmmanuel Vadot	status = "okay";
94*8bab661aSEmmanuel Vadot
95*8bab661aSEmmanuel Vadot	tfa9890_amp: audio-codec@36 {
96*8bab661aSEmmanuel Vadot		compatible = "nxp,tfa9890";
97*8bab661aSEmmanuel Vadot		reg = <0x36>;
98*8bab661aSEmmanuel Vadot		#sound-dai-cells = <0>;
99*8bab661aSEmmanuel Vadot	};
100*8bab661aSEmmanuel Vadot};
101*8bab661aSEmmanuel Vadot
102*8bab661aSEmmanuel Vadot&blsp1_i2c6 {
103*8bab661aSEmmanuel Vadot	status = "okay";
104*8bab661aSEmmanuel Vadot
105*8bab661aSEmmanuel Vadot	bq27541: fuel-gauge@55 {
106*8bab661aSEmmanuel Vadot		compatible = "ti,bq27541";
107*8bab661aSEmmanuel Vadot		reg = <0x55>;
108*8bab661aSEmmanuel Vadot	};
109*8bab661aSEmmanuel Vadot};
110*8bab661aSEmmanuel Vadot
111*8bab661aSEmmanuel Vadot&blsp1_uart2 {
112*8bab661aSEmmanuel Vadot	label = "BT-UART";
113*8bab661aSEmmanuel Vadot	uart-has-rtscts;
114*8bab661aSEmmanuel Vadot	status = "okay";
115*8bab661aSEmmanuel Vadot
116*8bab661aSEmmanuel Vadot	bluetooth {
117*8bab661aSEmmanuel Vadot		compatible = "qcom,qca6174-bt";
118*8bab661aSEmmanuel Vadot		pinctrl-names = "default";
119*8bab661aSEmmanuel Vadot		pinctrl-0 = <&bt_en_gpios>;
120*8bab661aSEmmanuel Vadot		enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
121*8bab661aSEmmanuel Vadot		clocks = <&divclk4>;
122*8bab661aSEmmanuel Vadot	};
123*8bab661aSEmmanuel Vadot};
124*8bab661aSEmmanuel Vadot
125*8bab661aSEmmanuel Vadot&blsp2_i2c1 {
126*8bab661aSEmmanuel Vadot	status = "okay";
127*8bab661aSEmmanuel Vadot};
128*8bab661aSEmmanuel Vadot
129*8bab661aSEmmanuel Vadot&blsp2_i2c6 {
130*8bab661aSEmmanuel Vadot	status = "okay";
131*8bab661aSEmmanuel Vadot
132*8bab661aSEmmanuel Vadot	synaptics_rmi4_i2c: touchscreen@20 {
133*8bab661aSEmmanuel Vadot		compatible = "syna,rmi4-i2c";
134*8bab661aSEmmanuel Vadot		reg = <0x20>;
135*8bab661aSEmmanuel Vadot		#address-cells = <1>;
136*8bab661aSEmmanuel Vadot		#size-cells = <0>;
137*8bab661aSEmmanuel Vadot		interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
138*8bab661aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
139*8bab661aSEmmanuel Vadot		pinctrl-0 = <&touch_default>;
140*8bab661aSEmmanuel Vadot		pinctrl-1 = <&touch_suspend>;
141*8bab661aSEmmanuel Vadot		vdd-supply = <&vreg_l22a_3p0>;
142*8bab661aSEmmanuel Vadot		vio-supply = <&vreg_s4a_1p8>;
143*8bab661aSEmmanuel Vadot		syna,reset-delay-ms = <200>;
144*8bab661aSEmmanuel Vadot		syna,startup-delay-ms = <200>;
145*8bab661aSEmmanuel Vadot
146*8bab661aSEmmanuel Vadot		rmi4-f01@1 {
147*8bab661aSEmmanuel Vadot			reg = <0x1>;
148*8bab661aSEmmanuel Vadot			syna,nosleep-mode = <1>;
149*8bab661aSEmmanuel Vadot		};
150*8bab661aSEmmanuel Vadot
151*8bab661aSEmmanuel Vadot		rmi4-f12@12 {
152*8bab661aSEmmanuel Vadot			reg = <0x12>;
153*8bab661aSEmmanuel Vadot			syna,sensor-type = <1>;
154*8bab661aSEmmanuel Vadot			touchscreen-x-mm = <68>;
155*8bab661aSEmmanuel Vadot			touchscreen-y-mm = <122>;
156*8bab661aSEmmanuel Vadot		};
157*8bab661aSEmmanuel Vadot	};
158*8bab661aSEmmanuel Vadot};
159*8bab661aSEmmanuel Vadot
160*8bab661aSEmmanuel Vadot&blsp2_uart2 {
161*8bab661aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
162*8bab661aSEmmanuel Vadot	pinctrl-0 = <&blsp2_uart2_2pins_default>;
163*8bab661aSEmmanuel Vadot	pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
164*8bab661aSEmmanuel Vadot	status = "okay";
165*8bab661aSEmmanuel Vadot};
166*8bab661aSEmmanuel Vadot
167*8bab661aSEmmanuel Vadot&camss {
168*8bab661aSEmmanuel Vadot	vdda-supply = <&vreg_l2a_1p25>;
169*8bab661aSEmmanuel Vadot};
170*8bab661aSEmmanuel Vadot
171*8bab661aSEmmanuel Vadot&dsi0 {
172*8bab661aSEmmanuel Vadot	vdda-supply = <&vreg_l2a_1p25>;
173*8bab661aSEmmanuel Vadot	vcca-supply = <&vreg_l22a_3p0>;
174*8bab661aSEmmanuel Vadot	status = "okay";
175*8bab661aSEmmanuel Vadot};
176*8bab661aSEmmanuel Vadot
177*8bab661aSEmmanuel Vadot&dsi0_out {
178*8bab661aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
179*8bab661aSEmmanuel Vadot};
180*8bab661aSEmmanuel Vadot
181*8bab661aSEmmanuel Vadot&dsi0_phy {
182*8bab661aSEmmanuel Vadot	vdda-supply = <&vreg_l2a_1p25>;
183*8bab661aSEmmanuel Vadot	vcca-supply = <&vreg_l28a_0p925>;
184*8bab661aSEmmanuel Vadot	status = "okay";
185*8bab661aSEmmanuel Vadot};
186*8bab661aSEmmanuel Vadot
187*8bab661aSEmmanuel Vadot&gpu {
188*8bab661aSEmmanuel Vadot	status = "okay";
189*8bab661aSEmmanuel Vadot};
190*8bab661aSEmmanuel Vadot
191*8bab661aSEmmanuel Vadot&hsusb_phy1 {
192*8bab661aSEmmanuel Vadot	vdd-supply = <&vreg_l28a_0p925>;
193*8bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
194*8bab661aSEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
195*8bab661aSEmmanuel Vadot	status = "okay";
196*8bab661aSEmmanuel Vadot};
197*8bab661aSEmmanuel Vadot
198*8bab661aSEmmanuel Vadot&hsusb_phy2 {
199*8bab661aSEmmanuel Vadot	vdd-supply = <&vreg_l28a_0p925>;
200*8bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
201*8bab661aSEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
202*8bab661aSEmmanuel Vadot	status = "okay";
203*8bab661aSEmmanuel Vadot};
204*8bab661aSEmmanuel Vadot
205*8bab661aSEmmanuel Vadot&mdp {
206*8bab661aSEmmanuel Vadot	status = "okay";
207*8bab661aSEmmanuel Vadot};
208*8bab661aSEmmanuel Vadot
209*8bab661aSEmmanuel Vadot&mdss {
210*8bab661aSEmmanuel Vadot	status = "okay";
211*8bab661aSEmmanuel Vadot};
212*8bab661aSEmmanuel Vadot
213*8bab661aSEmmanuel Vadot&mmcc {
214*8bab661aSEmmanuel Vadot	vdd-gfx-supply = <&vdd_gfx>;
215*8bab661aSEmmanuel Vadot};
216*8bab661aSEmmanuel Vadot
217*8bab661aSEmmanuel Vadot&mss_pil {
218*8bab661aSEmmanuel Vadot	pll-supply = <&vreg_l12a_1p8>;
219*8bab661aSEmmanuel Vadot	status = "okay";
220*8bab661aSEmmanuel Vadot};
221*8bab661aSEmmanuel Vadot
222*8bab661aSEmmanuel Vadot&pcie0 {
223*8bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
224*8bab661aSEmmanuel Vadot	vddpe-3v3-supply = <&wlan_en>;
225*8bab661aSEmmanuel Vadot	vdda-supply = <&vreg_l28a_0p925>;
226*8bab661aSEmmanuel Vadot	status = "okay";
227*8bab661aSEmmanuel Vadot};
228*8bab661aSEmmanuel Vadot
229*8bab661aSEmmanuel Vadot&pcie_phy {
230*8bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
231*8bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
232*8bab661aSEmmanuel Vadot	status = "okay";
233*8bab661aSEmmanuel Vadot};
234*8bab661aSEmmanuel Vadot
235*8bab661aSEmmanuel Vadot&pm8994_gpios {
236*8bab661aSEmmanuel Vadot	bt_en_gpios: bt-en-gpios-state {
237*8bab661aSEmmanuel Vadot		pins = "gpio19";
238*8bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
239*8bab661aSEmmanuel Vadot		output-low;
240*8bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
241*8bab661aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
242*8bab661aSEmmanuel Vadot		bias-pull-down;
243*8bab661aSEmmanuel Vadot	};
244*8bab661aSEmmanuel Vadot
245*8bab661aSEmmanuel Vadot	wlan_en_gpios: wlan-en-gpios-state {
246*8bab661aSEmmanuel Vadot		pins = "gpio8";
247*8bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
248*8bab661aSEmmanuel Vadot		output-low;
249*8bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
250*8bab661aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
251*8bab661aSEmmanuel Vadot		bias-pull-down;
252*8bab661aSEmmanuel Vadot	};
253*8bab661aSEmmanuel Vadot
254*8bab661aSEmmanuel Vadot	audio_mclk: divclk1-state {
255*8bab661aSEmmanuel Vadot		pins = "gpio15";
256*8bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC1;
257*8bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
258*8bab661aSEmmanuel Vadot	};
259*8bab661aSEmmanuel Vadot
260*8bab661aSEmmanuel Vadot	divclk4_pin_a: divclk4-state {
261*8bab661aSEmmanuel Vadot		pins = "gpio18";
262*8bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC2;
263*8bab661aSEmmanuel Vadot		bias-disable;
264*8bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
265*8bab661aSEmmanuel Vadot	};
266*8bab661aSEmmanuel Vadot};
267*8bab661aSEmmanuel Vadot
268*8bab661aSEmmanuel Vadot&pm8994_spmi_regulators {
269*8bab661aSEmmanuel Vadot	qcom,saw-reg = <&saw3>;
270*8bab661aSEmmanuel Vadot
271*8bab661aSEmmanuel Vadot	s9 {
272*8bab661aSEmmanuel Vadot		qcom,saw-slave;
273*8bab661aSEmmanuel Vadot	};
274*8bab661aSEmmanuel Vadot
275*8bab661aSEmmanuel Vadot	s10 {
276*8bab661aSEmmanuel Vadot		qcom,saw-slave;
277*8bab661aSEmmanuel Vadot	};
278*8bab661aSEmmanuel Vadot
279*8bab661aSEmmanuel Vadot	s11 {
280*8bab661aSEmmanuel Vadot		qcom,saw-leader;
281*8bab661aSEmmanuel Vadot		regulator-min-microvolt = <1140000>;
282*8bab661aSEmmanuel Vadot		regulator-max-microvolt = <1140000>;
283*8bab661aSEmmanuel Vadot		regulator-max-step-microvolt = <150000>;
284*8bab661aSEmmanuel Vadot		regulator-always-on;
285*8bab661aSEmmanuel Vadot	};
286*8bab661aSEmmanuel Vadot};
287*8bab661aSEmmanuel Vadot
288*8bab661aSEmmanuel Vadot&pmi8994_spmi_regulators {
289*8bab661aSEmmanuel Vadot	vdd_gfx: s2 {
290*8bab661aSEmmanuel Vadot		regulator-name = "vdd-gfx";
291*8bab661aSEmmanuel Vadot		regulator-min-microvolt = <980000>;
292*8bab661aSEmmanuel Vadot		regulator-max-microvolt = <1230000>;
293*8bab661aSEmmanuel Vadot	};
294*8bab661aSEmmanuel Vadot};
295*8bab661aSEmmanuel Vadot
296*8bab661aSEmmanuel Vadot&q6asmdai {
297*8bab661aSEmmanuel Vadot	#address-cells = <1>;
298*8bab661aSEmmanuel Vadot	#size-cells = <0>;
299*8bab661aSEmmanuel Vadot
300*8bab661aSEmmanuel Vadot	dai@0 {
301*8bab661aSEmmanuel Vadot		reg = <0>;
302*8bab661aSEmmanuel Vadot	};
303*8bab661aSEmmanuel Vadot
304*8bab661aSEmmanuel Vadot	dai@1 {
305*8bab661aSEmmanuel Vadot		reg = <1>;
306*8bab661aSEmmanuel Vadot	};
307*8bab661aSEmmanuel Vadot
308*8bab661aSEmmanuel Vadot	dai@2 {
309*8bab661aSEmmanuel Vadot		reg = <2>;
310*8bab661aSEmmanuel Vadot	};
311*8bab661aSEmmanuel Vadot};
312*8bab661aSEmmanuel Vadot
313*8bab661aSEmmanuel Vadot&rpm_requests {
314*8bab661aSEmmanuel Vadot	regulators {
315*8bab661aSEmmanuel Vadot		compatible = "qcom,rpm-pm8994-regulators";
316*8bab661aSEmmanuel Vadot
317*8bab661aSEmmanuel Vadot		vreg_s3a_1p3: s3 {
318*8bab661aSEmmanuel Vadot			regulator-name = "vreg_s3a_1p3";
319*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1300000>;
320*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1300000>;
321*8bab661aSEmmanuel Vadot		};
322*8bab661aSEmmanuel Vadot
323*8bab661aSEmmanuel Vadot		vreg_s4a_1p8: s4 {
324*8bab661aSEmmanuel Vadot			regulator-name = "vreg_s4a_1p8";
325*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
326*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
327*8bab661aSEmmanuel Vadot			regulator-always-on;
328*8bab661aSEmmanuel Vadot		};
329*8bab661aSEmmanuel Vadot
330*8bab661aSEmmanuel Vadot		vreg_s5a_2p15: s5 {
331*8bab661aSEmmanuel Vadot			regulator-name = "vreg_s5a_2p15";
332*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2150000>;
333*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2150000>;
334*8bab661aSEmmanuel Vadot		};
335*8bab661aSEmmanuel Vadot
336*8bab661aSEmmanuel Vadot		vreg_s7a_0p8: s7 {
337*8bab661aSEmmanuel Vadot			regulator-name = "vreg_s7a_0p8";
338*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <800000>;
339*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <800000>;
340*8bab661aSEmmanuel Vadot		};
341*8bab661aSEmmanuel Vadot
342*8bab661aSEmmanuel Vadot		vreg_l1a_1p0: l1 {
343*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l1a_1p0";
344*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1000000>;
345*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1000000>;
346*8bab661aSEmmanuel Vadot		};
347*8bab661aSEmmanuel Vadot
348*8bab661aSEmmanuel Vadot		vreg_l2a_1p25: l2 {
349*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l2a_1p25";
350*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1250000>;
351*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1250000>;
352*8bab661aSEmmanuel Vadot			regulator-allow-set-load;
353*8bab661aSEmmanuel Vadot		};
354*8bab661aSEmmanuel Vadot
355*8bab661aSEmmanuel Vadot		vreg_l3a_1p1: l3 {
356*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l3a_1p1";
357*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1100000>;
358*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
359*8bab661aSEmmanuel Vadot		};
360*8bab661aSEmmanuel Vadot
361*8bab661aSEmmanuel Vadot		vreg_l4a_1p225: l4 {
362*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l4a_1p225";
363*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1225000>;
364*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1225000>;
365*8bab661aSEmmanuel Vadot		};
366*8bab661aSEmmanuel Vadot
367*8bab661aSEmmanuel Vadot		vreg_l6a_1p2: l6 {
368*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l6a_1p2";
369*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
370*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
371*8bab661aSEmmanuel Vadot		};
372*8bab661aSEmmanuel Vadot
373*8bab661aSEmmanuel Vadot		vreg_l7a_1p8: l7 {
374*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l7a_1p8";
375*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
376*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
377*8bab661aSEmmanuel Vadot		};
378*8bab661aSEmmanuel Vadot
379*8bab661aSEmmanuel Vadot		vreg_l9a_1p8: l9 {
380*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l9a_1p8";
381*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
382*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
383*8bab661aSEmmanuel Vadot		};
384*8bab661aSEmmanuel Vadot
385*8bab661aSEmmanuel Vadot		vreg_l10a_1p8: l10 {
386*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l10a_1p8";
387*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
388*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
389*8bab661aSEmmanuel Vadot		};
390*8bab661aSEmmanuel Vadot
391*8bab661aSEmmanuel Vadot		vreg_l11a_1p15: l11 {
392*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l11a_1p15";
393*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1150000>;
394*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1150000>;
395*8bab661aSEmmanuel Vadot		};
396*8bab661aSEmmanuel Vadot
397*8bab661aSEmmanuel Vadot		vreg_l12a_1p8: l12 {
398*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l12a_1p8";
399*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
400*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
401*8bab661aSEmmanuel Vadot			regulator-allow-set-load;
402*8bab661aSEmmanuel Vadot		};
403*8bab661aSEmmanuel Vadot
404*8bab661aSEmmanuel Vadot		vreg_l13a_2p95: l13 {
405*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l13a_2p95";
406*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
407*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
408*8bab661aSEmmanuel Vadot		};
409*8bab661aSEmmanuel Vadot
410*8bab661aSEmmanuel Vadot		vreg_l16a_2p7: l16 {
411*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l16a_2p7";
412*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2700000>;
413*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2700000>;
414*8bab661aSEmmanuel Vadot		};
415*8bab661aSEmmanuel Vadot
416*8bab661aSEmmanuel Vadot		vreg_l17a_2p6: l17 {
417*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l17a_2p6";
418*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2600000>;
419*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2600000>;
420*8bab661aSEmmanuel Vadot		};
421*8bab661aSEmmanuel Vadot
422*8bab661aSEmmanuel Vadot		vreg_l18a_3p3: l18 {
423*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l18a_3p3";
424*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <3300000>;
425*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
426*8bab661aSEmmanuel Vadot		};
427*8bab661aSEmmanuel Vadot
428*8bab661aSEmmanuel Vadot		vreg_l19a_3p0: l19 {
429*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l19a_3p0";
430*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
431*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
432*8bab661aSEmmanuel Vadot		};
433*8bab661aSEmmanuel Vadot
434*8bab661aSEmmanuel Vadot		vreg_l20a_2p95: l20 {
435*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l20a_2p95";
436*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
437*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
438*8bab661aSEmmanuel Vadot			regulator-allow-set-load;
439*8bab661aSEmmanuel Vadot		};
440*8bab661aSEmmanuel Vadot
441*8bab661aSEmmanuel Vadot		vreg_l21a_2p95: l21 {
442*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l21a_2p95";
443*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
444*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
445*8bab661aSEmmanuel Vadot			regulator-allow-set-load;
446*8bab661aSEmmanuel Vadot			regulator-system-load = <200000>;
447*8bab661aSEmmanuel Vadot		};
448*8bab661aSEmmanuel Vadot
449*8bab661aSEmmanuel Vadot		vreg_l22a_3p0: l22 {
450*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l22a_3p0";
451*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
452*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
453*8bab661aSEmmanuel Vadot		};
454*8bab661aSEmmanuel Vadot
455*8bab661aSEmmanuel Vadot		vreg_l23a_2p8: l23 {
456*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l23a_2p8";
457*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
458*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
459*8bab661aSEmmanuel Vadot		};
460*8bab661aSEmmanuel Vadot
461*8bab661aSEmmanuel Vadot		vreg_l24a_3p075: l24 {
462*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l24a_3p075";
463*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <3075000>;
464*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <3075000>;
465*8bab661aSEmmanuel Vadot		};
466*8bab661aSEmmanuel Vadot
467*8bab661aSEmmanuel Vadot		vreg_l25a_1p2: l25 {
468*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l25a_1p2";
469*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
470*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
471*8bab661aSEmmanuel Vadot			regulator-allow-set-load;
472*8bab661aSEmmanuel Vadot			regulator-always-on;
473*8bab661aSEmmanuel Vadot		};
474*8bab661aSEmmanuel Vadot
475*8bab661aSEmmanuel Vadot		vreg_l27a_1p2: l27 {
476*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l27a_1p2";
477*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
478*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
479*8bab661aSEmmanuel Vadot		};
480*8bab661aSEmmanuel Vadot
481*8bab661aSEmmanuel Vadot		vreg_l28a_0p925: l28 {
482*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l28a_0p925";
483*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <925000>;
484*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <925000>;
485*8bab661aSEmmanuel Vadot			regulator-allow-set-load;
486*8bab661aSEmmanuel Vadot		};
487*8bab661aSEmmanuel Vadot
488*8bab661aSEmmanuel Vadot		vreg_l29a_2p8: l29 {
489*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l29a_2p8";
490*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
491*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
492*8bab661aSEmmanuel Vadot		};
493*8bab661aSEmmanuel Vadot
494*8bab661aSEmmanuel Vadot		vreg_l30a_1p8: l30 {
495*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l30a_1p8";
496*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
497*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
498*8bab661aSEmmanuel Vadot		};
499*8bab661aSEmmanuel Vadot
500*8bab661aSEmmanuel Vadot		vreg_l32a_1p8: l32 {
501*8bab661aSEmmanuel Vadot			regulator-name = "vreg_l32a_1p8";
502*8bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
503*8bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
504*8bab661aSEmmanuel Vadot		};
505*8bab661aSEmmanuel Vadot	};
506*8bab661aSEmmanuel Vadot};
507*8bab661aSEmmanuel Vadot
508*8bab661aSEmmanuel Vadot&slpi_pil {
509*8bab661aSEmmanuel Vadot	status = "okay";
510*8bab661aSEmmanuel Vadot};
511*8bab661aSEmmanuel Vadot
512*8bab661aSEmmanuel Vadot&sound {
513*8bab661aSEmmanuel Vadot	compatible = "qcom,apq8096-sndcard";
514*8bab661aSEmmanuel Vadot	model = "OnePlus3";
515*8bab661aSEmmanuel Vadot	audio-routing = "RX_BIAS", "MCLK",
516*8bab661aSEmmanuel Vadot			"AMIC2", "MIC BIAS2",
517*8bab661aSEmmanuel Vadot			"MIC BIAS2", "Headset Mic",
518*8bab661aSEmmanuel Vadot			"AMIC4", "MIC BIAS1",
519*8bab661aSEmmanuel Vadot			"MIC BIAS1", "Primary Mic",
520*8bab661aSEmmanuel Vadot			"AMIC5", "MIC BIAS3",
521*8bab661aSEmmanuel Vadot			"MIC BIAS3", "Noise Mic";
522*8bab661aSEmmanuel Vadot
523*8bab661aSEmmanuel Vadot	mm1-dai-link {
524*8bab661aSEmmanuel Vadot		link-name = "MultiMedia1";
525*8bab661aSEmmanuel Vadot
526*8bab661aSEmmanuel Vadot		cpu {
527*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
528*8bab661aSEmmanuel Vadot		};
529*8bab661aSEmmanuel Vadot	};
530*8bab661aSEmmanuel Vadot
531*8bab661aSEmmanuel Vadot	mm2-dai-link {
532*8bab661aSEmmanuel Vadot		link-name = "MultiMedia2";
533*8bab661aSEmmanuel Vadot
534*8bab661aSEmmanuel Vadot		cpu {
535*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
536*8bab661aSEmmanuel Vadot		};
537*8bab661aSEmmanuel Vadot	};
538*8bab661aSEmmanuel Vadot
539*8bab661aSEmmanuel Vadot	mm3-dai-link {
540*8bab661aSEmmanuel Vadot		link-name = "MultiMedia3";
541*8bab661aSEmmanuel Vadot
542*8bab661aSEmmanuel Vadot		cpu {
543*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
544*8bab661aSEmmanuel Vadot		};
545*8bab661aSEmmanuel Vadot	};
546*8bab661aSEmmanuel Vadot
547*8bab661aSEmmanuel Vadot	mm4-dai-link {
548*8bab661aSEmmanuel Vadot		link-name = "MultiMedia4";
549*8bab661aSEmmanuel Vadot
550*8bab661aSEmmanuel Vadot		cpu {
551*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
552*8bab661aSEmmanuel Vadot		};
553*8bab661aSEmmanuel Vadot	};
554*8bab661aSEmmanuel Vadot
555*8bab661aSEmmanuel Vadot	mm5-dai-link {
556*8bab661aSEmmanuel Vadot		link-name = "MultiMedia5";
557*8bab661aSEmmanuel Vadot
558*8bab661aSEmmanuel Vadot		cpu {
559*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA5>;
560*8bab661aSEmmanuel Vadot		};
561*8bab661aSEmmanuel Vadot	};
562*8bab661aSEmmanuel Vadot
563*8bab661aSEmmanuel Vadot	mm6-dai-link {
564*8bab661aSEmmanuel Vadot		link-name = "MultiMedia6";
565*8bab661aSEmmanuel Vadot
566*8bab661aSEmmanuel Vadot		cpu {
567*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA6>;
568*8bab661aSEmmanuel Vadot		};
569*8bab661aSEmmanuel Vadot	};
570*8bab661aSEmmanuel Vadot
571*8bab661aSEmmanuel Vadot	mm7-dai-link {
572*8bab661aSEmmanuel Vadot		link-name = "MultiMedia7";
573*8bab661aSEmmanuel Vadot
574*8bab661aSEmmanuel Vadot		cpu {
575*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA7>;
576*8bab661aSEmmanuel Vadot		};
577*8bab661aSEmmanuel Vadot	};
578*8bab661aSEmmanuel Vadot
579*8bab661aSEmmanuel Vadot	mm8-dai-link {
580*8bab661aSEmmanuel Vadot		link-name = "MultiMedia8";
581*8bab661aSEmmanuel Vadot
582*8bab661aSEmmanuel Vadot		cpu {
583*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA8>;
584*8bab661aSEmmanuel Vadot		};
585*8bab661aSEmmanuel Vadot	};
586*8bab661aSEmmanuel Vadot
587*8bab661aSEmmanuel Vadot	mm9-dai-link {
588*8bab661aSEmmanuel Vadot		link-name = "MultiMedia9";
589*8bab661aSEmmanuel Vadot
590*8bab661aSEmmanuel Vadot		cpu {
591*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA9>;
592*8bab661aSEmmanuel Vadot		};
593*8bab661aSEmmanuel Vadot	};
594*8bab661aSEmmanuel Vadot
595*8bab661aSEmmanuel Vadot	mm10-dai-link {
596*8bab661aSEmmanuel Vadot		link-name = "MultiMedia10";
597*8bab661aSEmmanuel Vadot
598*8bab661aSEmmanuel Vadot		cpu {
599*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA10>;
600*8bab661aSEmmanuel Vadot		};
601*8bab661aSEmmanuel Vadot	};
602*8bab661aSEmmanuel Vadot
603*8bab661aSEmmanuel Vadot	mm11-dai-link {
604*8bab661aSEmmanuel Vadot		link-name = "MultiMedia11";
605*8bab661aSEmmanuel Vadot
606*8bab661aSEmmanuel Vadot		cpu {
607*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA11>;
608*8bab661aSEmmanuel Vadot		};
609*8bab661aSEmmanuel Vadot	};
610*8bab661aSEmmanuel Vadot
611*8bab661aSEmmanuel Vadot	mm12-dai-link {
612*8bab661aSEmmanuel Vadot		link-name = "MultiMedia12";
613*8bab661aSEmmanuel Vadot
614*8bab661aSEmmanuel Vadot		cpu {
615*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA12>;
616*8bab661aSEmmanuel Vadot		};
617*8bab661aSEmmanuel Vadot	};
618*8bab661aSEmmanuel Vadot
619*8bab661aSEmmanuel Vadot	mm13-dai-link {
620*8bab661aSEmmanuel Vadot		link-name = "MultiMedia13";
621*8bab661aSEmmanuel Vadot
622*8bab661aSEmmanuel Vadot		cpu {
623*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA13>;
624*8bab661aSEmmanuel Vadot		};
625*8bab661aSEmmanuel Vadot	};
626*8bab661aSEmmanuel Vadot
627*8bab661aSEmmanuel Vadot	mm14-dai-link {
628*8bab661aSEmmanuel Vadot		link-name = "MultiMedia14";
629*8bab661aSEmmanuel Vadot
630*8bab661aSEmmanuel Vadot		cpu {
631*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA14>;
632*8bab661aSEmmanuel Vadot		};
633*8bab661aSEmmanuel Vadot	};
634*8bab661aSEmmanuel Vadot
635*8bab661aSEmmanuel Vadot	mm15-dai-link {
636*8bab661aSEmmanuel Vadot		link-name = "MultiMedia15";
637*8bab661aSEmmanuel Vadot
638*8bab661aSEmmanuel Vadot		cpu {
639*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA15>;
640*8bab661aSEmmanuel Vadot		};
641*8bab661aSEmmanuel Vadot	};
642*8bab661aSEmmanuel Vadot
643*8bab661aSEmmanuel Vadot	mm16-dai-link {
644*8bab661aSEmmanuel Vadot		link-name = "MultiMedia16";
645*8bab661aSEmmanuel Vadot
646*8bab661aSEmmanuel Vadot		cpu {
647*8bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA16>;
648*8bab661aSEmmanuel Vadot		};
649*8bab661aSEmmanuel Vadot	};
650*8bab661aSEmmanuel Vadot
651*8bab661aSEmmanuel Vadot	slim-dai-link {
652*8bab661aSEmmanuel Vadot		link-name = "SLIM Playback";
653*8bab661aSEmmanuel Vadot
654*8bab661aSEmmanuel Vadot		cpu {
655*8bab661aSEmmanuel Vadot			sound-dai = <&q6afedai SLIMBUS_6_RX>;
656*8bab661aSEmmanuel Vadot		};
657*8bab661aSEmmanuel Vadot
658*8bab661aSEmmanuel Vadot		platform {
659*8bab661aSEmmanuel Vadot			sound-dai = <&q6routing>;
660*8bab661aSEmmanuel Vadot		};
661*8bab661aSEmmanuel Vadot
662*8bab661aSEmmanuel Vadot		codec {
663*8bab661aSEmmanuel Vadot			sound-dai = <&wcd9335 AIF4_PB>;
664*8bab661aSEmmanuel Vadot		};
665*8bab661aSEmmanuel Vadot	};
666*8bab661aSEmmanuel Vadot
667*8bab661aSEmmanuel Vadot	slimcap-dai-link {
668*8bab661aSEmmanuel Vadot		link-name = "SLIM Capture";
669*8bab661aSEmmanuel Vadot
670*8bab661aSEmmanuel Vadot		cpu {
671*8bab661aSEmmanuel Vadot			sound-dai = <&q6afedai SLIMBUS_0_TX>;
672*8bab661aSEmmanuel Vadot		};
673*8bab661aSEmmanuel Vadot
674*8bab661aSEmmanuel Vadot		platform {
675*8bab661aSEmmanuel Vadot			sound-dai = <&q6routing>;
676*8bab661aSEmmanuel Vadot		};
677*8bab661aSEmmanuel Vadot
678*8bab661aSEmmanuel Vadot		codec {
679*8bab661aSEmmanuel Vadot			sound-dai = <&wcd9335 AIF1_CAP>;
680*8bab661aSEmmanuel Vadot		};
681*8bab661aSEmmanuel Vadot	};
682*8bab661aSEmmanuel Vadot
683*8bab661aSEmmanuel Vadot	speaker-dai-link {
684*8bab661aSEmmanuel Vadot		link-name = "Speaker";
685*8bab661aSEmmanuel Vadot
686*8bab661aSEmmanuel Vadot		cpu {
687*8bab661aSEmmanuel Vadot			sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
688*8bab661aSEmmanuel Vadot		};
689*8bab661aSEmmanuel Vadot
690*8bab661aSEmmanuel Vadot		codec {
691*8bab661aSEmmanuel Vadot			sound-dai = <&tfa9890_amp>;
692*8bab661aSEmmanuel Vadot		};
693*8bab661aSEmmanuel Vadot	};
694*8bab661aSEmmanuel Vadot};
695*8bab661aSEmmanuel Vadot
696*8bab661aSEmmanuel Vadot&tlmm {
697*8bab661aSEmmanuel Vadot	gpio-reserved-ranges = <81 4>;
698*8bab661aSEmmanuel Vadot
699*8bab661aSEmmanuel Vadot	mdss_dsi_active: mdss-dsi-active-state {
700*8bab661aSEmmanuel Vadot		pins = "gpio8";
701*8bab661aSEmmanuel Vadot		function = "gpio";
702*8bab661aSEmmanuel Vadot		drive-strength = <8>;
703*8bab661aSEmmanuel Vadot		bias-disable;
704*8bab661aSEmmanuel Vadot	};
705*8bab661aSEmmanuel Vadot
706*8bab661aSEmmanuel Vadot	mdss_dsi_suspend: mdss-dsi-suspend-state {
707*8bab661aSEmmanuel Vadot		pins = "gpio8";
708*8bab661aSEmmanuel Vadot		function = "gpio";
709*8bab661aSEmmanuel Vadot		drive-strength = <2>;
710*8bab661aSEmmanuel Vadot		bias-pull-down;
711*8bab661aSEmmanuel Vadot	};
712*8bab661aSEmmanuel Vadot
713*8bab661aSEmmanuel Vadot	mdss_te_active: mdss-te-active-state {
714*8bab661aSEmmanuel Vadot		pins = "gpio10";
715*8bab661aSEmmanuel Vadot		function = "mdp_vsync";
716*8bab661aSEmmanuel Vadot		drive-strength = <2>;
717*8bab661aSEmmanuel Vadot		bias-pull-down;
718*8bab661aSEmmanuel Vadot	};
719*8bab661aSEmmanuel Vadot
720*8bab661aSEmmanuel Vadot	mdss_te_suspend: mdss-te-suspend-state {
721*8bab661aSEmmanuel Vadot		pins = "gpio10";
722*8bab661aSEmmanuel Vadot		function = "mdp_vsync";
723*8bab661aSEmmanuel Vadot		drive-strength = <2>;
724*8bab661aSEmmanuel Vadot		bias-pull-down;
725*8bab661aSEmmanuel Vadot	};
726*8bab661aSEmmanuel Vadot
727*8bab661aSEmmanuel Vadot	touch_default: touch-default-state {
728*8bab661aSEmmanuel Vadot		pins = "gpio89", "gpio125", "gpio49";
729*8bab661aSEmmanuel Vadot		function = "gpio";
730*8bab661aSEmmanuel Vadot		drive-strength = <16>;
731*8bab661aSEmmanuel Vadot		bias-pull-up;
732*8bab661aSEmmanuel Vadot	};
733*8bab661aSEmmanuel Vadot
734*8bab661aSEmmanuel Vadot	touch_suspend: touch-suspend-state {
735*8bab661aSEmmanuel Vadot		pins = "gpio89", "gpio125", "gpio49";
736*8bab661aSEmmanuel Vadot		function = "gpio";
737*8bab661aSEmmanuel Vadot		drive-strength = <2>;
738*8bab661aSEmmanuel Vadot		bias-disable;
739*8bab661aSEmmanuel Vadot	};
740*8bab661aSEmmanuel Vadot};
741*8bab661aSEmmanuel Vadot
742*8bab661aSEmmanuel Vadot&ufsphy {
743*8bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
744*8bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
745*8bab661aSEmmanuel Vadot	vddp-ref-clk-supply = <&vreg_l25a_1p2>;
746*8bab661aSEmmanuel Vadot
747*8bab661aSEmmanuel Vadot	status = "okay";
748*8bab661aSEmmanuel Vadot};
749*8bab661aSEmmanuel Vadot
750*8bab661aSEmmanuel Vadot&ufshc {
751*8bab661aSEmmanuel Vadot	vcc-supply = <&vreg_l20a_2p95>;
752*8bab661aSEmmanuel Vadot	vccq-supply = <&vreg_l25a_1p2>;
753*8bab661aSEmmanuel Vadot	vccq2-supply = <&vreg_s4a_1p8>;
754*8bab661aSEmmanuel Vadot
755*8bab661aSEmmanuel Vadot	vcc-max-microamp = <600000>;
756*8bab661aSEmmanuel Vadot	vccq-max-microamp = <450000>;
757*8bab661aSEmmanuel Vadot	vccq2-max-microamp = <450000>;
758*8bab661aSEmmanuel Vadot
759*8bab661aSEmmanuel Vadot	status = "okay";
760*8bab661aSEmmanuel Vadot};
761*8bab661aSEmmanuel Vadot
762*8bab661aSEmmanuel Vadot&usb3 {
763*8bab661aSEmmanuel Vadot	status = "okay";
764*8bab661aSEmmanuel Vadot};
765*8bab661aSEmmanuel Vadot
766*8bab661aSEmmanuel Vadot&usb3_dwc3 {
767*8bab661aSEmmanuel Vadot	phys = <&hsusb_phy1>;
768*8bab661aSEmmanuel Vadot	phy-names = "usb2-phy";
769*8bab661aSEmmanuel Vadot
770*8bab661aSEmmanuel Vadot	maximum-speed = "high-speed";
771*8bab661aSEmmanuel Vadot};
772*8bab661aSEmmanuel Vadot
773*8bab661aSEmmanuel Vadot&venus {
774*8bab661aSEmmanuel Vadot	status = "okay";
775*8bab661aSEmmanuel Vadot};
776*8bab661aSEmmanuel Vadot
777*8bab661aSEmmanuel Vadot&wcd9335 {
778*8bab661aSEmmanuel Vadot	clock-names = "mclk", "slimbus";
779*8bab661aSEmmanuel Vadot	clocks = <&div1_mclk>,
780*8bab661aSEmmanuel Vadot		 <&rpmcc RPM_SMD_BB_CLK1>;
781*8bab661aSEmmanuel Vadot
782*8bab661aSEmmanuel Vadot	vdd-buck-supply = <&vreg_s4a_1p8>;
783*8bab661aSEmmanuel Vadot	vdd-buck-sido-supply = <&vreg_s4a_1p8>;
784*8bab661aSEmmanuel Vadot	vdd-tx-supply = <&vreg_s4a_1p8>;
785*8bab661aSEmmanuel Vadot	vdd-rx-supply = <&vreg_s4a_1p8>;
786*8bab661aSEmmanuel Vadot	vdd-io-supply = <&vreg_s4a_1p8>;
787*8bab661aSEmmanuel Vadot};
788