xref: /freebsd/sys/contrib/device-tree/src/arm/qcom/qcom-apq8064-sony-xperia-lagan-yuga.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
3f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
4f126890aSEmmanuel Vadot#include <dt-bindings/mfd/qcom-rpm.h>
5f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6f126890aSEmmanuel Vadot
78d13bc63SEmmanuel Vadot#include "qcom-apq8064-v2.0.dtsi"
88d13bc63SEmmanuel Vadot#include "pm8821.dtsi"
98d13bc63SEmmanuel Vadot#include "pm8921.dtsi"
108d13bc63SEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	model = "Sony Xperia Z";
13f126890aSEmmanuel Vadot	compatible = "sony,xperia-yuga", "qcom,apq8064";
14f126890aSEmmanuel Vadot	chassis-type = "handset";
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot	aliases {
17f126890aSEmmanuel Vadot		serial0 = &gsbi5_serial;
18f126890aSEmmanuel Vadot	};
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot	chosen {
21f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
22f126890aSEmmanuel Vadot	};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	gpio-keys {
25f126890aSEmmanuel Vadot		compatible = "gpio-keys";
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot		pinctrl-names = "default";
28f126890aSEmmanuel Vadot		pinctrl-0 = <&gpio_keys_pin_a>;
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot		key-camera-focus {
31f126890aSEmmanuel Vadot			label = "camera_focus";
32f126890aSEmmanuel Vadot			gpios = <&pm8921_gpio 3 GPIO_ACTIVE_LOW>;
33f126890aSEmmanuel Vadot			linux,input-type = <1>;
34f126890aSEmmanuel Vadot			linux,code = <KEY_CAMERA_FOCUS>;
35f126890aSEmmanuel Vadot		};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		key-camera-snapshot {
38f126890aSEmmanuel Vadot			label = "camera_snapshot";
39f126890aSEmmanuel Vadot			gpios = <&pm8921_gpio 4 GPIO_ACTIVE_LOW>;
40f126890aSEmmanuel Vadot			linux,input-type = <1>;
41f126890aSEmmanuel Vadot			linux,code = <KEY_CAMERA>;
42f126890aSEmmanuel Vadot		};
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot		key-volume-down {
45f126890aSEmmanuel Vadot			label = "volume_down";
46f126890aSEmmanuel Vadot			gpios = <&pm8921_gpio 29 GPIO_ACTIVE_LOW>;
47f126890aSEmmanuel Vadot			linux,input-type = <1>;
48f126890aSEmmanuel Vadot			linux,code = <KEY_VOLUMEDOWN>;
49f126890aSEmmanuel Vadot		};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		key-volume-up {
52f126890aSEmmanuel Vadot			label = "volume_up";
53f126890aSEmmanuel Vadot			gpios = <&pm8921_gpio 35 GPIO_ACTIVE_LOW>;
54f126890aSEmmanuel Vadot			linux,input-type = <1>;
55f126890aSEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
56f126890aSEmmanuel Vadot		};
57f126890aSEmmanuel Vadot	};
58f126890aSEmmanuel Vadot};
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot&gsbi5 {
61f126890aSEmmanuel Vadot	qcom,mode = <GSBI_PROT_I2C_UART>;
62f126890aSEmmanuel Vadot	status = "okay";
63f126890aSEmmanuel Vadot};
64f126890aSEmmanuel Vadot
65f126890aSEmmanuel Vadot&gsbi5_serial {
66f126890aSEmmanuel Vadot	pinctrl-names = "default";
67f126890aSEmmanuel Vadot	pinctrl-0 = <&gsbi5_uart_pin_a>;
68f126890aSEmmanuel Vadot	status = "okay";
69f126890aSEmmanuel Vadot};
70f126890aSEmmanuel Vadot
718d13bc63SEmmanuel Vadot&pm8821 {
728d13bc63SEmmanuel Vadot	interrupts-extended = <&tlmm_pinmux 76 IRQ_TYPE_LEVEL_LOW>;
738d13bc63SEmmanuel Vadot};
748d13bc63SEmmanuel Vadot
758d13bc63SEmmanuel Vadot&pm8921 {
768d13bc63SEmmanuel Vadot	interrupts-extended = <&tlmm_pinmux 74 IRQ_TYPE_LEVEL_LOW>;
778d13bc63SEmmanuel Vadot};
788d13bc63SEmmanuel Vadot
79f126890aSEmmanuel Vadot&pm8921_gpio {
80f126890aSEmmanuel Vadot	gpio_keys_pin_a: gpio-keys-active-state {
81f126890aSEmmanuel Vadot		pins = "gpio3", "gpio4", "gpio29", "gpio35";
82f126890aSEmmanuel Vadot		function = "normal";
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot		bias-pull-up;
85f126890aSEmmanuel Vadot		drive-push-pull;
86f126890aSEmmanuel Vadot		input-enable;
87f126890aSEmmanuel Vadot		power-source = <2>;
88f126890aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
89f126890aSEmmanuel Vadot		qcom,pull-up-strength = <0>;
90f126890aSEmmanuel Vadot	};
91f126890aSEmmanuel Vadot};
92f126890aSEmmanuel Vadot
93f126890aSEmmanuel Vadot&riva {
94f126890aSEmmanuel Vadot	pinctrl-names = "default";
95f126890aSEmmanuel Vadot	pinctrl-0 = <&riva_wlan_pin_a>, <&riva_bt_pin_a>, <&riva_fm_pin_a>;
968d13bc63SEmmanuel Vadot
978d13bc63SEmmanuel Vadot	vddcx-supply = <&pm8921_s3>;
988d13bc63SEmmanuel Vadot	vddmx-supply = <&pm8921_l24>;
998d13bc63SEmmanuel Vadot	vddpx-supply = <&pm8921_s4>;
1008d13bc63SEmmanuel Vadot
101f126890aSEmmanuel Vadot	status = "okay";
1028d13bc63SEmmanuel Vadot
1038d13bc63SEmmanuel Vadot	iris {
1048d13bc63SEmmanuel Vadot		vddxo-supply = <&pm8921_l4>;
1058d13bc63SEmmanuel Vadot		vddrfa-supply = <&pm8921_s2>;
1068d13bc63SEmmanuel Vadot		vddpa-supply = <&pm8921_l10>;
1078d13bc63SEmmanuel Vadot		vdddig-supply = <&pm8921_lvs2>;
1088d13bc63SEmmanuel Vadot	};
109f126890aSEmmanuel Vadot};
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot&rpm {
112f126890aSEmmanuel Vadot	regulators {
1138d13bc63SEmmanuel Vadot		compatible = "qcom,rpm-pm8921-regulators";
1148d13bc63SEmmanuel Vadot
115f126890aSEmmanuel Vadot		vin_l1_l2_l12_l18-supply = <&pm8921_s4>;
116f126890aSEmmanuel Vadot		vin_lvs_1_3_6-supply = <&pm8921_s4>;
117f126890aSEmmanuel Vadot		vin_lvs_4_5_7-supply = <&pm8921_s4>;
118f126890aSEmmanuel Vadot		vin_ncp-supply = <&pm8921_l6>;
119f126890aSEmmanuel Vadot		vin_lvs2-supply = <&pm8921_s4>;
120f126890aSEmmanuel Vadot		vin_l24-supply = <&pm8921_s1>;
121f126890aSEmmanuel Vadot		vin_l25-supply = <&pm8921_s1>;
122f126890aSEmmanuel Vadot		vin_l27-supply = <&pm8921_s7>;
123f126890aSEmmanuel Vadot		vin_l28-supply = <&pm8921_s7>;
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot		/* Buck SMPS */
1268d13bc63SEmmanuel Vadot		pm8921_s1: s1 {
127f126890aSEmmanuel Vadot			regulator-always-on;
128f126890aSEmmanuel Vadot			regulator-min-microvolt = <1225000>;
129f126890aSEmmanuel Vadot			regulator-max-microvolt = <1225000>;
130f126890aSEmmanuel Vadot			qcom,switch-mode-frequency = <3200000>;
131f126890aSEmmanuel Vadot			bias-pull-down;
132f126890aSEmmanuel Vadot		};
133f126890aSEmmanuel Vadot
1348d13bc63SEmmanuel Vadot		pm8921_s2: s2 {
135f126890aSEmmanuel Vadot			regulator-min-microvolt = <1300000>;
136f126890aSEmmanuel Vadot			regulator-max-microvolt = <1300000>;
137f126890aSEmmanuel Vadot			qcom,switch-mode-frequency = <1600000>;
138f126890aSEmmanuel Vadot			bias-pull-down;
139f126890aSEmmanuel Vadot		};
140f126890aSEmmanuel Vadot
1418d13bc63SEmmanuel Vadot		pm8921_s3: s3 {
142f126890aSEmmanuel Vadot			regulator-min-microvolt = <500000>;
143f126890aSEmmanuel Vadot			regulator-max-microvolt = <1150000>;
144f126890aSEmmanuel Vadot			qcom,switch-mode-frequency = <4800000>;
145f126890aSEmmanuel Vadot			bias-pull-down;
146f126890aSEmmanuel Vadot		};
147f126890aSEmmanuel Vadot
1488d13bc63SEmmanuel Vadot		pm8921_s4: s4 {
149f126890aSEmmanuel Vadot			regulator-always-on;
150f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
151f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
152f126890aSEmmanuel Vadot			qcom,switch-mode-frequency = <1600000>;
153f126890aSEmmanuel Vadot			bias-pull-down;
154f126890aSEmmanuel Vadot			qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
155f126890aSEmmanuel Vadot		};
156f126890aSEmmanuel Vadot
1578d13bc63SEmmanuel Vadot		pm8921_s7: s7 {
158f126890aSEmmanuel Vadot			regulator-min-microvolt = <1300000>;
159f126890aSEmmanuel Vadot			regulator-max-microvolt = <1300000>;
160f126890aSEmmanuel Vadot			qcom,switch-mode-frequency = <3200000>;
161f126890aSEmmanuel Vadot		};
162f126890aSEmmanuel Vadot
1638d13bc63SEmmanuel Vadot		pm8921_s8: s8 {
164f126890aSEmmanuel Vadot			regulator-min-microvolt = <2200000>;
165f126890aSEmmanuel Vadot			regulator-max-microvolt = <2200000>;
166f126890aSEmmanuel Vadot			qcom,switch-mode-frequency = <1600000>;
167f126890aSEmmanuel Vadot		};
168f126890aSEmmanuel Vadot
169f126890aSEmmanuel Vadot		/* PMOS LDO */
1708d13bc63SEmmanuel Vadot		pm8921_l1: l1 {
171f126890aSEmmanuel Vadot			regulator-always-on;
172f126890aSEmmanuel Vadot			regulator-min-microvolt = <1100000>;
173f126890aSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
174f126890aSEmmanuel Vadot			bias-pull-down;
175f126890aSEmmanuel Vadot		};
176f126890aSEmmanuel Vadot
1778d13bc63SEmmanuel Vadot		pm8921_l2: l2 {
178f126890aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
179f126890aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
180f126890aSEmmanuel Vadot			bias-pull-down;
181f126890aSEmmanuel Vadot		};
182f126890aSEmmanuel Vadot
1838d13bc63SEmmanuel Vadot		pm8921_l3: l3 {
184f126890aSEmmanuel Vadot			regulator-min-microvolt = <3075000>;
185f126890aSEmmanuel Vadot			regulator-max-microvolt = <3075000>;
186f126890aSEmmanuel Vadot			bias-pull-down;
187f126890aSEmmanuel Vadot		};
188f126890aSEmmanuel Vadot
1898d13bc63SEmmanuel Vadot		pm8921_l4: l4 {
190f126890aSEmmanuel Vadot			regulator-always-on;
191f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
192f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
193f126890aSEmmanuel Vadot			bias-pull-down;
194f126890aSEmmanuel Vadot		};
195f126890aSEmmanuel Vadot
1968d13bc63SEmmanuel Vadot		pm8921_l5: l5 {
197f126890aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
198f126890aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
199f126890aSEmmanuel Vadot			bias-pull-down;
200f126890aSEmmanuel Vadot		};
201f126890aSEmmanuel Vadot
2028d13bc63SEmmanuel Vadot		pm8921_l6: l6 {
203f126890aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
204f126890aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
205f126890aSEmmanuel Vadot			bias-pull-down;
206f126890aSEmmanuel Vadot		};
207f126890aSEmmanuel Vadot
2088d13bc63SEmmanuel Vadot		pm8921_l7: l7 {
209f126890aSEmmanuel Vadot			regulator-min-microvolt = <1850000>;
210f126890aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
211f126890aSEmmanuel Vadot			bias-pull-down;
212f126890aSEmmanuel Vadot		};
213f126890aSEmmanuel Vadot
2148d13bc63SEmmanuel Vadot		pm8921_l8: l8 {
215f126890aSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
216f126890aSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
217f126890aSEmmanuel Vadot			bias-pull-down;
218f126890aSEmmanuel Vadot		};
219f126890aSEmmanuel Vadot
2208d13bc63SEmmanuel Vadot		pm8921_l9: l9 {
221f126890aSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
222f126890aSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
223f126890aSEmmanuel Vadot			bias-pull-down;
224f126890aSEmmanuel Vadot		};
225f126890aSEmmanuel Vadot
2268d13bc63SEmmanuel Vadot		pm8921_l10: l10 {
227f126890aSEmmanuel Vadot			regulator-min-microvolt = <2900000>;
228f126890aSEmmanuel Vadot			regulator-max-microvolt = <2900000>;
229f126890aSEmmanuel Vadot			bias-pull-down;
230f126890aSEmmanuel Vadot		};
231f126890aSEmmanuel Vadot
2328d13bc63SEmmanuel Vadot		pm8921_l11: l11 {
233f126890aSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
234f126890aSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
235f126890aSEmmanuel Vadot			bias-pull-down;
236f126890aSEmmanuel Vadot		};
237f126890aSEmmanuel Vadot
2388d13bc63SEmmanuel Vadot		pm8921_l12: l12 {
239f126890aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
240f126890aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
241f126890aSEmmanuel Vadot			bias-pull-down;
242f126890aSEmmanuel Vadot		};
243f126890aSEmmanuel Vadot
2448d13bc63SEmmanuel Vadot		pm8921_l14: l14 {
245f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
246f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
247f126890aSEmmanuel Vadot			bias-pull-down;
248f126890aSEmmanuel Vadot		};
249f126890aSEmmanuel Vadot
2508d13bc63SEmmanuel Vadot		pm8921_l15: l15 {
251f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
252f126890aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
253f126890aSEmmanuel Vadot			bias-pull-down;
254f126890aSEmmanuel Vadot		};
255f126890aSEmmanuel Vadot
2568d13bc63SEmmanuel Vadot		pm8921_l16: l16 {
257f126890aSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
258f126890aSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
259f126890aSEmmanuel Vadot			bias-pull-down;
260f126890aSEmmanuel Vadot		};
261f126890aSEmmanuel Vadot
2628d13bc63SEmmanuel Vadot		pm8921_l17: l17 {
263f126890aSEmmanuel Vadot			regulator-min-microvolt = <2000000>;
264f126890aSEmmanuel Vadot			regulator-max-microvolt = <2000000>;
265f126890aSEmmanuel Vadot			bias-pull-down;
266f126890aSEmmanuel Vadot		};
267f126890aSEmmanuel Vadot
2688d13bc63SEmmanuel Vadot		pm8921_l18: l18 {
269f126890aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
270f126890aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
271f126890aSEmmanuel Vadot			bias-pull-down;
272f126890aSEmmanuel Vadot		};
273f126890aSEmmanuel Vadot
2748d13bc63SEmmanuel Vadot		pm8921_l21: l21 {
275f126890aSEmmanuel Vadot			regulator-min-microvolt = <1050000>;
276f126890aSEmmanuel Vadot			regulator-max-microvolt = <1050000>;
277f126890aSEmmanuel Vadot			bias-pull-down;
278f126890aSEmmanuel Vadot		};
279f126890aSEmmanuel Vadot
2808d13bc63SEmmanuel Vadot		pm8921_l22: l22 {
281f126890aSEmmanuel Vadot			regulator-min-microvolt = <2600000>;
282f126890aSEmmanuel Vadot			regulator-max-microvolt = <2600000>;
283f126890aSEmmanuel Vadot			bias-pull-down;
284f126890aSEmmanuel Vadot		};
285f126890aSEmmanuel Vadot
2868d13bc63SEmmanuel Vadot		pm8921_l23: l23 {
287f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
288f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
289f126890aSEmmanuel Vadot			bias-pull-down;
290f126890aSEmmanuel Vadot		};
291f126890aSEmmanuel Vadot
2928d13bc63SEmmanuel Vadot		pm8921_l24: l24 {
293f126890aSEmmanuel Vadot			regulator-min-microvolt = <750000>;
294f126890aSEmmanuel Vadot			regulator-max-microvolt = <1150000>;
295f126890aSEmmanuel Vadot			bias-pull-down;
296f126890aSEmmanuel Vadot		};
297f126890aSEmmanuel Vadot
2988d13bc63SEmmanuel Vadot		pm8921_l25: l25 {
299f126890aSEmmanuel Vadot			regulator-always-on;
300f126890aSEmmanuel Vadot			regulator-min-microvolt = <1250000>;
301f126890aSEmmanuel Vadot			regulator-max-microvolt = <1250000>;
302f126890aSEmmanuel Vadot			bias-pull-down;
303f126890aSEmmanuel Vadot		};
304f126890aSEmmanuel Vadot
3058d13bc63SEmmanuel Vadot		pm8921_l27: l27 {
306f126890aSEmmanuel Vadot			regulator-min-microvolt = <1100000>;
307f126890aSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
308f126890aSEmmanuel Vadot		};
309f126890aSEmmanuel Vadot
3108d13bc63SEmmanuel Vadot		pm8921_l28: l28 {
311f126890aSEmmanuel Vadot			regulator-min-microvolt = <1050000>;
312f126890aSEmmanuel Vadot			regulator-max-microvolt = <1050000>;
313f126890aSEmmanuel Vadot			bias-pull-down;
314f126890aSEmmanuel Vadot		};
315f126890aSEmmanuel Vadot
3168d13bc63SEmmanuel Vadot		pm8921_l29: l29 {
317f126890aSEmmanuel Vadot			regulator-min-microvolt = <2000000>;
318f126890aSEmmanuel Vadot			regulator-max-microvolt = <2000000>;
319f126890aSEmmanuel Vadot			bias-pull-down;
320f126890aSEmmanuel Vadot		};
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot		/* Low Voltage Switch */
3238d13bc63SEmmanuel Vadot		pm8921_lvs1: lvs1 {
324f126890aSEmmanuel Vadot			bias-pull-down;
325f126890aSEmmanuel Vadot		};
326f126890aSEmmanuel Vadot
3278d13bc63SEmmanuel Vadot		pm8921_lvs2: lvs2 {
328f126890aSEmmanuel Vadot			bias-pull-down;
329f126890aSEmmanuel Vadot		};
330f126890aSEmmanuel Vadot
3318d13bc63SEmmanuel Vadot		pm8921_lvs3: lvs3 {
332f126890aSEmmanuel Vadot			bias-pull-down;
333f126890aSEmmanuel Vadot		};
334f126890aSEmmanuel Vadot
3358d13bc63SEmmanuel Vadot		pm8921_lvs4: lvs4 {
336f126890aSEmmanuel Vadot			bias-pull-down;
337f126890aSEmmanuel Vadot		};
338f126890aSEmmanuel Vadot
3398d13bc63SEmmanuel Vadot		pm8921_lvs5: lvs5 {
340f126890aSEmmanuel Vadot			bias-pull-down;
341f126890aSEmmanuel Vadot		};
342f126890aSEmmanuel Vadot
3438d13bc63SEmmanuel Vadot		pm8921_lvs6: lvs6 {
344f126890aSEmmanuel Vadot			bias-pull-down;
345f126890aSEmmanuel Vadot		};
346f126890aSEmmanuel Vadot
3478d13bc63SEmmanuel Vadot		pm8921_lvs7: lvs7 {
348f126890aSEmmanuel Vadot			bias-pull-down;
349f126890aSEmmanuel Vadot		};
350f126890aSEmmanuel Vadot
3518d13bc63SEmmanuel Vadot		pm8921_usb_switch: usb-switch {};
352f126890aSEmmanuel Vadot
3538d13bc63SEmmanuel Vadot		pm8921_hdmi_switch: hdmi-switch {
3548d13bc63SEmmanuel Vadot			bias-pull-down;
3558d13bc63SEmmanuel Vadot		};
356f126890aSEmmanuel Vadot
3578d13bc63SEmmanuel Vadot		pm8921_ncp: ncp {
358f126890aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
359f126890aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
360f126890aSEmmanuel Vadot			qcom,switch-mode-frequency = <1600000>;
361f126890aSEmmanuel Vadot		};
362f126890aSEmmanuel Vadot	};
363f126890aSEmmanuel Vadot};
364f126890aSEmmanuel Vadot
365f126890aSEmmanuel Vadot&sdcc1 {
366f126890aSEmmanuel Vadot	vmmc-supply = <&pm8921_l5>;
367f126890aSEmmanuel Vadot	vqmmc-supply = <&pm8921_s4>;
368f126890aSEmmanuel Vadot	status = "okay";
369f126890aSEmmanuel Vadot};
370f126890aSEmmanuel Vadot
371f126890aSEmmanuel Vadot&sdcc3 {
372f126890aSEmmanuel Vadot	vmmc-supply = <&pm8921_l6>;
373f126890aSEmmanuel Vadot	cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
374f126890aSEmmanuel Vadot
375f126890aSEmmanuel Vadot	pinctrl-names = "default";
376*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&sdcc3_default_state>, <&sdcc3_cd_pin_a>;
377f126890aSEmmanuel Vadot
378f126890aSEmmanuel Vadot	status = "okay";
379f126890aSEmmanuel Vadot};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot&tlmm_pinmux {
382*b2d2a78aSEmmanuel Vadot	gsbi5_uart_pin_a: gsbi5-uart-pin-active-state {
383*b2d2a78aSEmmanuel Vadot		rx-pins {
384f126890aSEmmanuel Vadot			pins = "gpio52";
385f126890aSEmmanuel Vadot			function = "gsbi5";
386f126890aSEmmanuel Vadot			drive-strength = <2>;
387f126890aSEmmanuel Vadot			bias-pull-up;
388f126890aSEmmanuel Vadot		};
389f126890aSEmmanuel Vadot
390*b2d2a78aSEmmanuel Vadot		tx-pins {
391f126890aSEmmanuel Vadot			pins = "gpio51";
392f126890aSEmmanuel Vadot			function = "gsbi5";
393f126890aSEmmanuel Vadot			drive-strength = <4>;
394f126890aSEmmanuel Vadot			bias-disable;
395f126890aSEmmanuel Vadot		};
396f126890aSEmmanuel Vadot	};
397f126890aSEmmanuel Vadot
398f126890aSEmmanuel Vadot
399*b2d2a78aSEmmanuel Vadot	sdcc3_cd_pin_a: sdcc3-cd-pin-active-state {
400f126890aSEmmanuel Vadot		pins = "gpio26";
401f126890aSEmmanuel Vadot		function = "gpio";
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot		drive-strength = <2>;
404f126890aSEmmanuel Vadot		bias-disable;
405f126890aSEmmanuel Vadot	};
406f126890aSEmmanuel Vadot};
407f126890aSEmmanuel Vadot
408f126890aSEmmanuel Vadot&usb_hs1_phy {
409f126890aSEmmanuel Vadot	v3p3-supply = <&pm8921_l3>;
410f126890aSEmmanuel Vadot	v1p8-supply = <&pm8921_l4>;
411f126890aSEmmanuel Vadot};
412f126890aSEmmanuel Vadot
413f126890aSEmmanuel Vadot&usb1 {
414f126890aSEmmanuel Vadot	dr_mode = "otg";
415f126890aSEmmanuel Vadot	status = "okay";
416f126890aSEmmanuel Vadot};
417