xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974-sony-xperia-rhine.dtsi (revision 06d07429858317ded2db7986113a9e0129cd599b)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring#include "qcom-msm8974.dtsi"
3455a4c46SDmitry Baryshkov#include "pm8841.dtsi"
4455a4c46SDmitry Baryshkov#include "pm8941.dtsi"
5724ba675SRob Herring#include <dt-bindings/input/input.h>
6724ba675SRob Herring#include <dt-bindings/leds/common.h>
7724ba675SRob Herring#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8724ba675SRob Herring
9724ba675SRob Herring/ {
10724ba675SRob Herring	aliases {
11724ba675SRob Herring		serial0 = &blsp1_uart2;
12724ba675SRob Herring	};
13724ba675SRob Herring
14724ba675SRob Herring	chosen {
15724ba675SRob Herring		stdout-path = "serial0:115200n8";
16724ba675SRob Herring	};
17724ba675SRob Herring
18724ba675SRob Herring	gpio-keys {
19724ba675SRob Herring		compatible = "gpio-keys";
20724ba675SRob Herring
21724ba675SRob Herring		pinctrl-names = "default";
22724ba675SRob Herring		pinctrl-0 = <&gpio_keys_pin_a>;
23724ba675SRob Herring
24724ba675SRob Herring		key-volume-down {
25724ba675SRob Herring			label = "volume_down";
26724ba675SRob Herring			gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
27724ba675SRob Herring			linux,input-type = <1>;
28724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
29724ba675SRob Herring		};
30724ba675SRob Herring
31724ba675SRob Herring		key-camera-snapshot {
32724ba675SRob Herring			label = "camera_snapshot";
33724ba675SRob Herring			gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
34724ba675SRob Herring			linux,input-type = <1>;
35724ba675SRob Herring			linux,code = <KEY_CAMERA>;
36724ba675SRob Herring		};
37724ba675SRob Herring
38724ba675SRob Herring		key-camera-focus {
39724ba675SRob Herring			label = "camera_focus";
40724ba675SRob Herring			gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
41724ba675SRob Herring			linux,input-type = <1>;
42724ba675SRob Herring			linux,code = <KEY_CAMERA_FOCUS>;
43724ba675SRob Herring		};
44724ba675SRob Herring
45724ba675SRob Herring		key-volume-up {
46724ba675SRob Herring			label = "volume_up";
47724ba675SRob Herring			gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
48724ba675SRob Herring			linux,input-type = <1>;
49724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
50724ba675SRob Herring		};
51724ba675SRob Herring	};
52724ba675SRob Herring
53724ba675SRob Herring	reserved-memory {
54724ba675SRob Herring		#address-cells = <1>;
55724ba675SRob Herring		#size-cells = <1>;
56724ba675SRob Herring		ranges;
57724ba675SRob Herring
58724ba675SRob Herring		ramoops@3e8e0000 {
59724ba675SRob Herring			compatible = "ramoops";
60724ba675SRob Herring			reg = <0x3e8e0000 0x200000>;
61724ba675SRob Herring
62724ba675SRob Herring			console-size = <0x100000>;
63724ba675SRob Herring			record-size = <0x10000>;
64724ba675SRob Herring			ftrace-size = <0x10000>;
65724ba675SRob Herring			pmsg-size = <0x80000>;
66724ba675SRob Herring		};
67724ba675SRob Herring	};
6874eafc5fSDmitry Baryshkov
6974eafc5fSDmitry Baryshkov	vreg_boost: vreg-boost {
7074eafc5fSDmitry Baryshkov		compatible = "regulator-fixed";
7174eafc5fSDmitry Baryshkov
7274eafc5fSDmitry Baryshkov		regulator-name = "vreg-boost";
7374eafc5fSDmitry Baryshkov		regulator-min-microvolt = <3150000>;
7474eafc5fSDmitry Baryshkov		regulator-max-microvolt = <3150000>;
7574eafc5fSDmitry Baryshkov
7674eafc5fSDmitry Baryshkov		regulator-always-on;
7774eafc5fSDmitry Baryshkov		regulator-boot-on;
7874eafc5fSDmitry Baryshkov
7974eafc5fSDmitry Baryshkov		gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
8074eafc5fSDmitry Baryshkov		enable-active-high;
8174eafc5fSDmitry Baryshkov
8274eafc5fSDmitry Baryshkov		pinctrl-names = "default";
8374eafc5fSDmitry Baryshkov		pinctrl-0 = <&boost_bypass_n_pin>;
8474eafc5fSDmitry Baryshkov	};
8574eafc5fSDmitry Baryshkov
8674eafc5fSDmitry Baryshkov	vreg_vph_pwr: vreg-vph-pwr {
8774eafc5fSDmitry Baryshkov		compatible = "regulator-fixed";
8874eafc5fSDmitry Baryshkov		regulator-name = "vph-pwr";
8974eafc5fSDmitry Baryshkov
9074eafc5fSDmitry Baryshkov		regulator-min-microvolt = <3600000>;
9174eafc5fSDmitry Baryshkov		regulator-max-microvolt = <3600000>;
9274eafc5fSDmitry Baryshkov
9374eafc5fSDmitry Baryshkov		regulator-always-on;
9474eafc5fSDmitry Baryshkov	};
95724ba675SRob Herring};
96724ba675SRob Herring
97724ba675SRob Herring&blsp1_i2c2 {
98724ba675SRob Herring	status = "okay";
99724ba675SRob Herring	clock-frequency = <355000>;
100724ba675SRob Herring
101724ba675SRob Herring	synaptics@2c {
102724ba675SRob Herring		compatible = "syna,rmi4-i2c";
103724ba675SRob Herring		reg = <0x2c>;
104724ba675SRob Herring
105724ba675SRob Herring		interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
106724ba675SRob Herring
107724ba675SRob Herring		#address-cells = <1>;
108724ba675SRob Herring		#size-cells = <0>;
109724ba675SRob Herring
110724ba675SRob Herring		vdd-supply = <&pm8941_l22>;
111724ba675SRob Herring		vio-supply = <&pm8941_lvs3>;
112724ba675SRob Herring
113724ba675SRob Herring		pinctrl-names = "default";
114724ba675SRob Herring		pinctrl-0 = <&ts_int_pin>;
115724ba675SRob Herring
116724ba675SRob Herring		syna,startup-delay-ms = <10>;
117724ba675SRob Herring
118724ba675SRob Herring		rmi4-f01@1 {
119724ba675SRob Herring			reg = <0x1>;
120724ba675SRob Herring			syna,nosleep-mode = <1>;
121724ba675SRob Herring		};
122724ba675SRob Herring
123724ba675SRob Herring		rmi4-f11@11 {
124724ba675SRob Herring			reg = <0x11>;
125724ba675SRob Herring			touchscreen-inverted-x;
126724ba675SRob Herring			syna,sensor-type = <1>;
127724ba675SRob Herring		};
128724ba675SRob Herring	};
129724ba675SRob Herring};
130724ba675SRob Herring
131724ba675SRob Herring&blsp1_i2c6 {
132724ba675SRob Herring	status = "okay";
133724ba675SRob Herring	clock-frequency = <355000>;
134724ba675SRob Herring
135724ba675SRob Herring	nfc@28 {
136724ba675SRob Herring		compatible = "nxp,pn544-i2c";
137724ba675SRob Herring		reg = <0x28>;
138724ba675SRob Herring
139724ba675SRob Herring		interrupt-parent = <&tlmm>;
140724ba675SRob Herring		interrupts = <59 IRQ_TYPE_EDGE_RISING>;
141724ba675SRob Herring
142724ba675SRob Herring		enable-gpios = <&pm8941_gpios 23 GPIO_ACTIVE_HIGH>;
143724ba675SRob Herring		firmware-gpios = <&tlmm 77 GPIO_ACTIVE_HIGH>;
144724ba675SRob Herring	};
145724ba675SRob Herring};
146724ba675SRob Herring
147724ba675SRob Herring&blsp1_uart2 {
148724ba675SRob Herring	status = "okay";
149724ba675SRob Herring};
150724ba675SRob Herring
151724ba675SRob Herring&blsp2_dma {
152724ba675SRob Herring	qcom,controlled-remotely;
153724ba675SRob Herring};
154724ba675SRob Herring
155724ba675SRob Herring&blsp2_i2c5 {
156724ba675SRob Herring	status = "okay";
157724ba675SRob Herring	clock-frequency = <355000>;
158724ba675SRob Herring
159724ba675SRob Herring	/* sii8334 MHL HDMI bridge */
160724ba675SRob Herring};
161724ba675SRob Herring
162724ba675SRob Herring&pm8941_coincell {
163724ba675SRob Herring	status = "okay";
164724ba675SRob Herring	qcom,rset-ohms = <2100>;
165724ba675SRob Herring	qcom,vset-millivolts = <3000>;
166724ba675SRob Herring};
167724ba675SRob Herring
168724ba675SRob Herring&pm8941_gpios {
169724ba675SRob Herring	gpio_keys_pin_a: gpio-keys-active-state {
170724ba675SRob Herring		pins = "gpio2", "gpio3", "gpio4", "gpio5";
171724ba675SRob Herring		function = "normal";
172724ba675SRob Herring
173724ba675SRob Herring		bias-pull-up;
174724ba675SRob Herring		power-source = <PM8941_GPIO_S3>;
175724ba675SRob Herring	};
176724ba675SRob Herring};
177724ba675SRob Herring
178724ba675SRob Herring&pm8941_lpg {
179724ba675SRob Herring	status = "okay";
180724ba675SRob Herring
181724ba675SRob Herring	qcom,power-source = <1>;
182724ba675SRob Herring
183724ba675SRob Herring	multi-led {
184724ba675SRob Herring		color = <LED_COLOR_ID_RGB>;
185724ba675SRob Herring		function = LED_FUNCTION_STATUS;
186724ba675SRob Herring
187724ba675SRob Herring		#address-cells = <1>;
188724ba675SRob Herring		#size-cells = <0>;
189724ba675SRob Herring
190724ba675SRob Herring		led@5 {
191724ba675SRob Herring			reg = <5>;
192724ba675SRob Herring			color = <LED_COLOR_ID_BLUE>;
193724ba675SRob Herring		};
194724ba675SRob Herring
195724ba675SRob Herring		led@6 {
196724ba675SRob Herring			reg = <6>;
197724ba675SRob Herring			color = <LED_COLOR_ID_GREEN>;
198724ba675SRob Herring		};
199724ba675SRob Herring
200724ba675SRob Herring		led@7 {
201724ba675SRob Herring			reg = <7>;
202724ba675SRob Herring			color = <LED_COLOR_ID_RED>;
203724ba675SRob Herring		};
204724ba675SRob Herring	};
205724ba675SRob Herring};
206724ba675SRob Herring
207724ba675SRob Herring&pm8941_wled {
208724ba675SRob Herring	status = "okay";
209724ba675SRob Herring
210724ba675SRob Herring	qcom,cs-out;
211724ba675SRob Herring	qcom,current-limit = <20>;
212724ba675SRob Herring	qcom,current-boost-limit = <805>;
213724ba675SRob Herring	qcom,switching-freq = <1600>;
214724ba675SRob Herring	qcom,ovp = <29>;
215724ba675SRob Herring	qcom,num-strings = <2>;
216724ba675SRob Herring};
217724ba675SRob Herring
218724ba675SRob Herring&remoteproc_adsp {
219724ba675SRob Herring	cx-supply = <&pm8841_s2>;
220*648002a2SLuca Weiss	status = "okay";
221724ba675SRob Herring};
222724ba675SRob Herring
223724ba675SRob Herring&remoteproc_mss {
224724ba675SRob Herring	cx-supply = <&pm8841_s2>;
225724ba675SRob Herring	mss-supply = <&pm8841_s3>;
226724ba675SRob Herring	mx-supply = <&pm8841_s1>;
227724ba675SRob Herring	pll-supply = <&pm8941_l12>;
228*648002a2SLuca Weiss	status = "okay";
229724ba675SRob Herring};
230724ba675SRob Herring
231724ba675SRob Herring&rpm_requests {
232724ba675SRob Herring	regulators-0 {
233724ba675SRob Herring		compatible = "qcom,rpm-pm8841-regulators";
234724ba675SRob Herring
235724ba675SRob Herring		pm8841_s1: s1 {
236724ba675SRob Herring			regulator-min-microvolt = <675000>;
237724ba675SRob Herring			regulator-max-microvolt = <1050000>;
238724ba675SRob Herring		};
239724ba675SRob Herring
240724ba675SRob Herring		pm8841_s2: s2 {
241724ba675SRob Herring			regulator-min-microvolt = <500000>;
242724ba675SRob Herring			regulator-max-microvolt = <1050000>;
243724ba675SRob Herring		};
244724ba675SRob Herring
245724ba675SRob Herring		pm8841_s3: s3 {
246724ba675SRob Herring			regulator-min-microvolt = <500000>;
247724ba675SRob Herring			regulator-max-microvolt = <1050000>;
248724ba675SRob Herring		};
249724ba675SRob Herring
250724ba675SRob Herring		pm8841_s4: s4 {
251724ba675SRob Herring			regulator-min-microvolt = <500000>;
252724ba675SRob Herring			regulator-max-microvolt = <1050000>;
253724ba675SRob Herring		};
254724ba675SRob Herring	};
255724ba675SRob Herring
256724ba675SRob Herring	regulators-1 {
257724ba675SRob Herring		compatible = "qcom,rpm-pm8941-regulators";
258724ba675SRob Herring
259724ba675SRob Herring		vdd_l1_l3-supply = <&pm8941_s1>;
260724ba675SRob Herring		vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
261724ba675SRob Herring		vdd_l4_l11-supply = <&pm8941_s1>;
262724ba675SRob Herring		vdd_l5_l7-supply = <&pm8941_s2>;
263724ba675SRob Herring		vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
264724ba675SRob Herring		vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
265724ba675SRob Herring		vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
266724ba675SRob Herring		vdd_l21-supply = <&vreg_boost>;
267724ba675SRob Herring
268724ba675SRob Herring		pm8941_s1: s1 {
269724ba675SRob Herring			regulator-min-microvolt = <1300000>;
270724ba675SRob Herring			regulator-max-microvolt = <1300000>;
271724ba675SRob Herring			regulator-always-on;
272724ba675SRob Herring			regulator-boot-on;
273724ba675SRob Herring		};
274724ba675SRob Herring
275724ba675SRob Herring		pm8941_s2: s2 {
276724ba675SRob Herring			regulator-min-microvolt = <2150000>;
277724ba675SRob Herring			regulator-max-microvolt = <2150000>;
278724ba675SRob Herring			regulator-boot-on;
279724ba675SRob Herring		};
280724ba675SRob Herring
281724ba675SRob Herring		pm8941_s3: s3 {
282724ba675SRob Herring			regulator-min-microvolt = <1800000>;
283724ba675SRob Herring			regulator-max-microvolt = <1800000>;
284724ba675SRob Herring			regulator-always-on;
285724ba675SRob Herring			regulator-boot-on;
286724ba675SRob Herring		};
287724ba675SRob Herring
288724ba675SRob Herring		pm8941_s4: s4 {
289724ba675SRob Herring			regulator-min-microvolt = <5000000>;
290724ba675SRob Herring			regulator-max-microvolt = <5000000>;
291724ba675SRob Herring		};
292724ba675SRob Herring
293724ba675SRob Herring		pm8941_l1: l1 {
294724ba675SRob Herring			regulator-min-microvolt = <1225000>;
295724ba675SRob Herring			regulator-max-microvolt = <1225000>;
296724ba675SRob Herring			regulator-always-on;
297724ba675SRob Herring			regulator-boot-on;
298724ba675SRob Herring		};
299724ba675SRob Herring
300724ba675SRob Herring		pm8941_l2: l2 {
301724ba675SRob Herring			regulator-min-microvolt = <1200000>;
302724ba675SRob Herring			regulator-max-microvolt = <1200000>;
303724ba675SRob Herring		};
304724ba675SRob Herring
305724ba675SRob Herring		pm8941_l3: l3 {
306724ba675SRob Herring			regulator-min-microvolt = <1200000>;
307724ba675SRob Herring			regulator-max-microvolt = <1200000>;
308724ba675SRob Herring		};
309724ba675SRob Herring
310724ba675SRob Herring		pm8941_l4: l4 {
311724ba675SRob Herring			regulator-min-microvolt = <1225000>;
312724ba675SRob Herring			regulator-max-microvolt = <1225000>;
313724ba675SRob Herring		};
314724ba675SRob Herring
315724ba675SRob Herring		pm8941_l5: l5 {
316724ba675SRob Herring			regulator-min-microvolt = <1800000>;
317724ba675SRob Herring			regulator-max-microvolt = <1800000>;
318724ba675SRob Herring		};
319724ba675SRob Herring
320724ba675SRob Herring		pm8941_l6: l6 {
321724ba675SRob Herring			regulator-min-microvolt = <1800000>;
322724ba675SRob Herring			regulator-max-microvolt = <1800000>;
323724ba675SRob Herring			regulator-boot-on;
324724ba675SRob Herring		};
325724ba675SRob Herring
326724ba675SRob Herring		pm8941_l7: l7 {
327724ba675SRob Herring			regulator-min-microvolt = <1800000>;
328724ba675SRob Herring			regulator-max-microvolt = <1800000>;
329724ba675SRob Herring			regulator-boot-on;
330724ba675SRob Herring		};
331724ba675SRob Herring
332724ba675SRob Herring		pm8941_l8: l8 {
333724ba675SRob Herring			regulator-min-microvolt = <1800000>;
334724ba675SRob Herring			regulator-max-microvolt = <1800000>;
335724ba675SRob Herring		};
336724ba675SRob Herring
337724ba675SRob Herring		pm8941_l9: l9 {
338724ba675SRob Herring			regulator-min-microvolt = <1800000>;
339724ba675SRob Herring			regulator-max-microvolt = <2950000>;
340724ba675SRob Herring		};
341724ba675SRob Herring
342724ba675SRob Herring		pm8941_l11: l11 {
343724ba675SRob Herring			regulator-min-microvolt = <1300000>;
344724ba675SRob Herring			regulator-max-microvolt = <1350000>;
345724ba675SRob Herring		};
346724ba675SRob Herring
347724ba675SRob Herring		pm8941_l12: l12 {
348724ba675SRob Herring			regulator-min-microvolt = <1800000>;
349724ba675SRob Herring			regulator-max-microvolt = <1800000>;
350724ba675SRob Herring			regulator-always-on;
351724ba675SRob Herring			regulator-boot-on;
352724ba675SRob Herring		};
353724ba675SRob Herring
354724ba675SRob Herring		pm8941_l13: l13 {
355724ba675SRob Herring			regulator-min-microvolt = <1800000>;
356724ba675SRob Herring			regulator-max-microvolt = <2950000>;
357724ba675SRob Herring			regulator-boot-on;
358724ba675SRob Herring		};
359724ba675SRob Herring
360724ba675SRob Herring		pm8941_l14: l14 {
361724ba675SRob Herring			regulator-min-microvolt = <1800000>;
362724ba675SRob Herring			regulator-max-microvolt = <1800000>;
363724ba675SRob Herring		};
364724ba675SRob Herring
365724ba675SRob Herring		pm8941_l15: l15 {
366724ba675SRob Herring			regulator-min-microvolt = <2050000>;
367724ba675SRob Herring			regulator-max-microvolt = <2050000>;
368724ba675SRob Herring		};
369724ba675SRob Herring
370724ba675SRob Herring		pm8941_l16: l16 {
371724ba675SRob Herring			regulator-min-microvolt = <2700000>;
372724ba675SRob Herring			regulator-max-microvolt = <2700000>;
373724ba675SRob Herring		};
374724ba675SRob Herring
375724ba675SRob Herring		pm8941_l17: l17 {
376724ba675SRob Herring			regulator-min-microvolt = <2700000>;
377724ba675SRob Herring			regulator-max-microvolt = <2700000>;
378724ba675SRob Herring		};
379724ba675SRob Herring
380724ba675SRob Herring		pm8941_l18: l18 {
381724ba675SRob Herring			regulator-min-microvolt = <2850000>;
382724ba675SRob Herring			regulator-max-microvolt = <2850000>;
383724ba675SRob Herring		};
384724ba675SRob Herring
385724ba675SRob Herring		pm8941_l19: l19 {
386724ba675SRob Herring			regulator-min-microvolt = <3300000>;
387724ba675SRob Herring			regulator-max-microvolt = <3300000>;
388724ba675SRob Herring		};
389724ba675SRob Herring
390724ba675SRob Herring		pm8941_l20: l20 {
391724ba675SRob Herring			regulator-min-microvolt = <2950000>;
392724ba675SRob Herring			regulator-max-microvolt = <2950000>;
393724ba675SRob Herring			regulator-system-load = <200000>;
394724ba675SRob Herring			regulator-allow-set-load;
395724ba675SRob Herring			regulator-boot-on;
396724ba675SRob Herring		};
397724ba675SRob Herring
398724ba675SRob Herring		pm8941_l21: l21 {
399724ba675SRob Herring			regulator-min-microvolt = <2950000>;
400724ba675SRob Herring			regulator-max-microvolt = <2950000>;
401724ba675SRob Herring			regulator-boot-on;
402724ba675SRob Herring		};
403724ba675SRob Herring
404724ba675SRob Herring		pm8941_l22: l22 {
405724ba675SRob Herring			regulator-min-microvolt = <3000000>;
406724ba675SRob Herring			regulator-max-microvolt = <3000000>;
407724ba675SRob Herring		};
408724ba675SRob Herring
409724ba675SRob Herring		pm8941_l23: l23 {
410724ba675SRob Herring			regulator-min-microvolt = <2800000>;
411724ba675SRob Herring			regulator-max-microvolt = <2800000>;
412724ba675SRob Herring		};
413724ba675SRob Herring
414724ba675SRob Herring		pm8941_l24: l24 {
415724ba675SRob Herring			regulator-min-microvolt = <3075000>;
416724ba675SRob Herring			regulator-max-microvolt = <3075000>;
417724ba675SRob Herring			regulator-boot-on;
418724ba675SRob Herring		};
419724ba675SRob Herring
420724ba675SRob Herring		pm8941_lvs3: lvs3 {};
421724ba675SRob Herring	};
422724ba675SRob Herring};
423724ba675SRob Herring
424724ba675SRob Herring&sdhc_1 {
425724ba675SRob Herring	status = "okay";
426724ba675SRob Herring
427724ba675SRob Herring	vmmc-supply = <&pm8941_l20>;
428724ba675SRob Herring	vqmmc-supply = <&pm8941_s3>;
429724ba675SRob Herring
430724ba675SRob Herring	pinctrl-names = "default", "sleep";
431724ba675SRob Herring	pinctrl-0 = <&sdc1_on>;
432724ba675SRob Herring	pinctrl-1 = <&sdc1_off>;
433724ba675SRob Herring};
434724ba675SRob Herring
435724ba675SRob Herring&sdhc_2 {
436724ba675SRob Herring	status = "okay";
437724ba675SRob Herring
438724ba675SRob Herring	vmmc-supply = <&pm8941_l21>;
439724ba675SRob Herring	vqmmc-supply = <&pm8941_l13>;
440724ba675SRob Herring
441724ba675SRob Herring	cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
442724ba675SRob Herring
443724ba675SRob Herring	pinctrl-names = "default", "sleep";
444724ba675SRob Herring	pinctrl-0 = <&sdc2_on>;
445724ba675SRob Herring	pinctrl-1 = <&sdc2_off>;
446724ba675SRob Herring};
447724ba675SRob Herring
448724ba675SRob Herring&smbb {
449724ba675SRob Herring	qcom,fast-charge-safe-current = <1500000>;
450724ba675SRob Herring	qcom,fast-charge-current-limit = <1500000>;
451724ba675SRob Herring	qcom,dc-current-limit = <1800000>;
452724ba675SRob Herring	qcom,fast-charge-safe-voltage = <4400000>;
453724ba675SRob Herring	qcom,fast-charge-high-threshold-voltage = <4350000>;
454724ba675SRob Herring	qcom,fast-charge-low-threshold-voltage = <3400000>;
455724ba675SRob Herring	qcom,auto-recharge-threshold-voltage = <4200000>;
456724ba675SRob Herring	qcom,minimum-input-voltage = <4300000>;
457c9c8179dSBryant Mairs
458c9c8179dSBryant Mairs	status = "okay";
459724ba675SRob Herring};
460724ba675SRob Herring
461724ba675SRob Herring&tlmm {
462724ba675SRob Herring	ts_int_pin: touch-int-state {
463724ba675SRob Herring		pins = "gpio61";
464724ba675SRob Herring		function = "gpio";
465724ba675SRob Herring		drive-strength = <2>;
466724ba675SRob Herring		bias-disable;
467724ba675SRob Herring	};
468724ba675SRob Herring
469724ba675SRob Herring	sdc1_on: sdc1-on-state {
470724ba675SRob Herring		clk-pins {
471724ba675SRob Herring			pins = "sdc1_clk";
472724ba675SRob Herring			drive-strength = <16>;
473724ba675SRob Herring			bias-disable;
474724ba675SRob Herring		};
475724ba675SRob Herring
476724ba675SRob Herring		cmd-data-pins {
477724ba675SRob Herring			pins = "sdc1_cmd", "sdc1_data";
478724ba675SRob Herring			drive-strength = <10>;
479724ba675SRob Herring			bias-pull-up;
480724ba675SRob Herring		};
481724ba675SRob Herring	};
482724ba675SRob Herring
483724ba675SRob Herring	sdc2_on: sdc-on-state {
484724ba675SRob Herring		clk-pins {
485724ba675SRob Herring			pins = "sdc2_clk";
486724ba675SRob Herring			drive-strength = <10>;
487724ba675SRob Herring			bias-disable;
488724ba675SRob Herring		};
489724ba675SRob Herring
490724ba675SRob Herring		cmd-data-pins {
491724ba675SRob Herring			pins = "sdc2_cmd", "sdc2_data";
492724ba675SRob Herring			drive-strength = <6>;
493724ba675SRob Herring			bias-pull-up;
494724ba675SRob Herring		};
495724ba675SRob Herring
496724ba675SRob Herring		cd-pins {
497724ba675SRob Herring			pins = "gpio62";
498724ba675SRob Herring			function = "gpio";
499724ba675SRob Herring			drive-strength = <2>;
500724ba675SRob Herring			bias-disable;
501724ba675SRob Herring		};
502724ba675SRob Herring	};
503724ba675SRob Herring};
504724ba675SRob Herring
505724ba675SRob Herring&usb {
506724ba675SRob Herring	status = "okay";
507724ba675SRob Herring
508724ba675SRob Herring	phys = <&usb_hs1_phy>;
509724ba675SRob Herring	phy-select = <&tcsr 0xb000 0>;
510724ba675SRob Herring	extcon = <&smbb>, <&usb_id>;
511724ba675SRob Herring	vbus-supply = <&chg_otg>;
512724ba675SRob Herring
513724ba675SRob Herring	hnp-disable;
514724ba675SRob Herring	srp-disable;
515724ba675SRob Herring	adp-disable;
516724ba675SRob Herring};
517724ba675SRob Herring
518724ba675SRob Herring&usb_hs1_phy {
519724ba675SRob Herring	status = "okay";
520724ba675SRob Herring
521724ba675SRob Herring	v1p8-supply = <&pm8941_l6>;
522724ba675SRob Herring	v3p3-supply = <&pm8941_l24>;
523724ba675SRob Herring
524724ba675SRob Herring	extcon = <&smbb>;
525724ba675SRob Herring	qcom,init-seq = /bits/ 8 <0x1 0x64>;
526724ba675SRob Herring};
527