blob: 85e0d3d66e16a76d0ad2474d3dfe5166b2509b57 [file] [log] [blame]
Tom Rini762f85b2024-07-20 11:15:10 -06001// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2023, Linaro Limited
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/firmware/qcom,scm.h>
9#include <dt-bindings/leds/common.h>
10#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12#include <dt-bindings/sound/cs35l45.h>
13#include "sm8550.dtsi"
14#include "pm8010.dtsi"
15#include "pm8550.dtsi"
16#include "pm8550b.dtsi"
17#define PMK8550VE_SID 5
18#include "pm8550ve.dtsi"
19#include "pm8550vs.dtsi"
20#include "pmk8550.dtsi"
21/* TODO: Only one SID of PMR735D seems accessible? */
22
23/delete-node/ &hwfence_shbuf;
24/delete-node/ &mpss_mem;
25/delete-node/ &rmtfs_mem;
26/ {
27 model = "Sony Xperia 1 V";
28 compatible = "sony,pdx234", "qcom,sm8550";
29 chassis-type = "handset";
30
31 aliases {
32 i2c0 = &i2c0;
33 i2c4 = &i2c4;
34 i2c10 = &i2c10;
35 i2c11 = &i2c11;
36 i2c16 = &i2c_hub_2;
37 serial0 = &uart7;
38 };
39
40 chosen {
41 stdout-path = "serial0:115200n8";
42 };
43
44 gpio-keys {
45 compatible = "gpio-keys";
46 label = "gpio-keys";
47
48 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n>;
49 pinctrl-names = "default";
50
51 key-camera-focus {
52 label = "Camera Focus";
53 linux,code = <KEY_CAMERA_FOCUS>;
54 gpios = <&pm8550b_gpios 8 GPIO_ACTIVE_LOW>;
55 debounce-interval = <15>;
56 linux,can-disable;
57 wakeup-source;
58 };
59
60 key-camera-snapshot {
61 label = "Camera Snapshot";
62 gpios = <&pm8550b_gpios 7 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_CAMERA>;
64 debounce-interval = <15>;
65 linux,can-disable;
66 wakeup-source;
67 };
68
69 key-volume-down {
70 label = "Volume Down";
71 linux,code = <KEY_VOLUMEDOWN>;
72 gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>;
73 debounce-interval = <15>;
74 linux,can-disable;
75 wakeup-source;
76 };
77 };
78
79 pmic-glink {
80 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink";
81 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
82 #address-cells = <1>;
83 #size-cells = <0>;
84
85 connector@0 {
86 compatible = "usb-c-connector";
87 reg = <0>;
88 power-role = "dual";
89 data-role = "dual";
90
91 ports {
92 #address-cells = <1>;
93 #size-cells = <0>;
94
95 port@0 {
96 reg = <0>;
97
98 pmic_glink_hs_in: endpoint {
99 remote-endpoint = <&usb_1_dwc3_hs>;
100 };
101 };
102
103 port@1 {
104 reg = <1>;
105
106 pmic_glink_ss_in: endpoint {
107 remote-endpoint = <&usb_dp_qmpphy_out>;
108 };
109 };
110 };
111 };
112 };
113
114 reserved-memory {
115 mpss_mem: mpss-region@89800000 {
116 reg = <0x0 0x89800000 0x0 0x10800000>;
117 no-map;
118 };
119
120 splash@b8000000 {
121 reg = <0x0 0xb8000000 0x0 0x2b00000>;
122 no-map;
123 };
124
125 hwfence_shbuf: hwfence-shbuf-region@e6440000 {
126 reg = <0x0 0xe6440000 0x0 0x2dd000>;
127 no-map;
128 };
129
130 rmtfs_mem: memory@f8b00000 {
131 compatible = "qcom,rmtfs-mem";
132 reg = <0x0 0xf8b00000 0x0 0x280000>;
133 no-map;
134
135 qcom,client-id = <1>;
136 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
137 };
138
139 ramoops@ffd00000 {
140 compatible = "ramoops";
141 reg = <0x0 0xffd00000 0x0 0xc0000>;
142 console-size = <0x40000>;
143 record-size = <0x1000>;
144 pmsg-size = <0x40000>;
145 ecc-size = <16>;
146 };
147
148 rdtag-store-region@ffdc0000 {
149 reg = <0x0 0xffdc0000 0x0 0x40000>;
150 no-map;
151 };
152 };
153
154 vph_pwr: vph-pwr-regulator {
155 compatible = "regulator-fixed";
156 regulator-name = "vph_pwr";
157 regulator-min-microvolt = <3700000>;
158 regulator-max-microvolt = <3700000>;
159
160 regulator-always-on;
161 regulator-boot-on;
162 };
163};
164
165&apps_rsc {
166 regulators-0 {
167 compatible = "qcom,pm8550-rpmh-regulators";
168 qcom,pmic-id = "b";
169
170 pm8550_bob1: bob1 {
171 regulator-name = "pm8550_bob1";
172 regulator-min-microvolt = <3416000>;
173 regulator-max-microvolt = <3960000>;
174 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
175 };
176
177 /* TODO: bob2 @ 2.704-3.008V doesn't fall into the vreg driver constraints */
178
179 pm8550_l1: ldo1 {
180 regulator-name = "pm8550_l1";
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
183 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
184 };
185
186 pm8550_l2: ldo2 {
187 regulator-name = "pm8550_l2";
188 regulator-min-microvolt = <3008000>;
189 regulator-max-microvolt = <3008000>;
190 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
191 };
192
193 /* L4 exists in cmd-db, but the board seems to crash on access */
194
195 pm8550_l5: ldo5 {
196 regulator-name = "pm8550_l5";
197 regulator-min-microvolt = <3104000>;
198 regulator-max-microvolt = <3104000>;
199 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
200 };
201
202 pm8550_l6: ldo6 {
203 regulator-name = "pm8550_l6";
204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <3008000>;
206 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
207 };
208
209 pm8550_l7: ldo7 {
210 regulator-name = "pm8550_l7";
211 regulator-min-microvolt = <1800000>;
212 regulator-max-microvolt = <3008000>;
213 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214 };
215
216 pm8550_l8: ldo8 {
217 regulator-name = "pm8550_l8";
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <3008000>;
220 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
221 };
222
223 pm8550_l9: ldo9 {
224 regulator-name = "pm8550_l9";
225 regulator-min-microvolt = <2960000>;
226 regulator-max-microvolt = <3008000>;
227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228 };
229
230 pm8550_l10: ldo10 {
231 regulator-name = "pm8550_l10";
232 regulator-min-microvolt = <1800000>;
233 regulator-max-microvolt = <1800000>;
234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235 };
236
237 pm8550_l11: ldo11 {
238 regulator-name = "pm8550_l11";
239 regulator-min-microvolt = <1200000>;
240 regulator-max-microvolt = <1504000>;
241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242 };
243
244 pm8550_l12: ldo12 {
245 regulator-name = "pm8550_l12";
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <1800000>;
248 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
249 };
250
251 pm8550_l13: ldo13 {
252 regulator-name = "pm8550_l13";
253 regulator-min-microvolt = <3000000>;
254 regulator-max-microvolt = <3000000>;
255 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
256 };
257
258 pm8550_l14: ldo14 {
259 regulator-name = "pm8550_l14";
260 regulator-min-microvolt = <3304000>;
261 regulator-max-microvolt = <3304000>;
262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
263 };
264
265 pm8550_l15: ldo15 {
266 regulator-name = "pm8550_l15";
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
269 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
270 };
271
272 pm8550_l16: ldo16 {
273 regulator-name = "pm8550_l16";
274 regulator-min-microvolt = <2800000>;
275 regulator-max-microvolt = <2800000>;
276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
277 };
278
279 pm8550_l17: ldo17 {
280 regulator-name = "pm8550_l17";
281 regulator-min-microvolt = <2504000>;
282 regulator-max-microvolt = <2504000>;
283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
284 };
285 };
286
287 regulators-1 {
288 compatible = "qcom,pm8550vs-rpmh-regulators";
289 qcom,pmic-id = "c";
290
291 pm8550vs_0_l1: ldo1 {
292 regulator-name = "pm8550vs_0_l1";
293 regulator-min-microvolt = <1200000>;
294 regulator-max-microvolt = <1200000>;
295 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
296 };
297
298 pm8550vs_0_l3: ldo3 {
299 regulator-name = "pm8550vs_0_l3";
300 regulator-min-microvolt = <880000>;
301 regulator-max-microvolt = <912000>;
302 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
303 };
304 };
305
306 regulators-2 {
307 compatible = "qcom,pm8550vs-rpmh-regulators";
308 qcom,pmic-id = "d";
309
310 pm8550vs_1_l1: ldo1 {
311 regulator-name = "pm8550vs_1_l1";
312 regulator-min-microvolt = <880000>;
313 regulator-max-microvolt = <920000>;
314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
315 };
316
317 /* L3 exists in cmd-db, but the board seems to crash on access */
318 };
319
320 regulators-3 {
321 compatible = "qcom,pm8550vs-rpmh-regulators";
322 qcom,pmic-id = "e";
323
324 pm8550vs_2_s4: smps4 {
325 regulator-name = "pm8550vs_2_s4";
326 regulator-min-microvolt = <904000>;
327 regulator-max-microvolt = <984000>;
328 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329 };
330
331 pm8550vs_2_s5: smps5 {
332 regulator-name = "pm8550vs_2_s5";
333 regulator-min-microvolt = <1010000>;
334 regulator-max-microvolt = <1120000>;
335 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
336 };
337
338 pm8550vs_2_l1: ldo1 {
339 regulator-name = "pm8550vs_2_l1";
340 regulator-min-microvolt = <880000>;
341 regulator-max-microvolt = <912000>;
342 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
343 };
344
345 pm8550vs_2_l2: ldo2 {
346 regulator-name = "pm8550vs_2_l2";
347 regulator-min-microvolt = <880000>;
348 regulator-max-microvolt = <968000>;
349 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
350 };
351
352 pm8550vs_2_l3: ldo3 {
353 regulator-name = "pm8550vs_2_l3";
354 regulator-min-microvolt = <1200000>;
355 regulator-max-microvolt = <1200000>;
356 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
357 };
358 };
359
360 regulators-4 {
361 compatible = "qcom,pm8550ve-rpmh-regulators";
362 qcom,pmic-id = "f";
363
364 pm8550ve_s4: smps4 {
365 regulator-name = "pm8550ve_s4";
366 regulator-min-microvolt = <500000>;
367 regulator-max-microvolt = <700000>;
368 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
369 };
370
371 pm8550ve_l1: ldo1 {
372 regulator-name = "pm8550ve_l1";
373 regulator-min-microvolt = <912000>;
374 regulator-max-microvolt = <912000>;
375 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
376 };
377
378 pm8550ve_l2: ldo2 {
379 regulator-name = "pm8550ve_l2";
380 regulator-min-microvolt = <880000>;
381 regulator-max-microvolt = <912000>;
382 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
383 };
384
385 pm8550ve_l3: ldo3 {
386 regulator-name = "pm8550ve_l3";
387 regulator-min-microvolt = <912000>;
388 regulator-max-microvolt = <912000>;
389 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
390 };
391 };
392
393 regulators-5 {
394 compatible = "qcom,pm8550vs-rpmh-regulators";
395 qcom,pmic-id = "g";
396
397 pm8550vs_3_s1: smps1 {
398 regulator-name = "pm8550vs_3_s1";
399 regulator-min-microvolt = <1200000>;
400 regulator-max-microvolt = <1300000>;
401 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
402 };
403
404 pm8550vs_3_s2: smps2 {
405 regulator-name = "pm8550vs_3_s2";
406 regulator-min-microvolt = <500000>;
407 regulator-max-microvolt = <1036000>;
408 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
409 };
410
411 pm8550vs_3_s3: smps3 {
412 regulator-name = "pm8550vs_3_s3";
413 regulator-min-microvolt = <300000>;
414 regulator-max-microvolt = <1004000>;
415 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
416 };
417
418 pm8550vs_3_s4: smps4 {
419 regulator-name = "pm8550vs_3_s4";
420 regulator-min-microvolt = <1200000>;
421 regulator-max-microvolt = <1352000>;
422 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
423 };
424
425 pm8550vs_3_s5: smps5 {
426 regulator-name = "pm8550vs_3_s5";
427 regulator-min-microvolt = <500000>;
428 regulator-max-microvolt = <1004000>;
429 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
430 };
431
432 pm8550vs_3_s6: smps6 {
433 regulator-name = "pm8550vs_3_s6";
434 regulator-min-microvolt = <1800000>;
435 regulator-max-microvolt = <2000000>;
436 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
437 };
438
439 pm8550vs_3_l1: ldo1 {
440 regulator-name = "pm8550vs_3_l1";
441 regulator-min-microvolt = <1144000>;
442 regulator-max-microvolt = <1256000>;
443 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
444 };
445
446 pm8550vs_3_l2: ldo2 {
447 regulator-name = "pm8550vs_3_l2";
448 regulator-min-microvolt = <1104000>;
449 regulator-max-microvolt = <1200000>;
450 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
451 };
452
453 pm8550vs_3_l3: ldo3 {
454 regulator-name = "pm8550vs_3_l3";
455 regulator-min-microvolt = <1200000>;
456 regulator-max-microvolt = <1200000>;
457 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
458 };
459 };
460
461 /* TODO: Unknown PMIC @ k, l, PM8010 @ m, n */
462};
463
464&gpi_dma1 {
465 status = "okay";
466};
467
468&gpi_dma2 {
469 status = "okay";
470};
471
472&i2c_hub_2 {
473 clock-frequency = <400000>;
474 status = "okay";
475
476 pmic@75 {
477 compatible = "dlg,slg51000";
478 reg = <0x75>;
479 dlg,cs-gpios = <&pm8550vs_g_gpios 4 GPIO_ACTIVE_HIGH>;
480
481 pinctrl-0 = <&cam_pwr_a_cs>;
482 pinctrl-names = "default";
483
484 regulators {
485 slg51000_a_ldo1: ldo1 {
486 regulator-name = "slg51000_a_ldo1";
487 regulator-min-microvolt = <2400000>;
488 regulator-max-microvolt = <3300000>;
489 };
490
491 slg51000_a_ldo2: ldo2 {
492 regulator-name = "slg51000_a_ldo2";
493 regulator-min-microvolt = <2400000>;
494 regulator-max-microvolt = <3300000>;
495 };
496
497 slg51000_a_ldo3: ldo3 {
498 regulator-name = "slg51000_a_ldo3";
499 regulator-min-microvolt = <1200000>;
500 regulator-max-microvolt = <3750000>;
501 };
502
503 slg51000_a_ldo4: ldo4 {
504 regulator-name = "slg51000_a_ldo4";
505 regulator-min-microvolt = <1200000>;
506 regulator-max-microvolt = <3750000>;
507 };
508
509 slg51000_a_ldo5: ldo5 {
510 regulator-name = "slg51000_a_ldo5";
511 regulator-min-microvolt = <500000>;
512 regulator-max-microvolt = <1200000>;
513 };
514
515 slg51000_a_ldo6: ldo6 {
516 regulator-name = "slg51000_a_ldo6";
517 regulator-min-microvolt = <500000>;
518 regulator-max-microvolt = <1200000>;
519 };
520
521 slg51000_a_ldo7: ldo7 {
522 regulator-name = "slg51000_a_ldo7";
523 regulator-min-microvolt = <1200000>;
524 regulator-max-microvolt = <3750000>;
525 };
526 };
527 };
528};
529
530&i2c_master_hub_0 {
531 status = "okay";
532};
533
534&i2c0 {
535 clock-frequency = <1000000>;
536 status = "okay";
537
538 /* NXP NFC @ 28 */
539};
540
541&i2c4 {
542 clock-frequency = <400000>;
543 status = "okay";
544
545 /* LX Semi SW82907 touchscreen @ 28 */
546};
547
548&i2c10 {
549 clock-frequency = <1000000>;
550 status = "okay";
551
552 /* Cirrus Logic CS40L25A boosted haptics driver @ 40 */
553};
554
555&i2c11 {
556 clock-frequency = <1000000>;
557 status = "okay";
558
559 cs35l41_l: speaker-amp@30 {
560 compatible = "cirrus,cs35l45";
561 reg = <0x30>;
562 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
563 reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>;
564 cirrus,asp-sdout-hiz-ctrl = <(CS35L45_ASP_TX_HIZ_UNUSED | CS35L45_ASP_TX_HIZ_DISABLED)>;
565 #sound-dai-cells = <1>;
566
567 cirrus,gpio-ctrl2 {
568 gpio-ctrl = <0x2>;
569 };
570 };
571
572 cs35l41_r: speaker-amp@31 {
573 compatible = "cirrus,cs35l45";
574 reg = <0x31>;
575 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
576 reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>;
577 cirrus,asp-sdout-hiz-ctrl = <(CS35L45_ASP_TX_HIZ_UNUSED | CS35L45_ASP_TX_HIZ_DISABLED)>;
578 #sound-dai-cells = <1>;
579
580 cirrus,gpio-ctrl2 {
581 gpio-ctrl = <0x2>;
582 };
583 };
584};
585
586&pcie0 {
587 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
588 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
589
590 pinctrl-0 = <&pcie0_default_state>;
591 pinctrl-names = "default";
592
593 status = "okay";
594};
595
596&pcie0_phy {
597 vdda-phy-supply = <&pm8550vs_2_l1>;
598 vdda-pll-supply = <&pm8550vs_2_l3>;
599
600 status = "okay";
601};
602
603&pm8550_flash {
604 status = "okay";
605
606 led-0 {
607 function = LED_FUNCTION_FLASH;
608 color = <LED_COLOR_ID_WHITE>;
609 led-sources = <1>, <4>;
610 led-max-microamp = <500000>;
611 flash-max-microamp = <1000000>;
612 flash-max-timeout-us = <1280000>;
613 function-enumerator = <0>;
614 };
615
616 led-1 {
617 function = LED_FUNCTION_FLASH;
618 color = <LED_COLOR_ID_YELLOW>;
619 led-sources = <2>, <3>;
620 led-max-microamp = <500000>;
621 flash-max-microamp = <1000000>;
622 flash-max-timeout-us = <1280000>;
623 function-enumerator = <1>;
624 };
625};
626
627&pm8550_gpios {
628 vol_down_n: volume-down-n-state {
629 pins = "gpio6";
630 function = "normal";
631 power-source = <1>;
632 bias-pull-up;
633 input-enable;
634 };
635
636 sdc2_card_det_n: sd-card-det-n-state {
637 pins = "gpio12";
638 function = "normal";
639 power-source = <1>;
640 bias-pull-down;
641 output-disable;
642 input-enable;
643 };
644};
645
646&pm8550b_gpios {
647 snapshot_n: snapshot-n-state {
648 pins = "gpio7";
649 function = "normal";
650 power-source = <1>;
651 bias-pull-up;
652 input-enable;
653 };
654
655 focus_n: focus-n-state {
656 pins = "gpio8";
657 function = "normal";
658 power-source = <1>;
659 bias-pull-up;
660 input-enable;
661 };
662};
663
664&pm8550vs_g_gpios {
665 cam_pwr_a_cs: cam-pwr-a-cs-state {
666 pins = "gpio4";
667 function = "normal";
668 power-source = <0x01>;
669 drive-push-pull;
670 output-low;
671 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
672 };
673};
674
675&pm8550b_eusb2_repeater {
676 qcom,tune-usb2-disc-thres = /bits/ 8 <0x6>;
677 qcom,tune-usb2-amplitude = /bits/ 8 <0xf>;
678 qcom,tune-usb2-preem = /bits/ 8 <0x7>;
679 vdd18-supply = <&pm8550_l15>;
680 vdd3-supply = <&pm8550_l5>;
681};
682
683&pon_pwrkey {
684 status = "okay";
685};
686
687&pon_resin {
688 linux,code = <KEY_VOLUMEUP>;
689 status = "okay";
690};
691
692&qupv3_id_0 {
693 status = "okay";
694};
695
696&qupv3_id_1 {
697 status = "okay";
698};
699
700&remoteproc_adsp {
701 firmware-name = "qcom/sm8550/Sony/yodo/adsp.mbn",
702 "qcom/sm8550/Sony/yodo/adsp_dtb.mbn";
703 status = "okay";
704};
705
706&remoteproc_cdsp {
707 firmware-name = "qcom/sm8550/Sony/yodo/cdsp.mbn",
708 "qcom/sm8550/Sony/yodo/cdsp_dtb.mbn";
709 status = "okay";
710};
711
712&sdhc_2 {
713 cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_HIGH>;
714 pinctrl-0 = <&sdc2_default &sdc2_card_det_n>;
715 pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>;
716 pinctrl-names = "default", "sleep";
717 vmmc-supply = <&pm8550_l9>;
718 vqmmc-supply = <&pm8550_l8>;
719 no-sdio;
720 no-mmc;
721 status = "okay";
722};
723
724&sleep_clk {
725 clock-frequency = <32000>;
726};
727
728&tlmm {
729 gpio-reserved-ranges = <32 8>;
730};
731
732&uart7 {
733 status = "okay";
734};
735
736&usb_1 {
737 status = "okay";
738};
739
740&usb_1_dwc3 {
741 dr_mode = "otg";
742 usb-role-switch;
743};
744
745&usb_1_dwc3_hs {
746 remote-endpoint = <&pmic_glink_hs_in>;
747};
748
749&usb_1_dwc3_ss {
750 remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>;
751};
752
753&usb_1_hsphy {
754 vdd-supply = <&pm8550vs_2_l1>;
755 vdda12-supply = <&pm8550vs_2_l3>;
756 phys = <&pm8550b_eusb2_repeater>;
757
758 status = "okay";
759};
760
761&usb_dp_qmpphy {
762 vdda-phy-supply = <&pm8550vs_2_l3>;
763 vdda-pll-supply = <&pm8550ve_l3>;
764 orientation-switch;
765
766 status = "okay";
767};
768
769&usb_dp_qmpphy_out {
770 remote-endpoint = <&pmic_glink_ss_in>;
771};
772
773&usb_dp_qmpphy_usb_ss_in {
774 remote-endpoint = <&usb_1_dwc3_ss>;
775};
776
777&xo_board {
778 clock-frequency = <76800000>;
779};