FILE
x1e78100-lenovo-thinkpad-t14s.dtsi
File preview with syntax highlighting.
linux-6.19.14/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
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/pinctrl/qcom,pmic-gpio.h> 13#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 15#include "hamoa.dtsi" 16#include "hamoa-pmics.dtsi" 17 18/ { 19 model = "Lenovo ThinkPad T14s Gen 6"; 20 compatible = "lenovo,thinkpad-t14s", "qcom,x1e78100", "qcom,x1e80100"; 21 chassis-type = "laptop"; 22 23 wcd938x: audio-codec { 24 compatible = "qcom,wcd9385-codec"; 25 26 pinctrl-0 = <&wcd_default>; 27 pinctrl-names = "default"; 28 29 qcom,micbias1-microvolt = <1800000>; 30 qcom,micbias2-microvolt = <1800000>; 31 qcom,micbias3-microvolt = <1800000>; 32 qcom,micbias4-microvolt = <1800000>; 33 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 34 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 35 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 36 qcom,rx-device = <&wcd_rx>; 37 qcom,tx-device = <&wcd_tx>; 38 39 reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>; 40 mux-controls = <&us_euro_mux_ctrl>; 41 42 vdd-buck-supply = <&vreg_l15b_1p8>; 43 vdd-rxtx-supply = <&vreg_l15b_1p8>; 44 vdd-io-supply = <&vreg_l15b_1p8>; 45 vdd-mic-bias-supply = <&vreg_bob1>; 46 47 #sound-dai-cells = <1>; 48 }; 49 50 gpio-keys { 51 compatible = "gpio-keys"; 52 53 pinctrl-0 = <&hall_int_n_default>; 54 pinctrl-names = "default"; 55 56 switch-lid { 57 gpios = <&tlmm 92 GPIO_ACTIVE_LOW>; 58 linux,input-type = <EV_SW>; 59 linux,code = <SW_LID>; 60 wakeup-source; 61 wakeup-event-action = <EV_ACT_DEASSERTED>; 62 }; 63 }; 64 65 pmic-glink { 66 compatible = "qcom,x1e80100-pmic-glink", 67 "qcom,sm8550-pmic-glink", 68 "qcom,pmic-glink"; 69 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>, 70 <&tlmm 123 GPIO_ACTIVE_HIGH>; 71 #address-cells = <1>; 72 #size-cells = <0>; 73 74 /* Display-adjacent port */ 75 connector@0 { 76 compatible = "usb-c-connector"; 77 reg = <0>; 78 power-role = "dual"; 79 data-role = "dual"; 80 81 ports { 82 #address-cells = <1>; 83 #size-cells = <0>; 84 85 port@0 { 86 reg = <0>; 87 88 pmic_glink_ss0_hs_in: endpoint { 89 remote-endpoint = <&usb_1_ss0_dwc3_hs>; 90 }; 91 }; 92 93 port@1 { 94 reg = <1>; 95 96 pmic_glink_ss0_ss_in: endpoint { 97 remote-endpoint = <&retimer_ss0_ss_out>; 98 }; 99 }; 100 101 port@2 { 102 reg = <2>; 103 104 pmic_glink_ss0_con_sbu_in: endpoint { 105 remote-endpoint = <&retimer_ss0_con_sbu_out>; 106 }; 107 }; 108 }; 109 }; 110 111 /* User-adjacent port */ 112 connector@1 { 113 compatible = "usb-c-connector"; 114 reg = <1>; 115 power-role = "dual"; 116 data-role = "dual"; 117 118 ports { 119 #address-cells = <1>; 120 #size-cells = <0>; 121 122 port@0 { 123 reg = <0>; 124 125 pmic_glink_ss1_hs_in: endpoint { 126 remote-endpoint = <&usb_1_ss1_dwc3_hs>; 127 }; 128 }; 129 130 port@1 { 131 reg = <1>; 132 133 pmic_glink_ss1_ss_in: endpoint { 134 remote-endpoint = <&retimer_ss1_ss_out>; 135 }; 136 }; 137 138 port@2 { 139 reg = <2>; 140 141 pmic_glink_ss1_con_sbu_in: endpoint { 142 remote-endpoint = <&retimer_ss1_con_sbu_out>; 143 }; 144 }; 145 }; 146 }; 147 }; 148 149 /* two muxes together support CTIA and OMTP switching */ 150 us_euro_mux_ctrl: mux-controller { 151 compatible = "gpio-mux"; 152 pinctrl-0 = <&us_euro_hs_sel>; 153 pinctrl-names = "default"; 154 mux-supply = <&vreg_l16b_2p5>; 155 #mux-control-cells = <0>; 156 mux-gpios = <&tlmm 68 GPIO_ACTIVE_HIGH>; 157 }; 158 159 reserved-memory { 160 linux,cma { 161 compatible = "shared-dma-pool"; 162 size = <0x0 0x8000000>; 163 reusable; 164 linux,cma-default; 165 }; 166 }; 167 168 vreg_edp_3p3: regulator-edp-3p3 { 169 compatible = "regulator-fixed"; 170 171 regulator-name = "VREG_EDP_3P3"; 172 regulator-min-microvolt = <3300000>; 173 regulator-max-microvolt = <3300000>; 174 175 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 176 enable-active-high; 177 178 pinctrl-0 = <&edp_reg_en>; 179 pinctrl-names = "default"; 180 181 regulator-boot-on; 182 }; 183 184 vreg_misc_3p3: regulator-misc-3p3 { 185 compatible = "regulator-fixed"; 186 187 regulator-name = "VCC3B"; 188 regulator-min-microvolt = <3300000>; 189 regulator-max-microvolt = <3300000>; 190 191 gpio = <&pm8550ve_8_gpios 6 GPIO_ACTIVE_HIGH>; 192 enable-active-high; 193 194 pinctrl-0 = <&misc_3p3_reg_en>; 195 pinctrl-names = "default"; 196 197 regulator-boot-on; 198 regulator-always-on; 199 }; 200 201 vreg_nvme: regulator-nvme { 202 compatible = "regulator-fixed"; 203 204 regulator-name = "VREG_NVME_3P3"; 205 regulator-min-microvolt = <3300000>; 206 regulator-max-microvolt = <3300000>; 207 208 gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; 209 enable-active-high; 210 211 pinctrl-0 = <&nvme_reg_en>; 212 pinctrl-names = "default"; 213 214 regulator-boot-on; 215 }; 216 217 vreg_rtmr0_1p15: regulator-rtmr0-1p15 { 218 compatible = "regulator-fixed"; 219 220 regulator-name = "VREG_RTMR0_1P15"; 221 regulator-min-microvolt = <1150000>; 222 regulator-max-microvolt = <1150000>; 223 224 gpio = <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>; 225 enable-active-high; 226 227 pinctrl-0 = <&usb0_pwr_1p15_reg_en>; 228 pinctrl-names = "default"; 229 230 regulator-boot-on; 231 }; 232 233 vreg_rtmr0_1p8: regulator-rtmr0-1p8 { 234 compatible = "regulator-fixed"; 235 236 regulator-name = "VREG_RTMR0_1P8"; 237 regulator-min-microvolt = <1800000>; 238 regulator-max-microvolt = <1800000>; 239 240 gpio = <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>; 241 enable-active-high; 242 243 pinctrl-0 = <&usb0_1p8_reg_en>; 244 pinctrl-names = "default"; 245 246 regulator-boot-on; 247 }; 248 249 vreg_rtmr0_3p3: regulator-rtmr0-3p3 { 250 compatible = "regulator-fixed"; 251 252 regulator-name = "VREG_RTMR0_3P3"; 253 regulator-min-microvolt = <3300000>; 254 regulator-max-microvolt = <3300000>; 255 256 gpio = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>; 257 enable-active-high; 258 259 pinctrl-0 = <&usb0_3p3_reg_en>; 260 pinctrl-names = "default"; 261 262 regulator-boot-on; 263 }; 264 265 vreg_rtmr1_1p15: regulator-rtmr1-1p15 { 266 compatible = "regulator-fixed"; 267 268 regulator-name = "VREG_RTMR1_1P15"; 269 regulator-min-microvolt = <1150000>; 270 regulator-max-microvolt = <1150000>; 271 272 gpio = <&tlmm 188 GPIO_ACTIVE_HIGH>; 273 enable-active-high; 274 275 pinctrl-0 = <&usb1_pwr_1p15_reg_en>; 276 pinctrl-names = "default"; 277 278 regulator-boot-on; 279 }; 280 281 vreg_rtmr1_1p8: regulator-rtmr1-1p8 { 282 compatible = "regulator-fixed"; 283 284 regulator-name = "VREG_RTMR1_1P8"; 285 regulator-min-microvolt = <1800000>; 286 regulator-max-microvolt = <1800000>; 287 288 gpio = <&tlmm 175 GPIO_ACTIVE_HIGH>; 289 enable-active-high; 290 291 pinctrl-0 = <&usb1_pwr_1p8_reg_en>; 292 pinctrl-names = "default"; 293 294 regulator-boot-on; 295 }; 296 297 vreg_rtmr1_3p3: regulator-rtmr1-3p3 { 298 compatible = "regulator-fixed"; 299 300 regulator-name = "VREG_RTMR1_3P3"; 301 regulator-min-microvolt = <3300000>; 302 regulator-max-microvolt = <3300000>; 303 304 gpio = <&tlmm 186 GPIO_ACTIVE_HIGH>; 305 enable-active-high; 306 307 pinctrl-0 = <&usb1_pwr_3p3_reg_en>; 308 pinctrl-names = "default"; 309 310 regulator-boot-on; 311 }; 312 313 vph_pwr: regulator-vph-pwr { 314 compatible = "regulator-fixed"; 315 316 regulator-name = "vph_pwr"; 317 regulator-min-microvolt = <3700000>; 318 regulator-max-microvolt = <3700000>; 319 320 regulator-always-on; 321 regulator-boot-on; 322 }; 323 324 vreg_wwan: regulator-wwan { 325 compatible = "regulator-fixed"; 326 327 regulator-name = "VCC3B_WAN_RCM"; 328 regulator-min-microvolt = <3300000>; 329 regulator-max-microvolt = <3300000>; 330 331 gpio = <&tlmm 221 GPIO_ACTIVE_HIGH>; 332 enable-active-high; 333 334 pinctrl-0 = <&wwan_sw_en>; 335 pinctrl-names = "default"; 336 337 regulator-boot-on; 338 }; 339 340 sound { 341 compatible = "qcom,x1e80100-sndcard"; 342 model = "X1E80100-LENOVO-Thinkpad-T14s"; 343 audio-routing = "SpkrLeft IN", "WSA WSA_SPK1 OUT", 344 "SpkrRight IN", "WSA WSA_SPK2 OUT", 345 "IN1_HPHL", "HPHL_OUT", 346 "IN2_HPHR", "HPHR_OUT", 347 "AMIC2", "MIC BIAS2", 348 "VA DMIC0", "MIC BIAS1", 349 "VA DMIC1", "MIC BIAS1", 350 "VA DMIC0", "VA MIC BIAS1", 351 "VA DMIC1", "VA MIC BIAS1", 352 "TX SWR_INPUT1", "ADC2_OUTPUT"; 353 354 wcd-playback-dai-link { 355 link-name = "WCD Playback"; 356 357 cpu { 358 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 359 }; 360 361 codec { 362 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 363 }; 364 365 platform { 366 sound-dai = <&q6apm>; 367 }; 368 }; 369 370 wcd-capture-dai-link { 371 link-name = "WCD Capture"; 372 373 cpu { 374 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 375 }; 376 377 codec { 378 sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>; 379 }; 380 381 platform { 382 sound-dai = <&q6apm>; 383 }; 384 }; 385 386 wsa-dai-link { 387 link-name = "WSA Playback"; 388 389 cpu { 390 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 391 }; 392 393 codec { 394 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 395 }; 396 397 platform { 398 sound-dai = <&q6apm>; 399 }; 400 }; 401 402 va-dai-link { 403 link-name = "VA Capture"; 404 405 cpu { 406 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; 407 }; 408 409 codec { 410 sound-dai = <&lpass_vamacro 0>; 411 }; 412 413 platform { 414 sound-dai = <&q6apm>; 415 }; 416 }; 417 }; 418}; 419 420&apps_rsc { 421 regulators-0 { 422 compatible = "qcom,pm8550-rpmh-regulators"; 423 qcom,pmic-id = "b"; 424 425 vdd-bob1-supply = <&vph_pwr>; 426 vdd-bob2-supply = <&vph_pwr>; 427 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; 428 vdd-l2-l13-l14-supply = <&vreg_bob1>; 429 vdd-l5-l16-supply = <&vreg_bob1>; 430 vdd-l6-l7-supply = <&vreg_bob2>; 431 vdd-l8-l9-supply = <&vreg_bob1>; 432 vdd-l12-supply = <&vreg_s5j_1p2>; 433 vdd-l15-supply = <&vreg_s4c_1p8>; 434 vdd-l17-supply = <&vreg_bob2>; 435 436 vreg_bob1: bob1 { 437 regulator-name = "vreg_bob1"; 438 regulator-min-microvolt = <3008000>; 439 regulator-max-microvolt = <3960000>; 440 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 441 }; 442 443 vreg_bob2: bob2 { 444 regulator-name = "vreg_bob2"; 445 regulator-min-microvolt = <2504000>; 446 regulator-max-microvolt = <3008000>; 447 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 448 }; 449 450 vreg_l1b_1p8: ldo1 { 451 regulator-name = "vreg_l1b_1p8"; 452 regulator-min-microvolt = <1800000>; 453 regulator-max-microvolt = <1800000>; 454 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 455 }; 456 457 vreg_l2b_3p0: ldo2 { 458 regulator-name = "vreg_l2b_3p0"; 459 regulator-min-microvolt = <3072000>; 460 regulator-max-microvolt = <3072000>; 461 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 462 }; 463 464 vreg_l4b_1p8: ldo4 { 465 regulator-name = "vreg_l4b_1p8"; 466 regulator-min-microvolt = <1800000>; 467 regulator-max-microvolt = <1800000>; 468 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 469 }; 470 471 vreg_l6b_1p8: ldo6 { 472 regulator-name = "vreg_l6b_1p8"; 473 regulator-min-microvolt = <1800000>; 474 regulator-max-microvolt = <2960000>; 475 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 476 }; 477 478 vreg_l8b_3p0: ldo8 { 479 regulator-name = "vreg_l8b_3p0"; 480 regulator-min-microvolt = <3072000>; 481 regulator-max-microvolt = <3072000>; 482 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 483 }; 484 485 vreg_l9b_2p9: ldo9 { 486 regulator-name = "vreg_l9b_2p9"; 487 regulator-min-microvolt = <2960000>; 488 regulator-max-microvolt = <2960000>; 489 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 490 }; 491 492 vreg_l10b_1p8: ldo10 { 493 regulator-name = "vreg_l10b_1p8"; 494 regulator-min-microvolt = <1800000>; 495 regulator-max-microvolt = <1800000>; 496 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 497 }; 498 499 vreg_l12b_1p2: ldo12 { 500 regulator-name = "vreg_l12b_1p2"; 501 regulator-min-microvolt = <1200000>; 502 regulator-max-microvolt = <1200000>; 503 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 504 regulator-always-on; 505 }; 506 507 vreg_l13b_3p0: ldo13 { 508 regulator-name = "vreg_l13b_3p0"; 509 regulator-min-microvolt = <3072000>; 510 regulator-max-microvolt = <3072000>; 511 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 512 }; 513 514 vreg_l14b_3p0: ldo14 { 515 regulator-name = "vreg_l14b_3p0"; 516 regulator-min-microvolt = <3072000>; 517 regulator-max-microvolt = <3072000>; 518 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 519 }; 520 521 vreg_l15b_1p8: ldo15 { 522 regulator-name = "vreg_l15b_1p8"; 523 regulator-min-microvolt = <1800000>; 524 regulator-max-microvolt = <1800000>; 525 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 526 regulator-always-on; 527 }; 528 529 vreg_l16b_2p5: ldo16 { 530 regulator-name = "vreg_l16b_2p5"; 531 regulator-min-microvolt = <2504000>; 532 regulator-max-microvolt = <2504000>; 533 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 534 }; 535 536 vreg_l17b_2p5: ldo17 { 537 regulator-name = "vreg_l17b_2p5"; 538 regulator-min-microvolt = <2504000>; 539 regulator-max-microvolt = <2504000>; 540 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 541 }; 542 }; 543 544 regulators-1 { 545 compatible = "qcom,pm8550ve-rpmh-regulators"; 546 qcom,pmic-id = "c"; 547 548 vdd-l1-supply = <&vreg_s5j_1p2>; 549 vdd-l2-supply = <&vreg_s1f_0p7>; 550 vdd-l3-supply = <&vreg_s1f_0p7>; 551 vdd-s4-supply = <&vph_pwr>; 552 553 vreg_s4c_1p8: smps4 { 554 regulator-name = "vreg_s4c_1p8"; 555 regulator-min-microvolt = <1856000>; 556 regulator-max-microvolt = <2000000>; 557 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 558 }; 559 560 vreg_l1c_1p2: ldo1 { 561 regulator-name = "vreg_l1c_1p2"; 562 regulator-min-microvolt = <1200000>; 563 regulator-max-microvolt = <1200000>; 564 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 565 }; 566 567 vreg_l2c_0p8: ldo2 { 568 regulator-name = "vreg_l2c_0p8"; 569 regulator-min-microvolt = <880000>; 570 regulator-max-microvolt = <880000>; 571 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 572 }; 573 574 vreg_l3c_0p8: ldo3 { 575 regulator-name = "vreg_l3c_0p8"; 576 regulator-min-microvolt = <912000>; 577 regulator-max-microvolt = <912000>; 578 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 579 }; 580 }; 581 582 regulators-2 { 583 compatible = "qcom,pmc8380-rpmh-regulators"; 584 qcom,pmic-id = "d"; 585 586 vdd-l1-supply = <&vreg_s1f_0p7>; 587 vdd-l2-supply = <&vreg_s1f_0p7>; 588 vdd-l3-supply = <&vreg_s4c_1p8>; 589 vdd-s1-supply = <&vph_pwr>; 590 591 vreg_l1d_0p8: ldo1 { 592 regulator-name = "vreg_l1d_0p8"; 593 regulator-min-microvolt = <880000>; 594 regulator-max-microvolt = <880000>; 595 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 596 }; 597 598 vreg_l2d_0p9: ldo2 { 599 regulator-name = "vreg_l2d_0p9"; 600 regulator-min-microvolt = <912000>; 601 regulator-max-microvolt = <912000>; 602 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 603 }; 604 605 vreg_l3d_1p8: ldo3 { 606 regulator-name = "vreg_l3d_1p8"; 607 regulator-min-microvolt = <1800000>; 608 regulator-max-microvolt = <1800000>; 609 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 610 }; 611 }; 612 613 regulators-3 { 614 compatible = "qcom,pmc8380-rpmh-regulators"; 615 qcom,pmic-id = "e"; 616 617 vdd-l2-supply = <&vreg_s1f_0p7>; 618 vdd-l3-supply = <&vreg_s5j_1p2>; 619 620 vreg_l2e_0p8: ldo2 { 621 regulator-name = "vreg_l2e_0p8"; 622 regulator-min-microvolt = <880000>; 623 regulator-max-microvolt = <880000>; 624 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 625 }; 626 627 vreg_l3e_1p2: ldo3 { 628 regulator-name = "vreg_l3e_1p2"; 629 regulator-min-microvolt = <1200000>; 630 regulator-max-microvolt = <1200000>; 631 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 632 }; 633 }; 634 635 regulators-4 { 636 compatible = "qcom,pmc8380-rpmh-regulators"; 637 qcom,pmic-id = "f"; 638 639 vdd-l1-supply = <&vreg_s5j_1p2>; 640 vdd-l2-supply = <&vreg_s5j_1p2>; 641 vdd-l3-supply = <&vreg_s5j_1p2>; 642 vdd-s1-supply = <&vph_pwr>; 643 644 vreg_s1f_0p7: smps1 { 645 regulator-name = "vreg_s1f_0p7"; 646 regulator-min-microvolt = <700000>; 647 regulator-max-microvolt = <1100000>; 648 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 649 }; 650 }; 651 652 regulators-6 { 653 compatible = "qcom,pm8550ve-rpmh-regulators"; 654 qcom,pmic-id = "i"; 655 656 vdd-l1-supply = <&vreg_s4c_1p8>; 657 vdd-l2-supply = <&vreg_s5j_1p2>; 658 vdd-l3-supply = <&vreg_s1f_0p7>; 659 vdd-s1-supply = <&vph_pwr>; 660 vdd-s2-supply = <&vph_pwr>; 661 662 vreg_l1i_1p8: ldo1 { 663 regulator-name = "vreg_l1i_1p8"; 664 regulator-min-microvolt = <1800000>; 665 regulator-max-microvolt = <1800000>; 666 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 667 }; 668 669 vreg_l2i_1p2: ldo2 { 670 regulator-name = "vreg_l2i_1p2"; 671 regulator-min-microvolt = <1200000>; 672 regulator-max-microvolt = <1200000>; 673 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 674 }; 675 676 vreg_l3i_0p8: ldo3 { 677 regulator-name = "vreg_l3i_0p8"; 678 regulator-min-microvolt = <880000>; 679 regulator-max-microvolt = <880000>; 680 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 681 }; 682 }; 683 684 regulators-7 { 685 compatible = "qcom,pm8550ve-rpmh-regulators"; 686 qcom,pmic-id = "j"; 687 688 vdd-l1-supply = <&vreg_s1f_0p7>; 689 vdd-l2-supply = <&vreg_s5j_1p2>; 690 vdd-l3-supply = <&vreg_s1f_0p7>; 691 vdd-s5-supply = <&vph_pwr>; 692 693 vreg_s5j_1p2: smps5 { 694 regulator-name = "vreg_s5j_1p2"; 695 regulator-min-microvolt = <1256000>; 696 regulator-max-microvolt = <1304000>; 697 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 698 }; 699 700 vreg_l1j_0p8: ldo1 { 701 regulator-name = "vreg_l1j_0p8"; 702 regulator-min-microvolt = <912000>; 703 regulator-max-microvolt = <912000>; 704 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 705 }; 706 707 vreg_l2j_1p2: ldo2 { 708 regulator-name = "vreg_l2j_1p2"; 709 regulator-min-microvolt = <1256000>; 710 regulator-max-microvolt = <1256000>; 711 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 712 }; 713 714 vreg_l3j_0p8: ldo3 { 715 regulator-name = "vreg_l3j_0p8"; 716 regulator-min-microvolt = <880000>; 717 regulator-max-microvolt = <880000>; 718 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 719 }; 720 }; 721}; 722 723&gpu { 724 status = "okay"; 725}; 726 727&gpu_zap_shader { 728 firmware-name = "qcom/x1e80100/LENOVO/21N1/qcdxkmsuc8380.mbn"; 729}; 730 731&i2c0 { 732 clock-frequency = <400000>; 733 734 pinctrl-0 = <&qup_i2c0_data_clk>, <&tpad_default>; 735 pinctrl-names = "default"; 736 737 status = "okay"; 738 739 /* ELAN06E2 or ELAN06E3 */ 740 touchpad@15 { 741 compatible = "hid-over-i2c"; 742 reg = <0x15>; 743 744 hid-descr-addr = <0x1>; 745 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; 746 747 vdd-supply = <&vreg_misc_3p3>; 748 vddl-supply = <&vreg_l12b_1p2>; 749 750 wakeup-source; 751 }; 752 753 /* SYNA8022 or SYNA8024 */ 754 touchpad@2c { 755 compatible = "hid-over-i2c"; 756 reg = <0x2c>; 757 758 hid-descr-addr = <0x20>; 759 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; 760 761 vdd-supply = <&vreg_misc_3p3>; 762 vddl-supply = <&vreg_l12b_1p2>; 763 764 wakeup-source; 765 }; 766 767 /* ELAN06F1 or SYNA06F2 */ 768 keyboard@3a { 769 compatible = "hid-over-i2c"; 770 reg = <0x3a>; 771 772 hid-descr-addr = <0x1>; 773 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; 774 775 vdd-supply = <&vreg_misc_3p3>; 776 vddl-supply = <&vreg_l15b_1p8>; 777 778 pinctrl-0 = <&kybd_default>; 779 pinctrl-names = "default"; 780 781 wakeup-source; 782 }; 783}; 784 785&i2c3 { 786 clock-frequency = <400000>; 787 788 status = "okay"; 789 790 typec-mux@8 { 791 compatible = "parade,ps8830"; 792 reg = <0x08>; 793 794 clocks = <&rpmhcc RPMH_RF_CLK3>; 795 796 vdd-supply = <&vreg_rtmr0_1p15>; 797 vdd33-supply = <&vreg_rtmr0_3p3>; 798 vdd33-cap-supply = <&vreg_rtmr0_3p3>; 799 vddar-supply = <&vreg_rtmr0_1p15>; 800 vddat-supply = <&vreg_rtmr0_1p15>; 801 vddio-supply = <&vreg_rtmr0_1p8>; 802 803 reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>; 804 805 pinctrl-0 = <&rtmr0_default>; 806 pinctrl-names = "default"; 807 808 orientation-switch; 809 retimer-switch; 810 811 ports { 812 #address-cells = <1>; 813 #size-cells = <0>; 814 815 port@0 { 816 reg = <0>; 817 818 retimer_ss0_ss_out: endpoint { 819 remote-endpoint = <&pmic_glink_ss0_ss_in>; 820 }; 821 }; 822 823 port@1 { 824 reg = <1>; 825 826 retimer_ss0_ss_in: endpoint { 827 remote-endpoint = <&usb_1_ss0_qmpphy_out>; 828 }; 829 }; 830 831 port@2 { 832 reg = <2>; 833 834 retimer_ss0_con_sbu_out: endpoint { 835 remote-endpoint = <&pmic_glink_ss0_con_sbu_in>; 836 }; 837 }; 838 }; 839 }; 840}; 841 842&i2c5 { 843 clock-frequency = <400000>; 844 845 status = "okay"; 846 847 eusb5_repeater: redriver@43 { 848 compatible = "nxp,ptn3222"; 849 reg = <0x43>; 850 #phy-cells = <0>; 851 852 vdd3v3-supply = <&vreg_l13b_3p0>; 853 vdd1v8-supply = <&vreg_l4b_1p8>; 854 855 reset-gpios = <&tlmm 7 GPIO_ACTIVE_LOW>; 856 857 pinctrl-0 = <&eusb5_reset_n>; 858 pinctrl-names = "default"; 859 }; 860 861 eusb3_repeater: redriver@47 { 862 compatible = "nxp,ptn3222"; 863 reg = <0x47>; 864 #phy-cells = <0>; 865 866 vdd3v3-supply = <&vreg_l13b_3p0>; 867 vdd1v8-supply = <&vreg_l4b_1p8>; 868 869 reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 870 871 pinctrl-0 = <&eusb3_reset_n>; 872 pinctrl-names = "default"; 873 }; 874 875 eusb6_repeater: redriver@4f { 876 compatible = "nxp,ptn3222"; 877 reg = <0x4f>; 878 #phy-cells = <0>; 879 880 vdd3v3-supply = <&vreg_l13b_3p0>; 881 vdd1v8-supply = <&vreg_l4b_1p8>; 882 883 reset-gpios = <&tlmm 184 GPIO_ACTIVE_LOW>; 884 885 pinctrl-0 = <&eusb6_reset_n>; 886 pinctrl-names = "default"; 887 }; 888}; 889 890&i2c6 { 891 clock-frequency = <400000>; 892 893 status = "okay"; 894 895 embedded-controller@28 { 896 compatible = "lenovo,thinkpad-t14s-ec"; 897 reg = <0x28>; 898 899 interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_LOW>; 900 901 pinctrl-0 = <&ec_int_n_default>; 902 pinctrl-names = "default"; 903 904 wakeup-source; 905 }; 906}; 907 908&i2c7 { 909 clock-frequency = <400000>; 910 911 status = "okay"; 912 913 typec-mux@8 { 914 compatible = "parade,ps8830"; 915 reg = <0x8>; 916 917 clocks = <&rpmhcc RPMH_RF_CLK4>; 918 919 vdd-supply = <&vreg_rtmr1_1p15>; 920 vdd33-supply = <&vreg_rtmr1_3p3>; 921 vdd33-cap-supply = <&vreg_rtmr1_3p3>; 922 vddar-supply = <&vreg_rtmr1_1p15>; 923 vddat-supply = <&vreg_rtmr1_1p15>; 924 vddio-supply = <&vreg_rtmr1_1p8>; 925 926 reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>; 927 928 pinctrl-0 = <&rtmr1_default>; 929 pinctrl-names = "default"; 930 931 retimer-switch; 932 orientation-switch; 933 934 ports { 935 #address-cells = <1>; 936 #size-cells = <0>; 937 938 port@0 { 939 reg = <0>; 940 941 retimer_ss1_ss_out: endpoint { 942 remote-endpoint = <&pmic_glink_ss1_ss_in>; 943 }; 944 }; 945 946 port@1 { 947 reg = <1>; 948 949 retimer_ss1_ss_in: endpoint { 950 remote-endpoint = <&usb_1_ss1_qmpphy_out>; 951 }; 952 }; 953 954 port@2 { 955 reg = <2>; 956 957 retimer_ss1_con_sbu_out: endpoint { 958 remote-endpoint = <&pmic_glink_ss1_con_sbu_in>; 959 }; 960 }; 961 }; 962 }; 963}; 964 965&i2c8 { 966 clock-frequency = <400000>; 967 968 status = "okay"; 969 970 /* ILIT2911 or GTCH1563 */ 971 touchscreen@10 { 972 compatible = "hid-over-i2c"; 973 reg = <0x10>; 974 975 hid-descr-addr = <0x1>; 976 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; 977 978 vdd-supply = <&vreg_misc_3p3>; 979 vddl-supply = <&vreg_l15b_1p8>; 980 981 pinctrl-0 = <&ts0_default>; 982 pinctrl-names = "default"; 983 }; 984 985 /* TODO: second-sourced touchscreen @ 0x41 */ 986}; 987 988&iris { 989 firmware-name = "qcom/x1e80100/LENOVO/21N1/qcvss8380.mbn"; 990 status = "okay"; 991}; 992 993&lpass_tlmm { 994 spkr_01_sd_n_active: spkr-01-sd-n-active-state { 995 pins = "gpio12"; 996 function = "gpio"; 997 drive-strength = <16>; 998 bias-disable; 999 output-low; 1000 }; 1001}; 1002 1003&lpass_vamacro { 1004 pinctrl-0 = <&dmic01_default>; 1005 pinctrl-names = "default"; 1006 1007 vdd-micb-supply = <&vreg_l1b_1p8>; 1008 qcom,dmic-sample-rate = <4800000>; 1009}; 1010 1011&mdss { 1012 status = "okay"; 1013}; 1014 1015&mdss_dp0 { 1016 status = "okay"; 1017}; 1018 1019&mdss_dp0_out { 1020 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 1021}; 1022 1023&mdss_dp1 { 1024 status = "okay"; 1025}; 1026 1027&mdss_dp1_out { 1028 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 1029}; 1030 1031&mdss_dp3 { 1032 /delete-property/ #sound-dai-cells; 1033 1034 pinctrl-0 = <&edp0_hpd_default>; 1035 pinctrl-names = "default"; 1036 1037 status = "okay"; 1038 1039 aux-bus { 1040 panel: panel { 1041 compatible = "edp-panel"; 1042 power-supply = <&vreg_edp_3p3>; 1043 1044 port { 1045 edp_panel_in: endpoint { 1046 remote-endpoint = <&mdss_dp3_out>; 1047 }; 1048 }; 1049 }; 1050 }; 1051}; 1052 1053&mdss_dp3_out { 1054 data-lanes = <0 1 2 3>; 1055 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 1056 1057 remote-endpoint = <&edp_panel_in>; 1058}; 1059 1060&mdss_dp3_phy { 1061 vdda-phy-supply = <&vreg_l3j_0p8>; 1062 vdda-pll-supply = <&vreg_l2j_1p2>; 1063 1064 status = "okay"; 1065}; 1066 1067&pcie4 { 1068 perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; 1069 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 1070 1071 pinctrl-0 = <&pcie4_default>; 1072 pinctrl-names = "default"; 1073 1074 status = "okay"; 1075}; 1076 1077&pcie4_phy { 1078 vdda-phy-supply = <&vreg_l3i_0p8>; 1079 vdda-pll-supply = <&vreg_l3e_1p2>; 1080 1081 status = "okay"; 1082}; 1083 1084&pcie5 { 1085 perst-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>; 1086 wake-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>; 1087 1088 vddpe-3v3-supply = <&vreg_wwan>; 1089 1090 pinctrl-0 = <&pcie5_default>; 1091 pinctrl-names = "default"; 1092 1093 status = "okay"; 1094}; 1095 1096&pcie5_phy { 1097 vdda-phy-supply = <&vreg_l3i_0p8>; 1098 vdda-pll-supply = <&vreg_l3e_1p2>; 1099 1100 status = "okay"; 1101}; 1102 1103&pcie6a { 1104 perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 1105 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; 1106 1107 vddpe-3v3-supply = <&vreg_nvme>; 1108 1109 pinctrl-0 = <&pcie6a_default>; 1110 pinctrl-names = "default"; 1111 1112 status = "okay"; 1113}; 1114 1115&pcie6a_phy { 1116 vdda-phy-supply = <&vreg_l1d_0p8>; 1117 vdda-pll-supply = <&vreg_l2j_1p2>; 1118 1119 status = "okay"; 1120}; 1121 1122&pm8550_gpios { 1123 rtmr0_default: rtmr0-reset-n-active-state { 1124 pins = "gpio10"; 1125 function = "normal"; 1126 power-source = <1>; /* 1.8V */ 1127 bias-disable; 1128 input-disable; 1129 output-enable; 1130 }; 1131 1132 usb0_3p3_reg_en: usb0-3p3-reg-en-state { 1133 pins = "gpio11"; 1134 function = "normal"; 1135 power-source = <1>; /* 1.8V */ 1136 bias-disable; 1137 input-disable; 1138 output-enable; 1139 }; 1140}; 1141 1142&pm8550ve_8_gpios { 1143 misc_3p3_reg_en: misc-3p3-reg-en-state { 1144 pins = "gpio6"; 1145 function = "normal"; 1146 bias-disable; 1147 drive-push-pull; 1148 input-disable; 1149 output-enable; 1150 power-source = <1>; /* 1.8 V */ 1151 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 1152 }; 1153}; 1154 1155&pm8550ve_9_gpios { 1156 usb0_1p8_reg_en: usb0-1p8-reg-en-state { 1157 pins = "gpio8"; 1158 function = "normal"; 1159 power-source = <1>; /* 1.8V */ 1160 bias-disable; 1161 input-disable; 1162 output-enable; 1163 }; 1164}; 1165 1166&pmc8380_3_gpios { 1167 edp_bl_en: edp-bl-en-state { 1168 pins = "gpio4"; 1169 function = "normal"; 1170 power-source = <1>; 1171 input-disable; 1172 output-enable; 1173 }; 1174}; 1175 1176&pmc8380_5_gpios { 1177 usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { 1178 pins = "gpio8"; 1179 function = "normal"; 1180 power-source = <1>; /* 1.8V */ 1181 bias-disable; 1182 input-disable; 1183 output-enable; 1184 }; 1185}; 1186 1187&qupv3_0 { 1188 status = "okay"; 1189}; 1190 1191&qupv3_1 { 1192 status = "okay"; 1193}; 1194 1195&qupv3_2 { 1196 status = "okay"; 1197}; 1198 1199&remoteproc_adsp { 1200 firmware-name = "qcom/x1e80100/LENOVO/21N1/qcadsp8380.mbn", 1201 "qcom/x1e80100/LENOVO/21N1/adsp_dtbs.elf"; 1202 1203 status = "okay"; 1204}; 1205 1206&remoteproc_cdsp { 1207 firmware-name = "qcom/x1e80100/LENOVO/21N1/qccdsp8380.mbn", 1208 "qcom/x1e80100/LENOVO/21N1/cdsp_dtbs.elf"; 1209 1210 status = "okay"; 1211}; 1212 1213&smb2360_0 { 1214 status = "okay"; 1215}; 1216 1217&smb2360_0_eusb2_repeater { 1218 vdd18-supply = <&vreg_l3d_1p8>; 1219 vdd3-supply = <&vreg_l2b_3p0>; 1220}; 1221 1222&smb2360_1 { 1223 status = "okay"; 1224}; 1225 1226&smb2360_1_eusb2_repeater { 1227 vdd18-supply = <&vreg_l3d_1p8>; 1228 vdd3-supply = <&vreg_l14b_3p0>; 1229}; 1230 1231&swr0 { 1232 status = "okay"; 1233 1234 pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>; 1235 pinctrl-names = "default"; 1236 1237 /* WSA8845, Left Speaker */ 1238 left_spkr: speaker@0,0 { 1239 compatible = "sdw20217020400"; 1240 reg = <0 0>; 1241 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 1242 #sound-dai-cells = <0>; 1243 sound-name-prefix = "SpkrLeft"; 1244 vdd-1p8-supply = <&vreg_l15b_1p8>; 1245 vdd-io-supply = <&vreg_l12b_1p2>; 1246 qcom,port-mapping = <1 2 3 7 10 13>; 1247 }; 1248 1249 /* WSA8845, Right Speaker */ 1250 right_spkr: speaker@0,1 { 1251 compatible = "sdw20217020400"; 1252 reg = <0 1>; 1253 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 1254 #sound-dai-cells = <0>; 1255 sound-name-prefix = "SpkrRight"; 1256 vdd-1p8-supply = <&vreg_l15b_1p8>; 1257 vdd-io-supply = <&vreg_l12b_1p2>; 1258 qcom,port-mapping = <4 5 6 7 11 13>; 1259 }; 1260}; 1261 1262&swr1 { 1263 status = "okay"; 1264 1265 /* WCD9385 RX */ 1266 wcd_rx: codec@0,4 { 1267 compatible = "sdw20217010d00"; 1268 reg = <0 4>; 1269 qcom,rx-port-mapping = <1 2 3 4 5>; 1270 }; 1271}; 1272 1273&swr2 { 1274 status = "okay"; 1275 1276 /* WCD9385 TX */ 1277 wcd_tx: codec@0,3 { 1278 compatible = "sdw20217010d00"; 1279 reg = <0 3>; 1280 qcom,tx-port-mapping = <2 2 3 4>; 1281 }; 1282}; 1283 1284&tlmm { 1285 gpio-reserved-ranges = <34 2>, /* Unused */ 1286 <44 4>, /* SPI (TPM) */ 1287 <72 2>, /* Secure EC I2C connection (?) */ 1288 <238 1>; /* UFS Reset */ 1289 1290 ec_int_n_default: ec-int-n-state { 1291 pins = "gpio66"; 1292 function = "gpio"; 1293 bias-disable; 1294 }; 1295 1296 eusb3_reset_n: eusb3-reset-n-state { 1297 pins = "gpio6"; 1298 function = "gpio"; 1299 drive-strength = <2>; 1300 bias-disable; 1301 output-low; 1302 }; 1303 1304 eusb5_reset_n: eusb5-reset-n-state { 1305 pins = "gpio7"; 1306 function = "gpio"; 1307 drive-strength = <2>; 1308 bias-disable; 1309 output-low; 1310 }; 1311 1312 eusb6_reset_n: eusb6-reset-n-state { 1313 pins = "gpio184"; 1314 function = "gpio"; 1315 drive-strength = <2>; 1316 bias-disable; 1317 output-low; 1318 }; 1319 1320 tpad_default: tpad-default-state { 1321 pins = "gpio3"; 1322 function = "gpio"; 1323 bias-pull-up; 1324 }; 1325 1326 nvme_reg_en: nvme-reg-en-state { 1327 pins = "gpio18"; 1328 function = "gpio"; 1329 drive-strength = <2>; 1330 bias-disable; 1331 }; 1332 1333 ts0_default: ts0-default-state { 1334 reset-n-pins { 1335 pins = "gpio48"; 1336 function = "gpio"; 1337 output-high; 1338 drive-strength = <16>; 1339 }; 1340 1341 int-n-pins { 1342 pins = "gpio51"; 1343 function = "gpio"; 1344 bias-disable; 1345 }; 1346 }; 1347 1348 kybd_default: kybd-default-state { 1349 pins = "gpio67"; 1350 function = "gpio"; 1351 bias-disable; 1352 }; 1353 1354 edp_reg_en: edp-reg-en-state { 1355 pins = "gpio70"; 1356 function = "gpio"; 1357 drive-strength = <16>; 1358 bias-disable; 1359 }; 1360 1361 hall_int_n_default: hall-int-n-state { 1362 pins = "gpio92"; 1363 function = "gpio"; 1364 bias-disable; 1365 }; 1366 1367 pcie4_default: pcie4-default-state { 1368 clkreq-n-pins { 1369 pins = "gpio147"; 1370 function = "pcie4_clk"; 1371 drive-strength = <2>; 1372 bias-pull-up; 1373 }; 1374 1375 perst-n-pins { 1376 pins = "gpio146"; 1377 function = "gpio"; 1378 drive-strength = <2>; 1379 bias-disable; 1380 }; 1381 1382 wake-n-pins { 1383 pins = "gpio148"; 1384 function = "gpio"; 1385 drive-strength = <2>; 1386 bias-pull-up; 1387 }; 1388 }; 1389 1390 pcie5_default: pcie5-default-state { 1391 clkreq-n-pins { 1392 pins = "gpio150"; 1393 function = "pcie5_clk"; 1394 drive-strength = <2>; 1395 bias-pull-up; 1396 }; 1397 1398 perst-n-pins { 1399 pins = "gpio149"; 1400 function = "gpio"; 1401 drive-strength = <2>; 1402 bias-disable; 1403 }; 1404 1405 wake-n-pins { 1406 pins = "gpio151"; 1407 function = "gpio"; 1408 drive-strength = <2>; 1409 bias-pull-up; 1410 }; 1411 }; 1412 1413 pcie6a_default: pcie6a-default-state { 1414 clkreq-n-pins { 1415 pins = "gpio153"; 1416 function = "pcie6a_clk"; 1417 drive-strength = <2>; 1418 bias-pull-up; 1419 }; 1420 1421 perst-n-pins { 1422 pins = "gpio152"; 1423 function = "gpio"; 1424 drive-strength = <2>; 1425 bias-disable; 1426 }; 1427 1428 wake-n-pins { 1429 pins = "gpio154"; 1430 function = "gpio"; 1431 drive-strength = <2>; 1432 bias-pull-up; 1433 }; 1434 }; 1435 1436 rtmr1_default: rtmr1-reset-n-active-state { 1437 pins = "gpio176"; 1438 function = "gpio"; 1439 drive-strength = <2>; 1440 bias-disable; 1441 }; 1442 1443 us_euro_hs_sel: us-euro-hs-sel-state { 1444 pins = "gpio68"; 1445 function = "gpio"; 1446 bias-pull-down; 1447 drive-strength = <2>; 1448 }; 1449 1450 usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state { 1451 pins = "gpio188"; 1452 function = "gpio"; 1453 drive-strength = <2>; 1454 bias-disable; 1455 }; 1456 1457 usb1_pwr_1p8_reg_en: usb1-pwr-1p8-reg-en-state { 1458 pins = "gpio175"; 1459 function = "gpio"; 1460 drive-strength = <2>; 1461 bias-disable; 1462 }; 1463 1464 usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state { 1465 pins = "gpio186"; 1466 function = "gpio"; 1467 drive-strength = <2>; 1468 bias-disable; 1469 }; 1470 1471 wcd_default: wcd-reset-n-active-state { 1472 pins = "gpio191"; 1473 function = "gpio"; 1474 drive-strength = <16>; 1475 bias-disable; 1476 output-low; 1477 }; 1478 1479 wwan_sw_en: wwan-sw-en-state { 1480 pins = "gpio221"; 1481 function = "gpio"; 1482 drive-strength = <4>; 1483 bias-disable; 1484 }; 1485}; 1486 1487&usb_1_ss0_hsphy { 1488 vdd-supply = <&vreg_l3j_0p8>; 1489 vdda12-supply = <&vreg_l2j_1p2>; 1490 1491 phys = <&smb2360_0_eusb2_repeater>; 1492 1493 status = "okay"; 1494}; 1495 1496&usb_1_ss0_qmpphy { 1497 vdda-phy-supply = <&vreg_l2j_1p2>; 1498 vdda-pll-supply = <&vreg_l1j_0p8>; 1499 1500 status = "okay"; 1501}; 1502 1503&usb_1_ss0 { 1504 status = "okay"; 1505}; 1506 1507&usb_1_ss0_dwc3 { 1508 dr_mode = "host"; 1509}; 1510 1511&usb_1_ss0_dwc3_hs { 1512 remote-endpoint = <&pmic_glink_ss0_hs_in>; 1513}; 1514 1515&usb_1_ss0_qmpphy_out { 1516 remote-endpoint = <&retimer_ss0_ss_in>; 1517}; 1518 1519&usb_1_ss1_hsphy { 1520 vdd-supply = <&vreg_l3j_0p8>; 1521 vdda12-supply = <&vreg_l2j_1p2>; 1522 1523 phys = <&smb2360_1_eusb2_repeater>; 1524 1525 status = "okay"; 1526}; 1527 1528&usb_1_ss1_qmpphy { 1529 vdda-phy-supply = <&vreg_l2j_1p2>; 1530 vdda-pll-supply = <&vreg_l2d_0p9>; 1531 1532 status = "okay"; 1533}; 1534 1535&usb_1_ss1 { 1536 status = "okay"; 1537}; 1538 1539&usb_1_ss1_dwc3 { 1540 dr_mode = "host"; 1541}; 1542 1543&usb_1_ss1_dwc3_hs { 1544 remote-endpoint = <&pmic_glink_ss1_hs_in>; 1545}; 1546 1547&usb_1_ss1_qmpphy_out { 1548 remote-endpoint = <&retimer_ss1_ss_in>; 1549}; 1550 1551&usb_2 { 1552 status = "okay"; 1553}; 1554 1555&usb_2_dwc3 { 1556 dr_mode = "host"; 1557}; 1558 1559&usb_2_hsphy { 1560 vdd-supply = <&vreg_l2e_0p8>; 1561 vdda12-supply = <&vreg_l3e_1p2>; 1562 1563 phys = <&eusb5_repeater>; 1564 1565 status = "okay"; 1566}; 1567 1568&usb_mp { 1569 status = "okay"; 1570}; 1571 1572&usb_mp_hsphy0 { 1573 vdd-supply = <&vreg_l2e_0p8>; 1574 vdda12-supply = <&vreg_l3e_1p2>; 1575 1576 phys = <&eusb3_repeater>; 1577 1578 status = "okay"; 1579}; 1580 1581&usb_mp_hsphy1 { 1582 vdd-supply = <&vreg_l2e_0p8>; 1583 vdda12-supply = <&vreg_l3e_1p2>; 1584 1585 phys = <&eusb6_repeater>; 1586 1587 status = "okay"; 1588}; 1589 1590&usb_mp_qmpphy0 { 1591 vdda-phy-supply = <&vreg_l3e_1p2>; 1592 vdda-pll-supply = <&vreg_l3c_0p8>; 1593 1594 status = "okay"; 1595}; 1596 1597&usb_mp_qmpphy1 { 1598 vdda-phy-supply = <&vreg_l3e_1p2>; 1599 vdda-pll-supply = <&vreg_l3c_0p8>; 1600 1601 status = "okay"; 1602};
~/
Read-only file preview.