xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974-sony-xperia-rhine.dtsi (revision c9c8179d0ccdf024ce467b4c9cf5de8821bc02cb)
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>;
220724ba675SRob Herring};
221724ba675SRob Herring
222724ba675SRob Herring&remoteproc_mss {
223724ba675SRob Herring	cx-supply = <&pm8841_s2>;
224724ba675SRob Herring	mss-supply = <&pm8841_s3>;
225724ba675SRob Herring	mx-supply = <&pm8841_s1>;
226724ba675SRob Herring	pll-supply = <&pm8941_l12>;
227724ba675SRob Herring};
228724ba675SRob Herring
229724ba675SRob Herring&rpm_requests {
230724ba675SRob Herring	regulators-0 {
231724ba675SRob Herring		compatible = "qcom,rpm-pm8841-regulators";
232724ba675SRob Herring
233724ba675SRob Herring		pm8841_s1: s1 {
234724ba675SRob Herring			regulator-min-microvolt = <675000>;
235724ba675SRob Herring			regulator-max-microvolt = <1050000>;
236724ba675SRob Herring		};
237724ba675SRob Herring
238724ba675SRob Herring		pm8841_s2: s2 {
239724ba675SRob Herring			regulator-min-microvolt = <500000>;
240724ba675SRob Herring			regulator-max-microvolt = <1050000>;
241724ba675SRob Herring		};
242724ba675SRob Herring
243724ba675SRob Herring		pm8841_s3: s3 {
244724ba675SRob Herring			regulator-min-microvolt = <500000>;
245724ba675SRob Herring			regulator-max-microvolt = <1050000>;
246724ba675SRob Herring		};
247724ba675SRob Herring
248724ba675SRob Herring		pm8841_s4: s4 {
249724ba675SRob Herring			regulator-min-microvolt = <500000>;
250724ba675SRob Herring			regulator-max-microvolt = <1050000>;
251724ba675SRob Herring		};
252724ba675SRob Herring	};
253724ba675SRob Herring
254724ba675SRob Herring	regulators-1 {
255724ba675SRob Herring		compatible = "qcom,rpm-pm8941-regulators";
256724ba675SRob Herring
257724ba675SRob Herring		vdd_l1_l3-supply = <&pm8941_s1>;
258724ba675SRob Herring		vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
259724ba675SRob Herring		vdd_l4_l11-supply = <&pm8941_s1>;
260724ba675SRob Herring		vdd_l5_l7-supply = <&pm8941_s2>;
261724ba675SRob Herring		vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
262724ba675SRob Herring		vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
263724ba675SRob Herring		vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
264724ba675SRob Herring		vdd_l21-supply = <&vreg_boost>;
265724ba675SRob Herring
266724ba675SRob Herring		pm8941_s1: s1 {
267724ba675SRob Herring			regulator-min-microvolt = <1300000>;
268724ba675SRob Herring			regulator-max-microvolt = <1300000>;
269724ba675SRob Herring			regulator-always-on;
270724ba675SRob Herring			regulator-boot-on;
271724ba675SRob Herring		};
272724ba675SRob Herring
273724ba675SRob Herring		pm8941_s2: s2 {
274724ba675SRob Herring			regulator-min-microvolt = <2150000>;
275724ba675SRob Herring			regulator-max-microvolt = <2150000>;
276724ba675SRob Herring			regulator-boot-on;
277724ba675SRob Herring		};
278724ba675SRob Herring
279724ba675SRob Herring		pm8941_s3: s3 {
280724ba675SRob Herring			regulator-min-microvolt = <1800000>;
281724ba675SRob Herring			regulator-max-microvolt = <1800000>;
282724ba675SRob Herring			regulator-always-on;
283724ba675SRob Herring			regulator-boot-on;
284724ba675SRob Herring		};
285724ba675SRob Herring
286724ba675SRob Herring		pm8941_s4: s4 {
287724ba675SRob Herring			regulator-min-microvolt = <5000000>;
288724ba675SRob Herring			regulator-max-microvolt = <5000000>;
289724ba675SRob Herring		};
290724ba675SRob Herring
291724ba675SRob Herring		pm8941_l1: l1 {
292724ba675SRob Herring			regulator-min-microvolt = <1225000>;
293724ba675SRob Herring			regulator-max-microvolt = <1225000>;
294724ba675SRob Herring			regulator-always-on;
295724ba675SRob Herring			regulator-boot-on;
296724ba675SRob Herring		};
297724ba675SRob Herring
298724ba675SRob Herring		pm8941_l2: l2 {
299724ba675SRob Herring			regulator-min-microvolt = <1200000>;
300724ba675SRob Herring			regulator-max-microvolt = <1200000>;
301724ba675SRob Herring		};
302724ba675SRob Herring
303724ba675SRob Herring		pm8941_l3: l3 {
304724ba675SRob Herring			regulator-min-microvolt = <1200000>;
305724ba675SRob Herring			regulator-max-microvolt = <1200000>;
306724ba675SRob Herring		};
307724ba675SRob Herring
308724ba675SRob Herring		pm8941_l4: l4 {
309724ba675SRob Herring			regulator-min-microvolt = <1225000>;
310724ba675SRob Herring			regulator-max-microvolt = <1225000>;
311724ba675SRob Herring		};
312724ba675SRob Herring
313724ba675SRob Herring		pm8941_l5: l5 {
314724ba675SRob Herring			regulator-min-microvolt = <1800000>;
315724ba675SRob Herring			regulator-max-microvolt = <1800000>;
316724ba675SRob Herring		};
317724ba675SRob Herring
318724ba675SRob Herring		pm8941_l6: l6 {
319724ba675SRob Herring			regulator-min-microvolt = <1800000>;
320724ba675SRob Herring			regulator-max-microvolt = <1800000>;
321724ba675SRob Herring			regulator-boot-on;
322724ba675SRob Herring		};
323724ba675SRob Herring
324724ba675SRob Herring		pm8941_l7: l7 {
325724ba675SRob Herring			regulator-min-microvolt = <1800000>;
326724ba675SRob Herring			regulator-max-microvolt = <1800000>;
327724ba675SRob Herring			regulator-boot-on;
328724ba675SRob Herring		};
329724ba675SRob Herring
330724ba675SRob Herring		pm8941_l8: l8 {
331724ba675SRob Herring			regulator-min-microvolt = <1800000>;
332724ba675SRob Herring			regulator-max-microvolt = <1800000>;
333724ba675SRob Herring		};
334724ba675SRob Herring
335724ba675SRob Herring		pm8941_l9: l9 {
336724ba675SRob Herring			regulator-min-microvolt = <1800000>;
337724ba675SRob Herring			regulator-max-microvolt = <2950000>;
338724ba675SRob Herring		};
339724ba675SRob Herring
340724ba675SRob Herring		pm8941_l11: l11 {
341724ba675SRob Herring			regulator-min-microvolt = <1300000>;
342724ba675SRob Herring			regulator-max-microvolt = <1350000>;
343724ba675SRob Herring		};
344724ba675SRob Herring
345724ba675SRob Herring		pm8941_l12: l12 {
346724ba675SRob Herring			regulator-min-microvolt = <1800000>;
347724ba675SRob Herring			regulator-max-microvolt = <1800000>;
348724ba675SRob Herring			regulator-always-on;
349724ba675SRob Herring			regulator-boot-on;
350724ba675SRob Herring		};
351724ba675SRob Herring
352724ba675SRob Herring		pm8941_l13: l13 {
353724ba675SRob Herring			regulator-min-microvolt = <1800000>;
354724ba675SRob Herring			regulator-max-microvolt = <2950000>;
355724ba675SRob Herring			regulator-boot-on;
356724ba675SRob Herring		};
357724ba675SRob Herring
358724ba675SRob Herring		pm8941_l14: l14 {
359724ba675SRob Herring			regulator-min-microvolt = <1800000>;
360724ba675SRob Herring			regulator-max-microvolt = <1800000>;
361724ba675SRob Herring		};
362724ba675SRob Herring
363724ba675SRob Herring		pm8941_l15: l15 {
364724ba675SRob Herring			regulator-min-microvolt = <2050000>;
365724ba675SRob Herring			regulator-max-microvolt = <2050000>;
366724ba675SRob Herring		};
367724ba675SRob Herring
368724ba675SRob Herring		pm8941_l16: l16 {
369724ba675SRob Herring			regulator-min-microvolt = <2700000>;
370724ba675SRob Herring			regulator-max-microvolt = <2700000>;
371724ba675SRob Herring		};
372724ba675SRob Herring
373724ba675SRob Herring		pm8941_l17: l17 {
374724ba675SRob Herring			regulator-min-microvolt = <2700000>;
375724ba675SRob Herring			regulator-max-microvolt = <2700000>;
376724ba675SRob Herring		};
377724ba675SRob Herring
378724ba675SRob Herring		pm8941_l18: l18 {
379724ba675SRob Herring			regulator-min-microvolt = <2850000>;
380724ba675SRob Herring			regulator-max-microvolt = <2850000>;
381724ba675SRob Herring		};
382724ba675SRob Herring
383724ba675SRob Herring		pm8941_l19: l19 {
384724ba675SRob Herring			regulator-min-microvolt = <3300000>;
385724ba675SRob Herring			regulator-max-microvolt = <3300000>;
386724ba675SRob Herring		};
387724ba675SRob Herring
388724ba675SRob Herring		pm8941_l20: l20 {
389724ba675SRob Herring			regulator-min-microvolt = <2950000>;
390724ba675SRob Herring			regulator-max-microvolt = <2950000>;
391724ba675SRob Herring			regulator-system-load = <200000>;
392724ba675SRob Herring			regulator-allow-set-load;
393724ba675SRob Herring			regulator-boot-on;
394724ba675SRob Herring		};
395724ba675SRob Herring
396724ba675SRob Herring		pm8941_l21: l21 {
397724ba675SRob Herring			regulator-min-microvolt = <2950000>;
398724ba675SRob Herring			regulator-max-microvolt = <2950000>;
399724ba675SRob Herring			regulator-boot-on;
400724ba675SRob Herring		};
401724ba675SRob Herring
402724ba675SRob Herring		pm8941_l22: l22 {
403724ba675SRob Herring			regulator-min-microvolt = <3000000>;
404724ba675SRob Herring			regulator-max-microvolt = <3000000>;
405724ba675SRob Herring		};
406724ba675SRob Herring
407724ba675SRob Herring		pm8941_l23: l23 {
408724ba675SRob Herring			regulator-min-microvolt = <2800000>;
409724ba675SRob Herring			regulator-max-microvolt = <2800000>;
410724ba675SRob Herring		};
411724ba675SRob Herring
412724ba675SRob Herring		pm8941_l24: l24 {
413724ba675SRob Herring			regulator-min-microvolt = <3075000>;
414724ba675SRob Herring			regulator-max-microvolt = <3075000>;
415724ba675SRob Herring			regulator-boot-on;
416724ba675SRob Herring		};
417724ba675SRob Herring
418724ba675SRob Herring		pm8941_lvs3: lvs3 {};
419724ba675SRob Herring	};
420724ba675SRob Herring};
421724ba675SRob Herring
422724ba675SRob Herring&sdhc_1 {
423724ba675SRob Herring	status = "okay";
424724ba675SRob Herring
425724ba675SRob Herring	vmmc-supply = <&pm8941_l20>;
426724ba675SRob Herring	vqmmc-supply = <&pm8941_s3>;
427724ba675SRob Herring
428724ba675SRob Herring	pinctrl-names = "default", "sleep";
429724ba675SRob Herring	pinctrl-0 = <&sdc1_on>;
430724ba675SRob Herring	pinctrl-1 = <&sdc1_off>;
431724ba675SRob Herring};
432724ba675SRob Herring
433724ba675SRob Herring&sdhc_2 {
434724ba675SRob Herring	status = "okay";
435724ba675SRob Herring
436724ba675SRob Herring	vmmc-supply = <&pm8941_l21>;
437724ba675SRob Herring	vqmmc-supply = <&pm8941_l13>;
438724ba675SRob Herring
439724ba675SRob Herring	cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
440724ba675SRob Herring
441724ba675SRob Herring	pinctrl-names = "default", "sleep";
442724ba675SRob Herring	pinctrl-0 = <&sdc2_on>;
443724ba675SRob Herring	pinctrl-1 = <&sdc2_off>;
444724ba675SRob Herring};
445724ba675SRob Herring
446724ba675SRob Herring&smbb {
447724ba675SRob Herring	qcom,fast-charge-safe-current = <1500000>;
448724ba675SRob Herring	qcom,fast-charge-current-limit = <1500000>;
449724ba675SRob Herring	qcom,dc-current-limit = <1800000>;
450724ba675SRob Herring	qcom,fast-charge-safe-voltage = <4400000>;
451724ba675SRob Herring	qcom,fast-charge-high-threshold-voltage = <4350000>;
452724ba675SRob Herring	qcom,fast-charge-low-threshold-voltage = <3400000>;
453724ba675SRob Herring	qcom,auto-recharge-threshold-voltage = <4200000>;
454724ba675SRob Herring	qcom,minimum-input-voltage = <4300000>;
455*c9c8179dSBryant Mairs
456*c9c8179dSBryant Mairs	status = "okay";
457724ba675SRob Herring};
458724ba675SRob Herring
459724ba675SRob Herring&tlmm {
460724ba675SRob Herring	ts_int_pin: touch-int-state {
461724ba675SRob Herring		pins = "gpio61";
462724ba675SRob Herring		function = "gpio";
463724ba675SRob Herring		drive-strength = <2>;
464724ba675SRob Herring		bias-disable;
465724ba675SRob Herring	};
466724ba675SRob Herring
467724ba675SRob Herring	sdc1_on: sdc1-on-state {
468724ba675SRob Herring		clk-pins {
469724ba675SRob Herring			pins = "sdc1_clk";
470724ba675SRob Herring			drive-strength = <16>;
471724ba675SRob Herring			bias-disable;
472724ba675SRob Herring		};
473724ba675SRob Herring
474724ba675SRob Herring		cmd-data-pins {
475724ba675SRob Herring			pins = "sdc1_cmd", "sdc1_data";
476724ba675SRob Herring			drive-strength = <10>;
477724ba675SRob Herring			bias-pull-up;
478724ba675SRob Herring		};
479724ba675SRob Herring	};
480724ba675SRob Herring
481724ba675SRob Herring	sdc2_on: sdc-on-state {
482724ba675SRob Herring		clk-pins {
483724ba675SRob Herring			pins = "sdc2_clk";
484724ba675SRob Herring			drive-strength = <10>;
485724ba675SRob Herring			bias-disable;
486724ba675SRob Herring		};
487724ba675SRob Herring
488724ba675SRob Herring		cmd-data-pins {
489724ba675SRob Herring			pins = "sdc2_cmd", "sdc2_data";
490724ba675SRob Herring			drive-strength = <6>;
491724ba675SRob Herring			bias-pull-up;
492724ba675SRob Herring		};
493724ba675SRob Herring
494724ba675SRob Herring		cd-pins {
495724ba675SRob Herring			pins = "gpio62";
496724ba675SRob Herring			function = "gpio";
497724ba675SRob Herring			drive-strength = <2>;
498724ba675SRob Herring			bias-disable;
499724ba675SRob Herring		};
500724ba675SRob Herring	};
501724ba675SRob Herring};
502724ba675SRob Herring
503724ba675SRob Herring&usb {
504724ba675SRob Herring	status = "okay";
505724ba675SRob Herring
506724ba675SRob Herring	phys = <&usb_hs1_phy>;
507724ba675SRob Herring	phy-select = <&tcsr 0xb000 0>;
508724ba675SRob Herring	extcon = <&smbb>, <&usb_id>;
509724ba675SRob Herring	vbus-supply = <&chg_otg>;
510724ba675SRob Herring
511724ba675SRob Herring	hnp-disable;
512724ba675SRob Herring	srp-disable;
513724ba675SRob Herring	adp-disable;
514724ba675SRob Herring};
515724ba675SRob Herring
516724ba675SRob Herring&usb_hs1_phy {
517724ba675SRob Herring	status = "okay";
518724ba675SRob Herring
519724ba675SRob Herring	v1p8-supply = <&pm8941_l6>;
520724ba675SRob Herring	v3p3-supply = <&pm8941_l24>;
521724ba675SRob Herring
522724ba675SRob Herring	extcon = <&smbb>;
523724ba675SRob Herring	qcom,init-seq = /bits/ 8 <0x1 0x64>;
524724ba675SRob Herring};
525