xref: /linux/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts (revision 06d07429858317ded2db7986113a9e0129cd599b)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring#include "qcom-msm8974pro.dtsi"
3455a4c46SDmitry Baryshkov#include "pm8841.dtsi"
4455a4c46SDmitry Baryshkov#include "pm8941.dtsi"
5724ba675SRob Herring#include <dt-bindings/input/input.h>
6724ba675SRob Herring#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7724ba675SRob Herring
8724ba675SRob Herring/ {
9724ba675SRob Herring	model = "OnePlus One";
10724ba675SRob Herring	compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
11724ba675SRob Herring	chassis-type = "handset";
12724ba675SRob Herring	qcom,msm-id = <194 0x10000>;
13724ba675SRob Herring	qcom,board-id = <8 0>;
14724ba675SRob Herring
15724ba675SRob Herring	aliases {
16724ba675SRob Herring		serial0 = &blsp1_uart2;
17724ba675SRob Herring	};
18724ba675SRob Herring
19724ba675SRob Herring	chosen {
20724ba675SRob Herring		stdout-path = "serial0:115200n8";
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	gpio-keys {
24724ba675SRob Herring		compatible = "gpio-keys";
25724ba675SRob Herring
26724ba675SRob Herring		pinctrl-0 = <&gpio_keys_default>, <&gpio_hall_sensor_default>;
27724ba675SRob Herring		pinctrl-names = "default";
28724ba675SRob Herring
29724ba675SRob Herring		key-volume-down {
30724ba675SRob Herring			label = "Volume Down";
31724ba675SRob Herring			gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
32724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
33724ba675SRob Herring			wakeup-source;
34724ba675SRob Herring			debounce-interval = <15>;
35724ba675SRob Herring		};
36724ba675SRob Herring
37724ba675SRob Herring		key-volume-up {
38724ba675SRob Herring			label = "Volume Up";
39724ba675SRob Herring			gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
40724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
41724ba675SRob Herring			wakeup-source;
42724ba675SRob Herring			debounce-interval = <15>;
43724ba675SRob Herring		};
44724ba675SRob Herring
45724ba675SRob Herring		event-hall-sensor {
46724ba675SRob Herring			label = "Hall Effect Sensor";
47724ba675SRob Herring			gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
48724ba675SRob Herring			linux,input-type = <EV_SW>;
49724ba675SRob Herring			linux,code = <SW_LID>;
50724ba675SRob Herring			linux,can-disable;
51724ba675SRob Herring			debounce-interval = <150>;
52724ba675SRob Herring		};
53724ba675SRob Herring	};
5474eafc5fSDmitry Baryshkov
5574eafc5fSDmitry Baryshkov	vreg_boost: vreg-boost {
5674eafc5fSDmitry Baryshkov		compatible = "regulator-fixed";
5774eafc5fSDmitry Baryshkov
5874eafc5fSDmitry Baryshkov		regulator-name = "vreg-boost";
5974eafc5fSDmitry Baryshkov		regulator-min-microvolt = <3150000>;
6074eafc5fSDmitry Baryshkov		regulator-max-microvolt = <3150000>;
6174eafc5fSDmitry Baryshkov
6274eafc5fSDmitry Baryshkov		regulator-always-on;
6374eafc5fSDmitry Baryshkov		regulator-boot-on;
6474eafc5fSDmitry Baryshkov
6574eafc5fSDmitry Baryshkov		gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
6674eafc5fSDmitry Baryshkov		enable-active-high;
6774eafc5fSDmitry Baryshkov
6874eafc5fSDmitry Baryshkov		pinctrl-names = "default";
6974eafc5fSDmitry Baryshkov		pinctrl-0 = <&boost_bypass_n_pin>;
7074eafc5fSDmitry Baryshkov	};
7174eafc5fSDmitry Baryshkov
7274eafc5fSDmitry Baryshkov	vreg_vph_pwr: vreg-vph-pwr {
7374eafc5fSDmitry Baryshkov		compatible = "regulator-fixed";
7474eafc5fSDmitry Baryshkov		regulator-name = "vph-pwr";
7574eafc5fSDmitry Baryshkov
7674eafc5fSDmitry Baryshkov		regulator-min-microvolt = <3600000>;
7774eafc5fSDmitry Baryshkov		regulator-max-microvolt = <3600000>;
7874eafc5fSDmitry Baryshkov
7974eafc5fSDmitry Baryshkov		regulator-always-on;
8074eafc5fSDmitry Baryshkov	};
81724ba675SRob Herring};
82724ba675SRob Herring
83724ba675SRob Herring&blsp1_i2c1 {
84724ba675SRob Herring	status = "okay";
85724ba675SRob Herring
86724ba675SRob Herring	fuel-gauge@55 {
87724ba675SRob Herring		compatible = "ti,bq27541";
88724ba675SRob Herring		reg = <0x55>;
89724ba675SRob Herring		power-supplies = <&bq24196_charger>;
90724ba675SRob Herring	};
91724ba675SRob Herring};
92724ba675SRob Herring
93724ba675SRob Herring&blsp1_i2c2 {
94724ba675SRob Herring	status = "okay";
95724ba675SRob Herring
96724ba675SRob Herring	rmi4-i2c-dev@20 {
97724ba675SRob Herring		compatible = "syna,rmi4-i2c";
98724ba675SRob Herring		reg = <0x20>;
99724ba675SRob Herring
100724ba675SRob Herring		syna,startup-delay-ms = <100>;
101724ba675SRob Herring
102724ba675SRob Herring		interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
103724ba675SRob Herring		vdd-supply = <&pm8941_l22>;
104724ba675SRob Herring		vio-supply = <&pm8941_lvs3>;
105724ba675SRob Herring
106724ba675SRob Herring		pinctrl-names = "default";
107724ba675SRob Herring		pinctrl-0 = <&touch_default_state>;
108724ba675SRob Herring
109724ba675SRob Herring		#address-cells = <1>;
110724ba675SRob Herring		#size-cells = <0>;
111724ba675SRob Herring
112724ba675SRob Herring		rmi4-f01@1 {
113724ba675SRob Herring			reg = <0x1>;
114724ba675SRob Herring			syna,nosleep-mode = <1>;
115724ba675SRob Herring		};
116724ba675SRob Herring
117724ba675SRob Herring		rmi4-f12@12 {
118724ba675SRob Herring			reg = <0x12>;
119724ba675SRob Herring			syna,sensor-type = <1>;
120724ba675SRob Herring			/*
121724ba675SRob Herring			 * Touchscreen size is 2040x1080, y-values between
122724ba675SRob Herring			 * 1920-2040 are used for touchkey (menu, home & back).
123724ba675SRob Herring			 * For now clip it off so we don't get touch events
124724ba675SRob Herring			 * outside of the display area.
125724ba675SRob Herring			 */
126724ba675SRob Herring			syna,clip-y-high = <1920>;
127724ba675SRob Herring		};
128724ba675SRob Herring	};
129724ba675SRob Herring
130724ba675SRob Herring	led-controller@36 {
131724ba675SRob Herring		compatible = "ti,lm3630a";
132724ba675SRob Herring		reg = <0x36>;
133724ba675SRob Herring
134724ba675SRob Herring		#address-cells = <1>;
135724ba675SRob Herring		#size-cells = <0>;
136724ba675SRob Herring
137724ba675SRob Herring		led@0 {
138724ba675SRob Herring			reg = <0>;
139724ba675SRob Herring			led-sources = <0 1>;
140724ba675SRob Herring			label = "lcd-backlight";
141724ba675SRob Herring			default-brightness = <80>;
142724ba675SRob Herring		};
143724ba675SRob Herring	};
144724ba675SRob Herring
145724ba675SRob Herring	led-controller@68 {
146724ba675SRob Herring		compatible = "si-en,sn3193";
147724ba675SRob Herring		reg = <0x68>;
148724ba675SRob Herring
149724ba675SRob Herring		shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
150724ba675SRob Herring
151724ba675SRob Herring		#address-cells = <1>;
152724ba675SRob Herring		#size-cells = <0>;
153724ba675SRob Herring
154724ba675SRob Herring		led@1 {
155724ba675SRob Herring			reg = <1>;
156724ba675SRob Herring			label = "red:status";
157724ba675SRob Herring			led-max-microamp = <17500>;
158724ba675SRob Herring		};
159724ba675SRob Herring
160724ba675SRob Herring		led@2 {
161724ba675SRob Herring			reg = <2>;
162724ba675SRob Herring			label = "green:status";
163724ba675SRob Herring			led-max-microamp = <17500>;
164724ba675SRob Herring		};
165724ba675SRob Herring
166724ba675SRob Herring		led@3 {
167724ba675SRob Herring			reg = <3>;
168724ba675SRob Herring			label = "blue:status";
169724ba675SRob Herring			led-max-microamp = <17500>;
170724ba675SRob Herring		};
171724ba675SRob Herring	};
172724ba675SRob Herring};
173724ba675SRob Herring
174724ba675SRob Herring&blsp1_i2c6 {
175724ba675SRob Herring	status = "okay";
176724ba675SRob Herring
177724ba675SRob Herring	bq24196_charger: charger@6b {
178724ba675SRob Herring		compatible = "ti,bq24196";
179724ba675SRob Herring		reg = <0x6b>;
180724ba675SRob Herring		interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
181724ba675SRob Herring		omit-battery-class;
182724ba675SRob Herring	};
183724ba675SRob Herring};
184724ba675SRob Herring
185724ba675SRob Herring&blsp1_uart2 {
186724ba675SRob Herring	status = "okay";
187724ba675SRob Herring};
188724ba675SRob Herring
189724ba675SRob Herring&gcc {
190724ba675SRob Herring	compatible = "qcom,gcc-msm8974pro-ac";
191724ba675SRob Herring};
192724ba675SRob Herring
193724ba675SRob Herring&pm8941_coincell {
194724ba675SRob Herring	qcom,rset-ohms = <800>;
195724ba675SRob Herring	qcom,vset-millivolts = <3200>;
196724ba675SRob Herring
197724ba675SRob Herring	status = "okay";
198724ba675SRob Herring};
199724ba675SRob Herring
200724ba675SRob Herring&pm8941_gpios {
201724ba675SRob Herring	gpio_keys_default: gpio-keys-active-state {
202724ba675SRob Herring		pins = "gpio2", "gpio5";
203724ba675SRob Herring		function = "normal";
204724ba675SRob Herring		input-enable;
205724ba675SRob Herring		bias-disable;
206724ba675SRob Herring		power-source = <PM8941_GPIO_S3>;
207724ba675SRob Herring	};
208724ba675SRob Herring};
209724ba675SRob Herring
210724ba675SRob Herring&pm8941_vib {
211724ba675SRob Herring	status = "okay";
212724ba675SRob Herring};
213724ba675SRob Herring
214724ba675SRob Herring&pronto {
215724ba675SRob Herring	vddmx-supply = <&pm8841_s1>;
216724ba675SRob Herring	vddcx-supply = <&pm8841_s2>;
217724ba675SRob Herring	vddpx-supply = <&pm8941_s3>;
218724ba675SRob Herring
219724ba675SRob Herring	pinctrl-names = "default";
220724ba675SRob Herring	pinctrl-0 = <&wcnss_pin_a>;
221724ba675SRob Herring
222724ba675SRob Herring	status = "okay";
223724ba675SRob Herring
224724ba675SRob Herring	iris {
225724ba675SRob Herring		vddxo-supply = <&pm8941_l6>;
226724ba675SRob Herring		vddrfa-supply = <&pm8941_l11>;
227724ba675SRob Herring		vddpa-supply = <&pm8941_l19>;
228724ba675SRob Herring		vdddig-supply = <&pm8941_s3>;
229724ba675SRob Herring	};
230724ba675SRob Herring
231724ba675SRob Herring	smd-edge {
232724ba675SRob Herring		qcom,remote-pid = <4>;
233724ba675SRob Herring		label = "pronto";
234724ba675SRob Herring
235724ba675SRob Herring		wcnss {
236724ba675SRob Herring			status = "okay";
237724ba675SRob Herring		};
238724ba675SRob Herring	};
239724ba675SRob Herring};
240724ba675SRob Herring
241724ba675SRob Herring&remoteproc_adsp {
242724ba675SRob Herring	cx-supply = <&pm8841_s2>;
243724ba675SRob Herring
244724ba675SRob Herring	status = "okay";
245724ba675SRob Herring};
246724ba675SRob Herring
247724ba675SRob Herring&rpm_requests {
248724ba675SRob Herring	regulators-0 {
249724ba675SRob Herring		compatible = "qcom,rpm-pm8841-regulators";
250724ba675SRob Herring
251724ba675SRob Herring		pm8841_s1: s1 {
252724ba675SRob Herring			regulator-min-microvolt = <675000>;
253724ba675SRob Herring			regulator-max-microvolt = <1050000>;
254724ba675SRob Herring		};
255724ba675SRob Herring
256724ba675SRob Herring		pm8841_s2: s2 {
257724ba675SRob Herring			regulator-min-microvolt = <875000>;
258724ba675SRob Herring			regulator-max-microvolt = <1050000>;
259724ba675SRob Herring			regulator-always-on;
260724ba675SRob Herring		};
261724ba675SRob Herring
262724ba675SRob Herring		pm8841_s3: s3 {
263724ba675SRob Herring			regulator-min-microvolt = <1050000>;
264724ba675SRob Herring			regulator-max-microvolt = <1050000>;
265724ba675SRob Herring		};
266724ba675SRob Herring	};
267724ba675SRob Herring
268724ba675SRob Herring	regulators-1 {
269724ba675SRob Herring		compatible = "qcom,rpm-pm8941-regulators";
270724ba675SRob Herring
271724ba675SRob Herring		vdd_l1_l3-supply = <&pm8941_s1>;
272724ba675SRob Herring		vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
273724ba675SRob Herring		vdd_l4_l11-supply = <&pm8941_s1>;
274724ba675SRob Herring		vdd_l5_l7-supply = <&pm8941_s2>;
275724ba675SRob Herring		vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
276724ba675SRob Herring		vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
277724ba675SRob Herring		vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
278724ba675SRob Herring		vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
279724ba675SRob Herring		vdd_l21-supply = <&vreg_boost>;
280724ba675SRob Herring
281724ba675SRob Herring		pm8941_s1: s1 {
282724ba675SRob Herring			regulator-min-microvolt = <1300000>;
283724ba675SRob Herring			regulator-max-microvolt = <1300000>;
284724ba675SRob Herring
285724ba675SRob Herring			regulator-always-on;
286724ba675SRob Herring			regulator-boot-on;
287724ba675SRob Herring		};
288724ba675SRob Herring
289724ba675SRob Herring		pm8941_s2: s2 {
290724ba675SRob Herring			regulator-min-microvolt = <2150000>;
291724ba675SRob Herring			regulator-max-microvolt = <2150000>;
292724ba675SRob Herring
293724ba675SRob Herring			regulator-boot-on;
294724ba675SRob Herring		};
295724ba675SRob Herring
296724ba675SRob Herring		pm8941_s3: s3 {
297724ba675SRob Herring			regulator-min-microvolt = <1800000>;
298724ba675SRob Herring			regulator-max-microvolt = <1800000>;
299724ba675SRob Herring			regulator-system-load = <154000>;
300724ba675SRob Herring
301724ba675SRob Herring			regulator-always-on;
302724ba675SRob Herring			regulator-boot-on;
303724ba675SRob Herring			regulator-allow-set-load;
304724ba675SRob Herring		};
305724ba675SRob Herring
306724ba675SRob Herring		pm8941_l1: l1 {
307724ba675SRob Herring			regulator-min-microvolt = <1225000>;
308724ba675SRob Herring			regulator-max-microvolt = <1225000>;
309724ba675SRob Herring
310724ba675SRob Herring			regulator-always-on;
311724ba675SRob Herring			regulator-boot-on;
312724ba675SRob Herring		};
313724ba675SRob Herring
314724ba675SRob Herring		pm8941_l2: l2 {
315724ba675SRob Herring			regulator-min-microvolt = <1200000>;
316724ba675SRob Herring			regulator-max-microvolt = <1200000>;
317724ba675SRob Herring		};
318724ba675SRob Herring
319724ba675SRob Herring		pm8941_l3: l3 {
320724ba675SRob Herring			regulator-min-microvolt = <1225000>;
321724ba675SRob Herring			regulator-max-microvolt = <1225000>;
322724ba675SRob Herring		};
323724ba675SRob Herring
324724ba675SRob Herring		pm8941_l4: l4 {
325724ba675SRob Herring			regulator-min-microvolt = <1225000>;
326724ba675SRob Herring			regulator-max-microvolt = <1225000>;
327724ba675SRob Herring		};
328724ba675SRob Herring
329724ba675SRob Herring		pm8941_l5: l5 {
330724ba675SRob Herring			regulator-min-microvolt = <1800000>;
331724ba675SRob Herring			regulator-max-microvolt = <1800000>;
332724ba675SRob Herring		};
333724ba675SRob Herring
334724ba675SRob Herring		pm8941_l6: l6 {
335724ba675SRob Herring			regulator-min-microvolt = <1800000>;
336724ba675SRob Herring			regulator-max-microvolt = <1800000>;
337724ba675SRob Herring
338724ba675SRob Herring			regulator-boot-on;
339724ba675SRob Herring		};
340724ba675SRob Herring
341724ba675SRob Herring		pm8941_l7: l7 {
342724ba675SRob Herring			regulator-min-microvolt = <1800000>;
343724ba675SRob Herring			regulator-max-microvolt = <1800000>;
344724ba675SRob Herring
345724ba675SRob Herring			regulator-boot-on;
346724ba675SRob Herring		};
347724ba675SRob Herring
348724ba675SRob Herring		pm8941_l8: l8 {
349724ba675SRob Herring			regulator-min-microvolt = <1800000>;
350724ba675SRob Herring			regulator-max-microvolt = <1800000>;
351724ba675SRob Herring		};
352724ba675SRob Herring
353724ba675SRob Herring		pm8941_l9: l9 {
354724ba675SRob Herring			regulator-min-microvolt = <1800000>;
355724ba675SRob Herring			regulator-max-microvolt = <2950000>;
356724ba675SRob Herring		};
357724ba675SRob Herring
358724ba675SRob Herring		pm8941_l10: l10 {
359724ba675SRob Herring			regulator-min-microvolt = <1800000>;
360724ba675SRob Herring			regulator-max-microvolt = <2950000>;
361724ba675SRob Herring		};
362724ba675SRob Herring
363724ba675SRob Herring		pm8941_l11: l11 {
364724ba675SRob Herring			regulator-min-microvolt = <1225000>;
365724ba675SRob Herring			regulator-max-microvolt = <1350000>;
366724ba675SRob Herring		};
367724ba675SRob Herring
368724ba675SRob Herring		pm8941_l12: l12 {
369724ba675SRob Herring			regulator-min-microvolt = <1800000>;
370724ba675SRob Herring			regulator-max-microvolt = <1800000>;
371724ba675SRob Herring
372724ba675SRob Herring			regulator-always-on;
373724ba675SRob Herring			regulator-boot-on;
374724ba675SRob Herring			regulator-allow-set-load;
375724ba675SRob Herring		};
376724ba675SRob Herring
377724ba675SRob Herring		pm8941_l13: l13 {
378724ba675SRob Herring			regulator-min-microvolt = <1800000>;
379724ba675SRob Herring			regulator-max-microvolt = <2950000>;
380724ba675SRob Herring
381724ba675SRob Herring			regulator-boot-on;
382724ba675SRob Herring		};
383724ba675SRob Herring
384724ba675SRob Herring		pm8941_l14: l14 {
385724ba675SRob Herring			regulator-min-microvolt = <1800000>;
386724ba675SRob Herring			regulator-max-microvolt = <1800000>;
387724ba675SRob Herring		};
388724ba675SRob Herring
389724ba675SRob Herring		pm8941_l15: l15 {
390724ba675SRob Herring			regulator-min-microvolt = <2050000>;
391724ba675SRob Herring			regulator-max-microvolt = <2050000>;
392724ba675SRob Herring		};
393724ba675SRob Herring
394724ba675SRob Herring		pm8941_l16: l16 {
395724ba675SRob Herring			regulator-min-microvolt = <2700000>;
396724ba675SRob Herring			regulator-max-microvolt = <2700000>;
397724ba675SRob Herring		};
398724ba675SRob Herring
399724ba675SRob Herring		pm8941_l17: l17 {
400724ba675SRob Herring			regulator-min-microvolt = <2850000>;
401724ba675SRob Herring			regulator-max-microvolt = <2850000>;
402724ba675SRob Herring		};
403724ba675SRob Herring
404724ba675SRob Herring		pm8941_l18: l18 {
405724ba675SRob Herring			regulator-min-microvolt = <2850000>;
406724ba675SRob Herring			regulator-max-microvolt = <2850000>;
407724ba675SRob Herring		};
408724ba675SRob Herring
409724ba675SRob Herring		pm8941_l19: l19 {
410724ba675SRob Herring			regulator-min-microvolt = <2900000>;
411724ba675SRob Herring			regulator-max-microvolt = <3350000>;
412724ba675SRob Herring		};
413724ba675SRob Herring
414724ba675SRob Herring		pm8941_l20: l20 {
415724ba675SRob Herring			regulator-min-microvolt = <2950000>;
416724ba675SRob Herring			regulator-max-microvolt = <2950000>;
417724ba675SRob Herring
418724ba675SRob Herring			regulator-system-load = <200000>;
419724ba675SRob Herring			regulator-allow-set-load;
420724ba675SRob Herring			regulator-boot-on;
421724ba675SRob Herring		};
422724ba675SRob Herring
423724ba675SRob Herring		pm8941_l21: l21 {
424724ba675SRob Herring			regulator-min-microvolt = <2950000>;
425724ba675SRob Herring			regulator-max-microvolt = <2950000>;
426724ba675SRob Herring
427724ba675SRob Herring			regulator-boot-on;
428724ba675SRob Herring		};
429724ba675SRob Herring
430724ba675SRob Herring		pm8941_l22: l22 {
431724ba675SRob Herring			regulator-min-microvolt = <3000000>;
432724ba675SRob Herring			regulator-max-microvolt = <3000000>;
433724ba675SRob Herring			regulator-allow-set-load;
434724ba675SRob Herring		};
435724ba675SRob Herring
436724ba675SRob Herring		pm8941_l23: l23 {
437724ba675SRob Herring			regulator-min-microvolt = <3000000>;
438724ba675SRob Herring			regulator-max-microvolt = <3000000>;
439724ba675SRob Herring		};
440724ba675SRob Herring
441724ba675SRob Herring		pm8941_l24: l24 {
442724ba675SRob Herring			regulator-min-microvolt = <3075000>;
443724ba675SRob Herring			regulator-max-microvolt = <3075000>;
444724ba675SRob Herring
445724ba675SRob Herring			regulator-boot-on;
446724ba675SRob Herring		};
447724ba675SRob Herring
448724ba675SRob Herring		pm8941_lvs3: lvs3 {};
449724ba675SRob Herring	};
450724ba675SRob Herring};
451724ba675SRob Herring
452724ba675SRob Herring&sdhc_1 {
453724ba675SRob Herring	vmmc-supply = <&pm8941_l20>;
454724ba675SRob Herring	vqmmc-supply = <&pm8941_s3>;
455724ba675SRob Herring
456724ba675SRob Herring	pinctrl-names = "default", "sleep";
457724ba675SRob Herring	pinctrl-0 = <&sdc1_on>;
458724ba675SRob Herring	pinctrl-1 = <&sdc1_off>;
459724ba675SRob Herring
460724ba675SRob Herring	status = "okay";
461724ba675SRob Herring};
462724ba675SRob Herring
463*c9c8179dSBryant Mairs&smbb {
464*c9c8179dSBryant Mairs	status = "okay";
465*c9c8179dSBryant Mairs};
466*c9c8179dSBryant Mairs
467724ba675SRob Herring&tlmm {
468724ba675SRob Herring	gpio_hall_sensor_default: gpio-hall-sensor-default-state {
469724ba675SRob Herring		pins = "gpio68";
470724ba675SRob Herring		function = "gpio";
471724ba675SRob Herring		drive-strength = <8>;
472724ba675SRob Herring		bias-pull-up;
473724ba675SRob Herring	};
474724ba675SRob Herring
475724ba675SRob Herring	sdc1_on: sdc1-on-state {
476724ba675SRob Herring		clk-pins {
477724ba675SRob Herring			pins = "sdc1_clk";
478724ba675SRob Herring			drive-strength = <4>;
479724ba675SRob Herring			bias-disable;
480724ba675SRob Herring		};
481724ba675SRob Herring
482724ba675SRob Herring		cmd-data-pins {
483724ba675SRob Herring			pins = "sdc1_cmd", "sdc1_data";
484724ba675SRob Herring			drive-strength = <4>;
485724ba675SRob Herring			bias-pull-up;
486724ba675SRob Herring		};
487724ba675SRob Herring	};
488724ba675SRob Herring
489724ba675SRob Herring	touch_default_state: touch-default-state {
490724ba675SRob Herring		int-pins {
491724ba675SRob Herring			pins = "gpio61";
492724ba675SRob Herring			function = "gpio";
493724ba675SRob Herring			drive-strength = <2>;
494724ba675SRob Herring			bias-disable;
495724ba675SRob Herring		};
496724ba675SRob Herring
497724ba675SRob Herring		reset-pins {
498724ba675SRob Herring			pins = "gpio60";
499724ba675SRob Herring			function = "gpio";
500724ba675SRob Herring			drive-strength = <2>;
501724ba675SRob Herring			bias-pull-up;
502724ba675SRob Herring		};
503724ba675SRob Herring	};
504724ba675SRob Herring
505724ba675SRob Herring	wcnss_pin_a: wcnss-pin-active-state {
506724ba675SRob Herring		wlan-pins {
507724ba675SRob Herring			pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
508724ba675SRob Herring			function = "wlan";
509724ba675SRob Herring			drive-strength = <6>;
510724ba675SRob Herring			bias-pull-down;
511724ba675SRob Herring		};
512724ba675SRob Herring
513724ba675SRob Herring		bt-pins {
514724ba675SRob Herring			pins = "gpio35", "gpio43", "gpio44";
515724ba675SRob Herring			function = "bt";
516724ba675SRob Herring			drive-strength = <2>;
517724ba675SRob Herring			bias-pull-down;
518724ba675SRob Herring		};
519724ba675SRob Herring	};
520724ba675SRob Herring};
521724ba675SRob Herring
522724ba675SRob Herring&usb {
523724ba675SRob Herring	phys = <&usb_hs1_phy>;
524724ba675SRob Herring	phy-select = <&tcsr 0xb000 0>;
525724ba675SRob Herring	extcon = <&smbb>, <&usb_id>;
526724ba675SRob Herring	vbus-supply = <&chg_otg>;
527724ba675SRob Herring
528724ba675SRob Herring	hnp-disable;
529724ba675SRob Herring	srp-disable;
530724ba675SRob Herring	adp-disable;
531724ba675SRob Herring
532724ba675SRob Herring	status = "okay";
533724ba675SRob Herring};
534724ba675SRob Herring
535724ba675SRob Herring&usb_hs1_phy {
536724ba675SRob Herring	status = "okay";
537724ba675SRob Herring
538724ba675SRob Herring	v1p8-supply = <&pm8941_l6>;
539724ba675SRob Herring	v3p3-supply = <&pm8941_l24>;
540724ba675SRob Herring
541724ba675SRob Herring	extcon = <&smbb>;
542724ba675SRob Herring	qcom,init-seq = /bits/ 8 <0x1 0x64>;
543724ba675SRob Herring};
544