xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974-sony-xperia-rhine.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring#include "qcom-msm8974.dtsi"
3*724ba675SRob Herring#include "qcom-pm8841.dtsi"
4*724ba675SRob Herring#include "qcom-pm8941.dtsi"
5*724ba675SRob Herring#include <dt-bindings/input/input.h>
6*724ba675SRob Herring#include <dt-bindings/leds/common.h>
7*724ba675SRob Herring#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	aliases {
11*724ba675SRob Herring		serial0 = &blsp1_uart2;
12*724ba675SRob Herring	};
13*724ba675SRob Herring
14*724ba675SRob Herring	chosen {
15*724ba675SRob Herring		stdout-path = "serial0:115200n8";
16*724ba675SRob Herring	};
17*724ba675SRob Herring
18*724ba675SRob Herring	gpio-keys {
19*724ba675SRob Herring		compatible = "gpio-keys";
20*724ba675SRob Herring
21*724ba675SRob Herring		pinctrl-names = "default";
22*724ba675SRob Herring		pinctrl-0 = <&gpio_keys_pin_a>;
23*724ba675SRob Herring
24*724ba675SRob Herring		key-volume-down {
25*724ba675SRob Herring			label = "volume_down";
26*724ba675SRob Herring			gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
27*724ba675SRob Herring			linux,input-type = <1>;
28*724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
29*724ba675SRob Herring		};
30*724ba675SRob Herring
31*724ba675SRob Herring		key-camera-snapshot {
32*724ba675SRob Herring			label = "camera_snapshot";
33*724ba675SRob Herring			gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
34*724ba675SRob Herring			linux,input-type = <1>;
35*724ba675SRob Herring			linux,code = <KEY_CAMERA>;
36*724ba675SRob Herring		};
37*724ba675SRob Herring
38*724ba675SRob Herring		key-camera-focus {
39*724ba675SRob Herring			label = "camera_focus";
40*724ba675SRob Herring			gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
41*724ba675SRob Herring			linux,input-type = <1>;
42*724ba675SRob Herring			linux,code = <KEY_CAMERA_FOCUS>;
43*724ba675SRob Herring		};
44*724ba675SRob Herring
45*724ba675SRob Herring		key-volume-up {
46*724ba675SRob Herring			label = "volume_up";
47*724ba675SRob Herring			gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
48*724ba675SRob Herring			linux,input-type = <1>;
49*724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
50*724ba675SRob Herring		};
51*724ba675SRob Herring	};
52*724ba675SRob Herring
53*724ba675SRob Herring	reserved-memory {
54*724ba675SRob Herring		#address-cells = <1>;
55*724ba675SRob Herring		#size-cells = <1>;
56*724ba675SRob Herring		ranges;
57*724ba675SRob Herring
58*724ba675SRob Herring		ramoops@3e8e0000 {
59*724ba675SRob Herring			compatible = "ramoops";
60*724ba675SRob Herring			reg = <0x3e8e0000 0x200000>;
61*724ba675SRob Herring
62*724ba675SRob Herring			console-size = <0x100000>;
63*724ba675SRob Herring			record-size = <0x10000>;
64*724ba675SRob Herring			ftrace-size = <0x10000>;
65*724ba675SRob Herring			pmsg-size = <0x80000>;
66*724ba675SRob Herring		};
67*724ba675SRob Herring	};
68*724ba675SRob Herring};
69*724ba675SRob Herring
70*724ba675SRob Herring&blsp1_i2c2 {
71*724ba675SRob Herring	status = "okay";
72*724ba675SRob Herring	clock-frequency = <355000>;
73*724ba675SRob Herring
74*724ba675SRob Herring	synaptics@2c {
75*724ba675SRob Herring		compatible = "syna,rmi4-i2c";
76*724ba675SRob Herring		reg = <0x2c>;
77*724ba675SRob Herring
78*724ba675SRob Herring		interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
79*724ba675SRob Herring
80*724ba675SRob Herring		#address-cells = <1>;
81*724ba675SRob Herring		#size-cells = <0>;
82*724ba675SRob Herring
83*724ba675SRob Herring		vdd-supply = <&pm8941_l22>;
84*724ba675SRob Herring		vio-supply = <&pm8941_lvs3>;
85*724ba675SRob Herring
86*724ba675SRob Herring		pinctrl-names = "default";
87*724ba675SRob Herring		pinctrl-0 = <&ts_int_pin>;
88*724ba675SRob Herring
89*724ba675SRob Herring		syna,startup-delay-ms = <10>;
90*724ba675SRob Herring
91*724ba675SRob Herring		rmi4-f01@1 {
92*724ba675SRob Herring			reg = <0x1>;
93*724ba675SRob Herring			syna,nosleep-mode = <1>;
94*724ba675SRob Herring		};
95*724ba675SRob Herring
96*724ba675SRob Herring		rmi4-f11@11 {
97*724ba675SRob Herring			reg = <0x11>;
98*724ba675SRob Herring			touchscreen-inverted-x;
99*724ba675SRob Herring			syna,sensor-type = <1>;
100*724ba675SRob Herring		};
101*724ba675SRob Herring	};
102*724ba675SRob Herring};
103*724ba675SRob Herring
104*724ba675SRob Herring&blsp1_i2c6 {
105*724ba675SRob Herring	status = "okay";
106*724ba675SRob Herring	clock-frequency = <355000>;
107*724ba675SRob Herring
108*724ba675SRob Herring	nfc@28 {
109*724ba675SRob Herring		compatible = "nxp,pn544-i2c";
110*724ba675SRob Herring		reg = <0x28>;
111*724ba675SRob Herring
112*724ba675SRob Herring		interrupt-parent = <&tlmm>;
113*724ba675SRob Herring		interrupts = <59 IRQ_TYPE_EDGE_RISING>;
114*724ba675SRob Herring
115*724ba675SRob Herring		enable-gpios = <&pm8941_gpios 23 GPIO_ACTIVE_HIGH>;
116*724ba675SRob Herring		firmware-gpios = <&tlmm 77 GPIO_ACTIVE_HIGH>;
117*724ba675SRob Herring	};
118*724ba675SRob Herring};
119*724ba675SRob Herring
120*724ba675SRob Herring&blsp1_uart2 {
121*724ba675SRob Herring	status = "okay";
122*724ba675SRob Herring};
123*724ba675SRob Herring
124*724ba675SRob Herring&blsp2_dma {
125*724ba675SRob Herring	qcom,controlled-remotely;
126*724ba675SRob Herring};
127*724ba675SRob Herring
128*724ba675SRob Herring&blsp2_i2c5 {
129*724ba675SRob Herring	status = "okay";
130*724ba675SRob Herring	clock-frequency = <355000>;
131*724ba675SRob Herring
132*724ba675SRob Herring	/* sii8334 MHL HDMI bridge */
133*724ba675SRob Herring};
134*724ba675SRob Herring
135*724ba675SRob Herring&pm8941_coincell {
136*724ba675SRob Herring	status = "okay";
137*724ba675SRob Herring	qcom,rset-ohms = <2100>;
138*724ba675SRob Herring	qcom,vset-millivolts = <3000>;
139*724ba675SRob Herring};
140*724ba675SRob Herring
141*724ba675SRob Herring&pm8941_gpios {
142*724ba675SRob Herring	gpio_keys_pin_a: gpio-keys-active-state {
143*724ba675SRob Herring		pins = "gpio2", "gpio3", "gpio4", "gpio5";
144*724ba675SRob Herring		function = "normal";
145*724ba675SRob Herring
146*724ba675SRob Herring		bias-pull-up;
147*724ba675SRob Herring		power-source = <PM8941_GPIO_S3>;
148*724ba675SRob Herring	};
149*724ba675SRob Herring};
150*724ba675SRob Herring
151*724ba675SRob Herring&pm8941_lpg {
152*724ba675SRob Herring	status = "okay";
153*724ba675SRob Herring
154*724ba675SRob Herring	qcom,power-source = <1>;
155*724ba675SRob Herring
156*724ba675SRob Herring	multi-led {
157*724ba675SRob Herring		color = <LED_COLOR_ID_RGB>;
158*724ba675SRob Herring		function = LED_FUNCTION_STATUS;
159*724ba675SRob Herring
160*724ba675SRob Herring		#address-cells = <1>;
161*724ba675SRob Herring		#size-cells = <0>;
162*724ba675SRob Herring
163*724ba675SRob Herring		led@5 {
164*724ba675SRob Herring			reg = <5>;
165*724ba675SRob Herring			color = <LED_COLOR_ID_BLUE>;
166*724ba675SRob Herring		};
167*724ba675SRob Herring
168*724ba675SRob Herring		led@6 {
169*724ba675SRob Herring			reg = <6>;
170*724ba675SRob Herring			color = <LED_COLOR_ID_GREEN>;
171*724ba675SRob Herring		};
172*724ba675SRob Herring
173*724ba675SRob Herring		led@7 {
174*724ba675SRob Herring			reg = <7>;
175*724ba675SRob Herring			color = <LED_COLOR_ID_RED>;
176*724ba675SRob Herring		};
177*724ba675SRob Herring	};
178*724ba675SRob Herring};
179*724ba675SRob Herring
180*724ba675SRob Herring&pm8941_wled {
181*724ba675SRob Herring	status = "okay";
182*724ba675SRob Herring
183*724ba675SRob Herring	qcom,cs-out;
184*724ba675SRob Herring	qcom,current-limit = <20>;
185*724ba675SRob Herring	qcom,current-boost-limit = <805>;
186*724ba675SRob Herring	qcom,switching-freq = <1600>;
187*724ba675SRob Herring	qcom,ovp = <29>;
188*724ba675SRob Herring	qcom,num-strings = <2>;
189*724ba675SRob Herring};
190*724ba675SRob Herring
191*724ba675SRob Herring&remoteproc_adsp {
192*724ba675SRob Herring	cx-supply = <&pm8841_s2>;
193*724ba675SRob Herring};
194*724ba675SRob Herring
195*724ba675SRob Herring&remoteproc_mss {
196*724ba675SRob Herring	cx-supply = <&pm8841_s2>;
197*724ba675SRob Herring	mss-supply = <&pm8841_s3>;
198*724ba675SRob Herring	mx-supply = <&pm8841_s1>;
199*724ba675SRob Herring	pll-supply = <&pm8941_l12>;
200*724ba675SRob Herring};
201*724ba675SRob Herring
202*724ba675SRob Herring&rpm_requests {
203*724ba675SRob Herring	regulators-0 {
204*724ba675SRob Herring		compatible = "qcom,rpm-pm8841-regulators";
205*724ba675SRob Herring
206*724ba675SRob Herring		pm8841_s1: s1 {
207*724ba675SRob Herring			regulator-min-microvolt = <675000>;
208*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
209*724ba675SRob Herring		};
210*724ba675SRob Herring
211*724ba675SRob Herring		pm8841_s2: s2 {
212*724ba675SRob Herring			regulator-min-microvolt = <500000>;
213*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
214*724ba675SRob Herring		};
215*724ba675SRob Herring
216*724ba675SRob Herring		pm8841_s3: s3 {
217*724ba675SRob Herring			regulator-min-microvolt = <500000>;
218*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
219*724ba675SRob Herring		};
220*724ba675SRob Herring
221*724ba675SRob Herring		pm8841_s4: s4 {
222*724ba675SRob Herring			regulator-min-microvolt = <500000>;
223*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
224*724ba675SRob Herring		};
225*724ba675SRob Herring	};
226*724ba675SRob Herring
227*724ba675SRob Herring	regulators-1 {
228*724ba675SRob Herring		compatible = "qcom,rpm-pm8941-regulators";
229*724ba675SRob Herring
230*724ba675SRob Herring		vdd_l1_l3-supply = <&pm8941_s1>;
231*724ba675SRob Herring		vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
232*724ba675SRob Herring		vdd_l4_l11-supply = <&pm8941_s1>;
233*724ba675SRob Herring		vdd_l5_l7-supply = <&pm8941_s2>;
234*724ba675SRob Herring		vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
235*724ba675SRob Herring		vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
236*724ba675SRob Herring		vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
237*724ba675SRob Herring		vdd_l21-supply = <&vreg_boost>;
238*724ba675SRob Herring
239*724ba675SRob Herring		pm8941_s1: s1 {
240*724ba675SRob Herring			regulator-min-microvolt = <1300000>;
241*724ba675SRob Herring			regulator-max-microvolt = <1300000>;
242*724ba675SRob Herring			regulator-always-on;
243*724ba675SRob Herring			regulator-boot-on;
244*724ba675SRob Herring		};
245*724ba675SRob Herring
246*724ba675SRob Herring		pm8941_s2: s2 {
247*724ba675SRob Herring			regulator-min-microvolt = <2150000>;
248*724ba675SRob Herring			regulator-max-microvolt = <2150000>;
249*724ba675SRob Herring			regulator-boot-on;
250*724ba675SRob Herring		};
251*724ba675SRob Herring
252*724ba675SRob Herring		pm8941_s3: s3 {
253*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
254*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
255*724ba675SRob Herring			regulator-always-on;
256*724ba675SRob Herring			regulator-boot-on;
257*724ba675SRob Herring		};
258*724ba675SRob Herring
259*724ba675SRob Herring		pm8941_s4: s4 {
260*724ba675SRob Herring			regulator-min-microvolt = <5000000>;
261*724ba675SRob Herring			regulator-max-microvolt = <5000000>;
262*724ba675SRob Herring		};
263*724ba675SRob Herring
264*724ba675SRob Herring		pm8941_l1: l1 {
265*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
266*724ba675SRob Herring			regulator-max-microvolt = <1225000>;
267*724ba675SRob Herring			regulator-always-on;
268*724ba675SRob Herring			regulator-boot-on;
269*724ba675SRob Herring		};
270*724ba675SRob Herring
271*724ba675SRob Herring		pm8941_l2: l2 {
272*724ba675SRob Herring			regulator-min-microvolt = <1200000>;
273*724ba675SRob Herring			regulator-max-microvolt = <1200000>;
274*724ba675SRob Herring		};
275*724ba675SRob Herring
276*724ba675SRob Herring		pm8941_l3: l3 {
277*724ba675SRob Herring			regulator-min-microvolt = <1200000>;
278*724ba675SRob Herring			regulator-max-microvolt = <1200000>;
279*724ba675SRob Herring		};
280*724ba675SRob Herring
281*724ba675SRob Herring		pm8941_l4: l4 {
282*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
283*724ba675SRob Herring			regulator-max-microvolt = <1225000>;
284*724ba675SRob Herring		};
285*724ba675SRob Herring
286*724ba675SRob Herring		pm8941_l5: l5 {
287*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
288*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
289*724ba675SRob Herring		};
290*724ba675SRob Herring
291*724ba675SRob Herring		pm8941_l6: l6 {
292*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
293*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
294*724ba675SRob Herring			regulator-boot-on;
295*724ba675SRob Herring		};
296*724ba675SRob Herring
297*724ba675SRob Herring		pm8941_l7: l7 {
298*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
299*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
300*724ba675SRob Herring			regulator-boot-on;
301*724ba675SRob Herring		};
302*724ba675SRob Herring
303*724ba675SRob Herring		pm8941_l8: l8 {
304*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
305*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
306*724ba675SRob Herring		};
307*724ba675SRob Herring
308*724ba675SRob Herring		pm8941_l9: l9 {
309*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
310*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
311*724ba675SRob Herring		};
312*724ba675SRob Herring
313*724ba675SRob Herring		pm8941_l11: l11 {
314*724ba675SRob Herring			regulator-min-microvolt = <1300000>;
315*724ba675SRob Herring			regulator-max-microvolt = <1350000>;
316*724ba675SRob Herring		};
317*724ba675SRob Herring
318*724ba675SRob Herring		pm8941_l12: l12 {
319*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
320*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
321*724ba675SRob Herring			regulator-always-on;
322*724ba675SRob Herring			regulator-boot-on;
323*724ba675SRob Herring		};
324*724ba675SRob Herring
325*724ba675SRob Herring		pm8941_l13: l13 {
326*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
327*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
328*724ba675SRob Herring			regulator-boot-on;
329*724ba675SRob Herring		};
330*724ba675SRob Herring
331*724ba675SRob Herring		pm8941_l14: l14 {
332*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
333*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
334*724ba675SRob Herring		};
335*724ba675SRob Herring
336*724ba675SRob Herring		pm8941_l15: l15 {
337*724ba675SRob Herring			regulator-min-microvolt = <2050000>;
338*724ba675SRob Herring			regulator-max-microvolt = <2050000>;
339*724ba675SRob Herring		};
340*724ba675SRob Herring
341*724ba675SRob Herring		pm8941_l16: l16 {
342*724ba675SRob Herring			regulator-min-microvolt = <2700000>;
343*724ba675SRob Herring			regulator-max-microvolt = <2700000>;
344*724ba675SRob Herring		};
345*724ba675SRob Herring
346*724ba675SRob Herring		pm8941_l17: l17 {
347*724ba675SRob Herring			regulator-min-microvolt = <2700000>;
348*724ba675SRob Herring			regulator-max-microvolt = <2700000>;
349*724ba675SRob Herring		};
350*724ba675SRob Herring
351*724ba675SRob Herring		pm8941_l18: l18 {
352*724ba675SRob Herring			regulator-min-microvolt = <2850000>;
353*724ba675SRob Herring			regulator-max-microvolt = <2850000>;
354*724ba675SRob Herring		};
355*724ba675SRob Herring
356*724ba675SRob Herring		pm8941_l19: l19 {
357*724ba675SRob Herring			regulator-min-microvolt = <3300000>;
358*724ba675SRob Herring			regulator-max-microvolt = <3300000>;
359*724ba675SRob Herring		};
360*724ba675SRob Herring
361*724ba675SRob Herring		pm8941_l20: l20 {
362*724ba675SRob Herring			regulator-min-microvolt = <2950000>;
363*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
364*724ba675SRob Herring			regulator-system-load = <200000>;
365*724ba675SRob Herring			regulator-allow-set-load;
366*724ba675SRob Herring			regulator-boot-on;
367*724ba675SRob Herring		};
368*724ba675SRob Herring
369*724ba675SRob Herring		pm8941_l21: l21 {
370*724ba675SRob Herring			regulator-min-microvolt = <2950000>;
371*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
372*724ba675SRob Herring			regulator-boot-on;
373*724ba675SRob Herring		};
374*724ba675SRob Herring
375*724ba675SRob Herring		pm8941_l22: l22 {
376*724ba675SRob Herring			regulator-min-microvolt = <3000000>;
377*724ba675SRob Herring			regulator-max-microvolt = <3000000>;
378*724ba675SRob Herring		};
379*724ba675SRob Herring
380*724ba675SRob Herring		pm8941_l23: l23 {
381*724ba675SRob Herring			regulator-min-microvolt = <2800000>;
382*724ba675SRob Herring			regulator-max-microvolt = <2800000>;
383*724ba675SRob Herring		};
384*724ba675SRob Herring
385*724ba675SRob Herring		pm8941_l24: l24 {
386*724ba675SRob Herring			regulator-min-microvolt = <3075000>;
387*724ba675SRob Herring			regulator-max-microvolt = <3075000>;
388*724ba675SRob Herring			regulator-boot-on;
389*724ba675SRob Herring		};
390*724ba675SRob Herring
391*724ba675SRob Herring		pm8941_lvs3: lvs3 {};
392*724ba675SRob Herring	};
393*724ba675SRob Herring};
394*724ba675SRob Herring
395*724ba675SRob Herring&sdhc_1 {
396*724ba675SRob Herring	status = "okay";
397*724ba675SRob Herring
398*724ba675SRob Herring	vmmc-supply = <&pm8941_l20>;
399*724ba675SRob Herring	vqmmc-supply = <&pm8941_s3>;
400*724ba675SRob Herring
401*724ba675SRob Herring	pinctrl-names = "default", "sleep";
402*724ba675SRob Herring	pinctrl-0 = <&sdc1_on>;
403*724ba675SRob Herring	pinctrl-1 = <&sdc1_off>;
404*724ba675SRob Herring};
405*724ba675SRob Herring
406*724ba675SRob Herring&sdhc_2 {
407*724ba675SRob Herring	status = "okay";
408*724ba675SRob Herring
409*724ba675SRob Herring	vmmc-supply = <&pm8941_l21>;
410*724ba675SRob Herring	vqmmc-supply = <&pm8941_l13>;
411*724ba675SRob Herring
412*724ba675SRob Herring	cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
413*724ba675SRob Herring
414*724ba675SRob Herring	pinctrl-names = "default", "sleep";
415*724ba675SRob Herring	pinctrl-0 = <&sdc2_on>;
416*724ba675SRob Herring	pinctrl-1 = <&sdc2_off>;
417*724ba675SRob Herring};
418*724ba675SRob Herring
419*724ba675SRob Herring&smbb {
420*724ba675SRob Herring	qcom,fast-charge-safe-current = <1500000>;
421*724ba675SRob Herring	qcom,fast-charge-current-limit = <1500000>;
422*724ba675SRob Herring	qcom,dc-current-limit = <1800000>;
423*724ba675SRob Herring	qcom,fast-charge-safe-voltage = <4400000>;
424*724ba675SRob Herring	qcom,fast-charge-high-threshold-voltage = <4350000>;
425*724ba675SRob Herring	qcom,fast-charge-low-threshold-voltage = <3400000>;
426*724ba675SRob Herring	qcom,auto-recharge-threshold-voltage = <4200000>;
427*724ba675SRob Herring	qcom,minimum-input-voltage = <4300000>;
428*724ba675SRob Herring};
429*724ba675SRob Herring
430*724ba675SRob Herring&tlmm {
431*724ba675SRob Herring	ts_int_pin: touch-int-state {
432*724ba675SRob Herring		pins = "gpio61";
433*724ba675SRob Herring		function = "gpio";
434*724ba675SRob Herring		drive-strength = <2>;
435*724ba675SRob Herring		bias-disable;
436*724ba675SRob Herring		input-enable;
437*724ba675SRob Herring	};
438*724ba675SRob Herring
439*724ba675SRob Herring	sdc1_on: sdc1-on-state {
440*724ba675SRob Herring		clk-pins {
441*724ba675SRob Herring			pins = "sdc1_clk";
442*724ba675SRob Herring			drive-strength = <16>;
443*724ba675SRob Herring			bias-disable;
444*724ba675SRob Herring		};
445*724ba675SRob Herring
446*724ba675SRob Herring		cmd-data-pins {
447*724ba675SRob Herring			pins = "sdc1_cmd", "sdc1_data";
448*724ba675SRob Herring			drive-strength = <10>;
449*724ba675SRob Herring			bias-pull-up;
450*724ba675SRob Herring		};
451*724ba675SRob Herring	};
452*724ba675SRob Herring
453*724ba675SRob Herring	sdc2_on: sdc-on-state {
454*724ba675SRob Herring		clk-pins {
455*724ba675SRob Herring			pins = "sdc2_clk";
456*724ba675SRob Herring			drive-strength = <10>;
457*724ba675SRob Herring			bias-disable;
458*724ba675SRob Herring		};
459*724ba675SRob Herring
460*724ba675SRob Herring		cmd-data-pins {
461*724ba675SRob Herring			pins = "sdc2_cmd", "sdc2_data";
462*724ba675SRob Herring			drive-strength = <6>;
463*724ba675SRob Herring			bias-pull-up;
464*724ba675SRob Herring		};
465*724ba675SRob Herring
466*724ba675SRob Herring		cd-pins {
467*724ba675SRob Herring			pins = "gpio62";
468*724ba675SRob Herring			function = "gpio";
469*724ba675SRob Herring			drive-strength = <2>;
470*724ba675SRob Herring			bias-disable;
471*724ba675SRob Herring		};
472*724ba675SRob Herring	};
473*724ba675SRob Herring};
474*724ba675SRob Herring
475*724ba675SRob Herring&usb {
476*724ba675SRob Herring	status = "okay";
477*724ba675SRob Herring
478*724ba675SRob Herring	phys = <&usb_hs1_phy>;
479*724ba675SRob Herring	phy-select = <&tcsr 0xb000 0>;
480*724ba675SRob Herring	extcon = <&smbb>, <&usb_id>;
481*724ba675SRob Herring	vbus-supply = <&chg_otg>;
482*724ba675SRob Herring
483*724ba675SRob Herring	hnp-disable;
484*724ba675SRob Herring	srp-disable;
485*724ba675SRob Herring	adp-disable;
486*724ba675SRob Herring};
487*724ba675SRob Herring
488*724ba675SRob Herring&usb_hs1_phy {
489*724ba675SRob Herring	status = "okay";
490*724ba675SRob Herring
491*724ba675SRob Herring	v1p8-supply = <&pm8941_l6>;
492*724ba675SRob Herring	v3p3-supply = <&pm8941_l24>;
493*724ba675SRob Herring
494*724ba675SRob Herring	extcon = <&smbb>;
495*724ba675SRob Herring	qcom,init-seq = /bits/ 8 <0x1 0x64>;
496*724ba675SRob Herring};
497