1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2024, Linaro Limited 5 */ 6 7/dts-v1/; 8 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/input/gpio-keys.h> 11#include <dt-bindings/input/input.h> 12#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 14#include "x1e80100.dtsi" 15#include "x1e80100-pmics.dtsi" 16 17/ { 18 model = "Lenovo ThinkPad T14s Gen 6"; 19 compatible = "lenovo,thinkpad-t14s", "qcom,x1e78100", "qcom,x1e80100"; 20 chassis-type = "laptop"; 21 22 gpio-keys { 23 compatible = "gpio-keys"; 24 25 pinctrl-0 = <&hall_int_n_default>; 26 pinctrl-names = "default"; 27 28 switch-lid { 29 gpios = <&tlmm 92 GPIO_ACTIVE_LOW>; 30 linux,input-type = <EV_SW>; 31 linux,code = <SW_LID>; 32 wakeup-source; 33 wakeup-event-action = <EV_ACT_DEASSERTED>; 34 }; 35 }; 36 37 pmic-glink { 38 compatible = "qcom,x1e80100-pmic-glink", 39 "qcom,sm8550-pmic-glink", 40 "qcom,pmic-glink"; 41 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>, 42 <&tlmm 123 GPIO_ACTIVE_HIGH>; 43 #address-cells = <1>; 44 #size-cells = <0>; 45 46 /* Display-adjacent port */ 47 connector@0 { 48 compatible = "usb-c-connector"; 49 reg = <0>; 50 power-role = "dual"; 51 data-role = "dual"; 52 53 ports { 54 #address-cells = <1>; 55 #size-cells = <0>; 56 57 port@0 { 58 reg = <0>; 59 60 pmic_glink_ss0_hs_in: endpoint { 61 remote-endpoint = <&usb_1_ss0_dwc3_hs>; 62 }; 63 }; 64 65 port@1 { 66 reg = <1>; 67 68 pmic_glink_ss0_ss_in: endpoint { 69 remote-endpoint = <&usb_1_ss0_qmpphy_out>; 70 }; 71 }; 72 }; 73 }; 74 75 /* User-adjacent port */ 76 connector@1 { 77 compatible = "usb-c-connector"; 78 reg = <1>; 79 power-role = "dual"; 80 data-role = "dual"; 81 82 ports { 83 #address-cells = <1>; 84 #size-cells = <0>; 85 86 port@0 { 87 reg = <0>; 88 89 pmic_glink_ss1_hs_in: endpoint { 90 remote-endpoint = <&usb_1_ss1_dwc3_hs>; 91 }; 92 }; 93 94 port@1 { 95 reg = <1>; 96 97 pmic_glink_ss1_ss_in: endpoint { 98 remote-endpoint = <&usb_1_ss1_qmpphy_out>; 99 }; 100 }; 101 }; 102 }; 103 }; 104 105 reserved-memory { 106 linux,cma { 107 compatible = "shared-dma-pool"; 108 size = <0x0 0x8000000>; 109 reusable; 110 linux,cma-default; 111 }; 112 }; 113 114 vreg_edp_3p3: regulator-edp-3p3 { 115 compatible = "regulator-fixed"; 116 117 regulator-name = "VREG_EDP_3P3"; 118 regulator-min-microvolt = <3300000>; 119 regulator-max-microvolt = <3300000>; 120 121 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 122 enable-active-high; 123 124 pinctrl-0 = <&edp_reg_en>; 125 pinctrl-names = "default"; 126 127 regulator-boot-on; 128 }; 129 130 vreg_nvme: regulator-nvme { 131 compatible = "regulator-fixed"; 132 133 regulator-name = "VREG_NVME_3P3"; 134 regulator-min-microvolt = <3300000>; 135 regulator-max-microvolt = <3300000>; 136 137 gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; 138 enable-active-high; 139 140 pinctrl-0 = <&nvme_reg_en>; 141 pinctrl-names = "default"; 142 }; 143 144 vph_pwr: regulator-vph-pwr { 145 compatible = "regulator-fixed"; 146 147 regulator-name = "vph_pwr"; 148 regulator-min-microvolt = <3700000>; 149 regulator-max-microvolt = <3700000>; 150 151 regulator-always-on; 152 regulator-boot-on; 153 }; 154}; 155 156&apps_rsc { 157 regulators-0 { 158 compatible = "qcom,pm8550-rpmh-regulators"; 159 qcom,pmic-id = "b"; 160 161 vdd-bob1-supply = <&vph_pwr>; 162 vdd-bob2-supply = <&vph_pwr>; 163 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; 164 vdd-l2-l13-l14-supply = <&vreg_bob1>; 165 vdd-l5-l16-supply = <&vreg_bob1>; 166 vdd-l6-l7-supply = <&vreg_bob2>; 167 vdd-l8-l9-supply = <&vreg_bob1>; 168 vdd-l12-supply = <&vreg_s5j_1p2>; 169 vdd-l15-supply = <&vreg_s4c_1p8>; 170 vdd-l17-supply = <&vreg_bob2>; 171 172 vreg_bob1: bob1 { 173 regulator-name = "vreg_bob1"; 174 regulator-min-microvolt = <3008000>; 175 regulator-max-microvolt = <3960000>; 176 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 177 }; 178 179 vreg_bob2: bob2 { 180 regulator-name = "vreg_bob2"; 181 regulator-min-microvolt = <2504000>; 182 regulator-max-microvolt = <3008000>; 183 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 184 }; 185 186 vreg_l2b_3p0: ldo2 { 187 regulator-name = "vreg_l2b_3p0"; 188 regulator-min-microvolt = <3072000>; 189 regulator-max-microvolt = <3072000>; 190 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 191 }; 192 193 vreg_l4b_1p8: ldo4 { 194 regulator-name = "vreg_l4b_1p8"; 195 regulator-min-microvolt = <1800000>; 196 regulator-max-microvolt = <1800000>; 197 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 198 }; 199 200 vreg_l6b_1p8: ldo6 { 201 regulator-name = "vreg_l6b_1p8"; 202 regulator-min-microvolt = <1800000>; 203 regulator-max-microvolt = <2960000>; 204 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 205 }; 206 207 vreg_l8b_3p0: ldo8 { 208 regulator-name = "vreg_l8b_3p0"; 209 regulator-min-microvolt = <3072000>; 210 regulator-max-microvolt = <3072000>; 211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 212 }; 213 214 vreg_l9b_2p9: ldo9 { 215 regulator-name = "vreg_l9b_2p9"; 216 regulator-min-microvolt = <2960000>; 217 regulator-max-microvolt = <2960000>; 218 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 219 }; 220 221 vreg_l10b_1p8: ldo10 { 222 regulator-name = "vreg_l10b_1p8"; 223 regulator-min-microvolt = <1800000>; 224 regulator-max-microvolt = <1800000>; 225 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 226 }; 227 228 vreg_l12b_1p2: ldo12 { 229 regulator-name = "vreg_l12b_1p2"; 230 regulator-min-microvolt = <1200000>; 231 regulator-max-microvolt = <1200000>; 232 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 233 }; 234 235 vreg_l13b_3p0: ldo13 { 236 regulator-name = "vreg_l13b_3p0"; 237 regulator-min-microvolt = <3072000>; 238 regulator-max-microvolt = <3072000>; 239 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 240 }; 241 242 vreg_l14b_3p0: ldo14 { 243 regulator-name = "vreg_l14b_3p0"; 244 regulator-min-microvolt = <3072000>; 245 regulator-max-microvolt = <3072000>; 246 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 247 }; 248 249 vreg_l15b_1p8: ldo15 { 250 regulator-name = "vreg_l15b_1p8"; 251 regulator-min-microvolt = <1800000>; 252 regulator-max-microvolt = <1800000>; 253 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 254 }; 255 256 vreg_l17b_2p5: ldo17 { 257 regulator-name = "vreg_l17b_2p5"; 258 regulator-min-microvolt = <2504000>; 259 regulator-max-microvolt = <2504000>; 260 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 261 }; 262 }; 263 264 regulators-1 { 265 compatible = "qcom,pm8550ve-rpmh-regulators"; 266 qcom,pmic-id = "c"; 267 268 vdd-l1-supply = <&vreg_s5j_1p2>; 269 vdd-l2-supply = <&vreg_s1f_0p7>; 270 vdd-l3-supply = <&vreg_s1f_0p7>; 271 vdd-s4-supply = <&vph_pwr>; 272 273 vreg_s4c_1p8: smps4 { 274 regulator-name = "vreg_s4c_1p8"; 275 regulator-min-microvolt = <1856000>; 276 regulator-max-microvolt = <2000000>; 277 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 278 }; 279 280 vreg_l1c_1p2: ldo1 { 281 regulator-name = "vreg_l1c_1p2"; 282 regulator-min-microvolt = <1200000>; 283 regulator-max-microvolt = <1200000>; 284 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 285 }; 286 287 vreg_l2c_0p8: ldo2 { 288 regulator-name = "vreg_l2c_0p8"; 289 regulator-min-microvolt = <880000>; 290 regulator-max-microvolt = <880000>; 291 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 292 }; 293 294 vreg_l3c_0p8: ldo3 { 295 regulator-name = "vreg_l3c_0p8"; 296 regulator-min-microvolt = <912000>; 297 regulator-max-microvolt = <912000>; 298 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 299 }; 300 }; 301 302 regulators-2 { 303 compatible = "qcom,pmc8380-rpmh-regulators"; 304 qcom,pmic-id = "d"; 305 306 vdd-l1-supply = <&vreg_s1f_0p7>; 307 vdd-l2-supply = <&vreg_s1f_0p7>; 308 vdd-l3-supply = <&vreg_s4c_1p8>; 309 vdd-s1-supply = <&vph_pwr>; 310 311 vreg_l1d_0p8: ldo1 { 312 regulator-name = "vreg_l1d_0p8"; 313 regulator-min-microvolt = <880000>; 314 regulator-max-microvolt = <880000>; 315 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 316 }; 317 318 vreg_l2d_0p9: ldo2 { 319 regulator-name = "vreg_l2d_0p9"; 320 regulator-min-microvolt = <912000>; 321 regulator-max-microvolt = <912000>; 322 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 323 }; 324 325 vreg_l3d_1p8: ldo3 { 326 regulator-name = "vreg_l3d_1p8"; 327 regulator-min-microvolt = <1800000>; 328 regulator-max-microvolt = <1800000>; 329 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 330 }; 331 }; 332 333 regulators-3 { 334 compatible = "qcom,pmc8380-rpmh-regulators"; 335 qcom,pmic-id = "e"; 336 337 vdd-l2-supply = <&vreg_s1f_0p7>; 338 vdd-l3-supply = <&vreg_s5j_1p2>; 339 340 vreg_l2e_0p8: ldo2 { 341 regulator-name = "vreg_l2e_0p8"; 342 regulator-min-microvolt = <880000>; 343 regulator-max-microvolt = <880000>; 344 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 345 }; 346 347 vreg_l3e_1p2: ldo3 { 348 regulator-name = "vreg_l3e_1p2"; 349 regulator-min-microvolt = <1200000>; 350 regulator-max-microvolt = <1200000>; 351 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 352 }; 353 }; 354 355 regulators-4 { 356 compatible = "qcom,pmc8380-rpmh-regulators"; 357 qcom,pmic-id = "f"; 358 359 vdd-l1-supply = <&vreg_s5j_1p2>; 360 vdd-l2-supply = <&vreg_s5j_1p2>; 361 vdd-l3-supply = <&vreg_s5j_1p2>; 362 vdd-s1-supply = <&vph_pwr>; 363 364 vreg_s1f_0p7: smps1 { 365 regulator-name = "vreg_s1f_0p7"; 366 regulator-min-microvolt = <700000>; 367 regulator-max-microvolt = <1100000>; 368 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 369 }; 370 }; 371 372 regulators-6 { 373 compatible = "qcom,pm8550ve-rpmh-regulators"; 374 qcom,pmic-id = "i"; 375 376 vdd-l1-supply = <&vreg_s4c_1p8>; 377 vdd-l2-supply = <&vreg_s5j_1p2>; 378 vdd-l3-supply = <&vreg_s1f_0p7>; 379 vdd-s1-supply = <&vph_pwr>; 380 vdd-s2-supply = <&vph_pwr>; 381 382 vreg_l1i_1p8: ldo1 { 383 regulator-name = "vreg_l1i_1p8"; 384 regulator-min-microvolt = <1800000>; 385 regulator-max-microvolt = <1800000>; 386 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 387 }; 388 389 vreg_l2i_1p2: ldo2 { 390 regulator-name = "vreg_l2i_1p2"; 391 regulator-min-microvolt = <1200000>; 392 regulator-max-microvolt = <1200000>; 393 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 394 }; 395 396 vreg_l3i_0p8: ldo3 { 397 regulator-name = "vreg_l3i_0p8"; 398 regulator-min-microvolt = <880000>; 399 regulator-max-microvolt = <880000>; 400 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 401 }; 402 }; 403 404 regulators-7 { 405 compatible = "qcom,pm8550ve-rpmh-regulators"; 406 qcom,pmic-id = "j"; 407 408 vdd-l1-supply = <&vreg_s1f_0p7>; 409 vdd-l2-supply = <&vreg_s5j_1p2>; 410 vdd-l3-supply = <&vreg_s1f_0p7>; 411 vdd-s5-supply = <&vph_pwr>; 412 413 vreg_s5j_1p2: smps5 { 414 regulator-name = "vreg_s5j_1p2"; 415 regulator-min-microvolt = <1256000>; 416 regulator-max-microvolt = <1304000>; 417 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 418 }; 419 420 vreg_l1j_0p8: ldo1 { 421 regulator-name = "vreg_l1j_0p8"; 422 regulator-min-microvolt = <912000>; 423 regulator-max-microvolt = <912000>; 424 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 425 }; 426 427 vreg_l2j_1p2: ldo2 { 428 regulator-name = "vreg_l2j_1p2"; 429 regulator-min-microvolt = <1256000>; 430 regulator-max-microvolt = <1256000>; 431 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 432 }; 433 434 vreg_l3j_0p8: ldo3 { 435 regulator-name = "vreg_l3j_0p8"; 436 regulator-min-microvolt = <880000>; 437 regulator-max-microvolt = <880000>; 438 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 439 }; 440 }; 441}; 442 443&gpu { 444 status = "okay"; 445 446 zap-shader { 447 firmware-name = "qcom/x1e80100/LENOVO/21N1/qcdxkmsuc8380.mbn"; 448 }; 449}; 450 451&i2c0 { 452 clock-frequency = <400000>; 453 454 status = "okay"; 455 456 /* ELAN06E2 or ELAN06E3 */ 457 touchpad@15 { 458 compatible = "hid-over-i2c"; 459 reg = <0x15>; 460 461 hid-descr-addr = <0x1>; 462 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; 463 464 pinctrl-0 = <&tpad_default>; 465 pinctrl-names = "default"; 466 467 wakeup-source; 468 }; 469 470 /* TODO: second-sourced SYNA8022 or SYNA8024 touchpad @ 0x2c */ 471 472 /* ELAN06F1 or SYNA06F2 */ 473 keyboard@3a { 474 compatible = "hid-over-i2c"; 475 reg = <0x3a>; 476 477 hid-descr-addr = <0x1>; 478 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; 479 480 pinctrl-0 = <&kybd_default>; 481 pinctrl-names = "default"; 482 483 wakeup-source; 484 }; 485}; 486 487&i2c8 { 488 clock-frequency = <400000>; 489 490 status = "okay"; 491 492 /* ILIT2911 or GTCH1563 */ 493 touchscreen@10 { 494 compatible = "hid-over-i2c"; 495 reg = <0x10>; 496 497 hid-descr-addr = <0x1>; 498 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; 499 500 pinctrl-0 = <&ts0_default>; 501 pinctrl-names = "default"; 502 }; 503 504 /* TODO: second-sourced touchscreen @ 0x41 */ 505}; 506 507&mdss { 508 status = "okay"; 509}; 510 511&mdss_dp3 { 512 compatible = "qcom,x1e80100-dp"; 513 /delete-property/ #sound-dai-cells; 514 515 status = "okay"; 516 517 aux-bus { 518 panel { 519 compatible = "edp-panel"; 520 enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>; 521 power-supply = <&vreg_edp_3p3>; 522 523 pinctrl-0 = <&edp_bl_en>; 524 pinctrl-names = "default"; 525 526 port { 527 edp_panel_in: endpoint { 528 remote-endpoint = <&mdss_dp3_out>; 529 }; 530 }; 531 }; 532 }; 533 534 ports { 535 port@1 { 536 reg = <1>; 537 538 mdss_dp3_out: endpoint { 539 data-lanes = <0 1 2 3>; 540 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 541 542 remote-endpoint = <&edp_panel_in>; 543 }; 544 }; 545 }; 546}; 547 548&mdss_dp3_phy { 549 vdda-phy-supply = <&vreg_l3j_0p8>; 550 vdda-pll-supply = <&vreg_l2j_1p2>; 551 552 status = "okay"; 553}; 554 555&pcie4 { 556 perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; 557 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 558 559 pinctrl-0 = <&pcie4_default>; 560 pinctrl-names = "default"; 561 562 status = "okay"; 563}; 564 565&pcie4_phy { 566 vdda-phy-supply = <&vreg_l3i_0p8>; 567 vdda-pll-supply = <&vreg_l3e_1p2>; 568 569 status = "okay"; 570}; 571 572&pcie6a { 573 perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 574 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; 575 576 vddpe-3v3-supply = <&vreg_nvme>; 577 578 pinctrl-0 = <&pcie6a_default>; 579 pinctrl-names = "default"; 580 581 status = "okay"; 582}; 583 584&pcie6a_phy { 585 vdda-phy-supply = <&vreg_l1d_0p8>; 586 vdda-pll-supply = <&vreg_l2j_1p2>; 587 588 status = "okay"; 589}; 590 591&pmc8380_3_gpios { 592 edp_bl_en: edp-bl-en-state { 593 pins = "gpio4"; 594 function = "normal"; 595 power-source = <1>; 596 input-disable; 597 output-enable; 598 }; 599}; 600 601&qupv3_0 { 602 status = "okay"; 603}; 604 605&qupv3_1 { 606 status = "okay"; 607}; 608 609&qupv3_2 { 610 status = "okay"; 611}; 612 613&remoteproc_adsp { 614 firmware-name = "qcom/x1e80100/LENOVO/21N1/qcadsp8380.mbn", 615 "qcom/x1e80100/LENOVO/21N1/adsp_dtbs.elf"; 616 617 status = "okay"; 618}; 619 620&remoteproc_cdsp { 621 firmware-name = "qcom/x1e80100/LENOVO/21N1/qccdsp8380.mbn", 622 "qcom/x1e80100/LENOVO/21N1/cdsp_dtbs.elf"; 623 624 status = "okay"; 625}; 626 627&smb2360_0_eusb2_repeater { 628 vdd18-supply = <&vreg_l3d_1p8>; 629 vdd3-supply = <&vreg_l2b_3p0>; 630}; 631 632&smb2360_1_eusb2_repeater { 633 vdd18-supply = <&vreg_l3d_1p8>; 634 vdd3-supply = <&vreg_l14b_3p0>; 635}; 636 637&tlmm { 638 gpio-reserved-ranges = <34 2>, /* Unused */ 639 <44 4>, /* SPI (TPM) */ 640 <72 2>, /* Secure EC I2C connection (?) */ 641 <238 1>; /* UFS Reset */ 642 643 tpad_default: tpad-default-state { 644 pins = "gpio3"; 645 function = "gpio"; 646 bias-pull-up; 647 }; 648 649 nvme_reg_en: nvme-reg-en-state { 650 pins = "gpio18"; 651 function = "gpio"; 652 drive-strength = <2>; 653 bias-disable; 654 }; 655 656 ts0_default: ts0-default-state { 657 reset-n-pins { 658 pins = "gpio48"; 659 function = "gpio"; 660 output-high; 661 drive-strength = <16>; 662 }; 663 664 int-n-pins { 665 pins = "gpio51"; 666 function = "gpio"; 667 bias-disable; 668 }; 669 }; 670 671 kybd_default: kybd-default-state { 672 pins = "gpio67"; 673 function = "gpio"; 674 bias-disable; 675 }; 676 677 edp_reg_en: edp-reg-en-state { 678 pins = "gpio70"; 679 function = "gpio"; 680 drive-strength = <16>; 681 bias-disable; 682 }; 683 684 hall_int_n_default: hall-int-n-state { 685 pins = "gpio92"; 686 function = "gpio"; 687 bias-disable; 688 }; 689 690 pcie4_default: pcie4-default-state { 691 clkreq-n-pins { 692 pins = "gpio147"; 693 function = "pcie4_clk"; 694 drive-strength = <2>; 695 bias-pull-up; 696 }; 697 698 perst-n-pins { 699 pins = "gpio146"; 700 function = "gpio"; 701 drive-strength = <2>; 702 bias-disable; 703 }; 704 705 wake-n-pins { 706 pins = "gpio148"; 707 function = "gpio"; 708 drive-strength = <2>; 709 bias-pull-up; 710 }; 711 }; 712 713 pcie6a_default: pcie6a-default-state { 714 clkreq-n-pins { 715 pins = "gpio153"; 716 function = "pcie6a_clk"; 717 drive-strength = <2>; 718 bias-pull-up; 719 }; 720 721 perst-n-pins { 722 pins = "gpio152"; 723 function = "gpio"; 724 drive-strength = <2>; 725 bias-disable; 726 }; 727 728 wake-n-pins { 729 pins = "gpio154"; 730 function = "gpio"; 731 drive-strength = <2>; 732 bias-pull-up; 733 }; 734 }; 735 736 wcd_default: wcd-reset-n-active-state { 737 pins = "gpio191"; 738 function = "gpio"; 739 drive-strength = <16>; 740 bias-disable; 741 output-low; 742 }; 743}; 744 745&usb_1_ss0_hsphy { 746 vdd-supply = <&vreg_l3j_0p8>; 747 vdda12-supply = <&vreg_l2j_1p2>; 748 749 phys = <&smb2360_0_eusb2_repeater>; 750 751 status = "okay"; 752}; 753 754&usb_1_ss0_qmpphy { 755 vdda-phy-supply = <&vreg_l3e_1p2>; 756 vdda-pll-supply = <&vreg_l1j_0p8>; 757 758 status = "okay"; 759}; 760 761&usb_1_ss0 { 762 status = "okay"; 763}; 764 765&usb_1_ss0_dwc3 { 766 dr_mode = "host"; 767}; 768 769&usb_1_ss0_dwc3_hs { 770 remote-endpoint = <&pmic_glink_ss0_hs_in>; 771}; 772 773&usb_1_ss0_qmpphy_out { 774 remote-endpoint = <&pmic_glink_ss0_ss_in>; 775}; 776 777&usb_1_ss1_hsphy { 778 vdd-supply = <&vreg_l3j_0p8>; 779 vdda12-supply = <&vreg_l2j_1p2>; 780 781 phys = <&smb2360_1_eusb2_repeater>; 782 783 status = "okay"; 784}; 785 786&usb_1_ss1_qmpphy { 787 vdda-phy-supply = <&vreg_l3e_1p2>; 788 vdda-pll-supply = <&vreg_l2d_0p9>; 789 790 status = "okay"; 791}; 792 793&usb_1_ss1 { 794 status = "okay"; 795}; 796 797&usb_1_ss1_dwc3 { 798 dr_mode = "host"; 799}; 800 801&usb_1_ss1_dwc3_hs { 802 remote-endpoint = <&pmic_glink_ss1_hs_in>; 803}; 804 805&usb_1_ss1_qmpphy_out { 806 remote-endpoint = <&pmic_glink_ss1_ss_in>; 807}; 808