1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2022, Linaro Limited 4 */ 5 6/dts-v1/; 7 8#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9#include "sm8550.dtsi" 10#include "pm8010.dtsi" 11#include "pm8550.dtsi" 12#include "pm8550b.dtsi" 13#include "pm8550ve.dtsi" 14#include "pm8550vs.dtsi" 15#include "pmk8550.dtsi" 16#include "pmr735d.dtsi" 17 18/ { 19 model = "Qualcomm Technologies, Inc. SM8550 MTP"; 20 compatible = "qcom,sm8550-mtp", "qcom,sm8550"; 21 22 aliases { 23 serial0 = &uart7; 24 }; 25 26 wcd938x: audio-codec { 27 compatible = "qcom,wcd9385-codec"; 28 29 pinctrl-names = "default"; 30 pinctrl-0 = <&wcd_default>; 31 32 qcom,micbias1-microvolt = <1800000>; 33 qcom,micbias2-microvolt = <1800000>; 34 qcom,micbias3-microvolt = <1800000>; 35 qcom,micbias4-microvolt = <1800000>; 36 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 37 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 38 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 39 qcom,rx-device = <&wcd_rx>; 40 qcom,tx-device = <&wcd_tx>; 41 42 reset-gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; 43 44 vdd-buck-supply = <&vreg_l15b_1p8>; 45 vdd-rxtx-supply = <&vreg_l15b_1p8>; 46 vdd-io-supply = <&vreg_l15b_1p8>; 47 vdd-mic-bias-supply = <&vreg_bob1>; 48 49 #sound-dai-cells = <1>; 50 }; 51 52 chosen { 53 stdout-path = "serial0:115200n8"; 54 }; 55 56 pmic-glink { 57 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; 58 #address-cells = <1>; 59 #size-cells = <0>; 60 61 connector@0 { 62 compatible = "usb-c-connector"; 63 reg = <0>; 64 power-role = "dual"; 65 data-role = "dual"; 66 67 ports { 68 #address-cells = <1>; 69 #size-cells = <0>; 70 71 port@0 { 72 reg = <0>; 73 74 pmic_glink_hs_in: endpoint { 75 remote-endpoint = <&usb_1_dwc3_hs>; 76 }; 77 }; 78 79 port@1 { 80 reg = <1>; 81 82 pmic_glink_ss_in: endpoint { 83 remote-endpoint = <&usb_1_dwc3_ss>; 84 }; 85 }; 86 }; 87 }; 88 }; 89 90 sound { 91 compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; 92 model = "SM8550-MTP"; 93 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 94 "SpkrRight IN", "WSA_SPK2 OUT", 95 "IN1_HPHL", "HPHL_OUT", 96 "IN2_HPHR", "HPHR_OUT", 97 "AMIC2", "MIC BIAS2", 98 "VA DMIC0", "MIC BIAS1", 99 "VA DMIC1", "MIC BIAS1", 100 "VA DMIC2", "MIC BIAS3", 101 "TX DMIC0", "MIC BIAS1", 102 "TX DMIC1", "MIC BIAS2", 103 "TX DMIC2", "MIC BIAS3", 104 "TX SWR_ADC1", "ADC2_OUTPUT"; 105 106 wcd-playback-dai-link { 107 link-name = "WCD Playback"; 108 109 cpu { 110 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 111 }; 112 113 codec { 114 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 115 }; 116 117 platform { 118 sound-dai = <&q6apm>; 119 }; 120 }; 121 122 wcd-capture-dai-link { 123 link-name = "WCD Capture"; 124 125 cpu { 126 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 127 }; 128 129 codec { 130 sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; 131 }; 132 133 platform { 134 sound-dai = <&q6apm>; 135 }; 136 }; 137 138 wsa-dai-link { 139 link-name = "WSA Playback"; 140 141 cpu { 142 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 143 }; 144 145 codec { 146 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 147 }; 148 149 platform { 150 sound-dai = <&q6apm>; 151 }; 152 }; 153 154 va-dai-link { 155 link-name = "VA Capture"; 156 157 cpu { 158 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 159 }; 160 161 codec { 162 sound-dai = <&lpass_vamacro 0>; 163 }; 164 165 platform { 166 sound-dai = <&q6apm>; 167 }; 168 }; 169 }; 170 171 vph_pwr: vph-pwr-regulator { 172 compatible = "regulator-fixed"; 173 regulator-name = "vph_pwr"; 174 regulator-min-microvolt = <3700000>; 175 regulator-max-microvolt = <3700000>; 176 177 regulator-always-on; 178 regulator-boot-on; 179 }; 180}; 181 182&apps_rsc { 183 regulators-0 { 184 compatible = "qcom,pm8550-rpmh-regulators"; 185 qcom,pmic-id = "b"; 186 187 vdd-bob1-supply = <&vph_pwr>; 188 vdd-bob2-supply = <&vph_pwr>; 189 vdd-l2-l13-l14-supply = <&vreg_bob1>; 190 vdd-l3-supply = <&vreg_s4g_1p3>; 191 vdd-l5-l16-supply = <&vreg_bob1>; 192 vdd-l6-l7-supply = <&vreg_bob1>; 193 vdd-l8-l9-supply = <&vreg_bob1>; 194 vdd-l11-supply = <&vreg_s4g_1p3>; 195 vdd-l12-supply = <&vreg_s6g_1p8>; 196 vdd-l15-supply = <&vreg_s6g_1p8>; 197 vdd-l17-supply = <&vreg_bob2>; 198 199 vreg_bob1: bob1 { 200 regulator-name = "vreg_bob1"; 201 regulator-min-microvolt = <3296000>; 202 regulator-max-microvolt = <3960000>; 203 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 204 }; 205 206 vreg_bob2: bob2 { 207 regulator-name = "vreg_bob2"; 208 regulator-min-microvolt = <2720000>; 209 regulator-max-microvolt = <3960000>; 210 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 211 }; 212 213 vreg_l1b_1p8: ldo1 { 214 regulator-name = "vreg_l1b_1p8"; 215 regulator-min-microvolt = <1800000>; 216 regulator-max-microvolt = <1800000>; 217 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 218 }; 219 220 vreg_l2b_3p0: ldo2 { 221 regulator-name = "vreg_l2b_3p0"; 222 regulator-min-microvolt = <3008000>; 223 regulator-max-microvolt = <3008000>; 224 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 225 }; 226 227 vreg_l5b_3p1: ldo5 { 228 regulator-name = "vreg_l5b_3p1"; 229 regulator-min-microvolt = <3104000>; 230 regulator-max-microvolt = <3104000>; 231 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 232 }; 233 234 vreg_l6b_1p8: ldo6 { 235 regulator-name = "vreg_l6b_1p8"; 236 regulator-min-microvolt = <1800000>; 237 regulator-max-microvolt = <3008000>; 238 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 239 }; 240 241 vreg_l7b_1p8: ldo7 { 242 regulator-name = "vreg_l7b_1p8"; 243 regulator-min-microvolt = <1800000>; 244 regulator-max-microvolt = <3008000>; 245 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 246 }; 247 248 vreg_l8b_1p8: ldo8 { 249 regulator-name = "vreg_l8b_1p8"; 250 regulator-min-microvolt = <1800000>; 251 regulator-max-microvolt = <3008000>; 252 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 253 }; 254 255 vreg_l9b_2p9: ldo9 { 256 regulator-name = "vreg_l9b_2p9"; 257 regulator-min-microvolt = <2960000>; 258 regulator-max-microvolt = <3008000>; 259 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 260 }; 261 262 vreg_l11b_1p2: ldo11 { 263 regulator-name = "vreg_l11b_1p2"; 264 regulator-min-microvolt = <1200000>; 265 regulator-max-microvolt = <1504000>; 266 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 267 }; 268 269 vreg_l12b_1p8: ldo12 { 270 regulator-name = "vreg_l12b_1p8"; 271 regulator-min-microvolt = <1800000>; 272 regulator-max-microvolt = <1800000>; 273 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 274 }; 275 276 vreg_l13b_3p0: ldo13 { 277 regulator-name = "vreg_l13b_3p0"; 278 regulator-min-microvolt = <3000000>; 279 regulator-max-microvolt = <3000000>; 280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 281 }; 282 283 vreg_l14b_3p2: ldo14 { 284 regulator-name = "vreg_l14b_3p2"; 285 regulator-min-microvolt = <3200000>; 286 regulator-max-microvolt = <3200000>; 287 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 288 }; 289 290 vreg_l15b_1p8: ldo15 { 291 regulator-name = "vreg_l15b_1p8"; 292 regulator-min-microvolt = <1800000>; 293 regulator-max-microvolt = <1800000>; 294 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 295 }; 296 297 vreg_l16b_2p8: ldo16 { 298 regulator-name = "vreg_l16b_2p8"; 299 regulator-min-microvolt = <2800000>; 300 regulator-max-microvolt = <2800000>; 301 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 302 }; 303 304 vreg_l17b_2p5: ldo17 { 305 regulator-name = "vreg_l17b_2p5"; 306 regulator-min-microvolt = <2504000>; 307 regulator-max-microvolt = <2504000>; 308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 309 }; 310 }; 311 312 regulators-1 { 313 compatible = "qcom,pm8550vs-rpmh-regulators"; 314 qcom,pmic-id = "c"; 315 316 vdd-l3-supply = <&vreg_s4e_0p9>; 317 318 vreg_l3c_0p91: ldo3 { 319 regulator-name = "vreg_l3c_0p9"; 320 regulator-min-microvolt = <880000>; 321 regulator-max-microvolt = <912000>; 322 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 323 }; 324 }; 325 326 regulators-2 { 327 compatible = "qcom,pm8550vs-rpmh-regulators"; 328 qcom,pmic-id = "d"; 329 330 vdd-l1-supply = <&vreg_s4e_0p9>; 331 332 vreg_l1d_0p88: ldo1 { 333 regulator-name = "vreg_l1d_0p88"; 334 regulator-min-microvolt = <880000>; 335 regulator-max-microvolt = <920000>; 336 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 337 }; 338 }; 339 340 regulators-3 { 341 compatible = "qcom,pm8550vs-rpmh-regulators"; 342 qcom,pmic-id = "e"; 343 344 vdd-l1-supply = <&vreg_s4e_0p9>; 345 vdd-l2-supply = <&vreg_s4e_0p9>; 346 vdd-l3-supply = <&vreg_s4g_1p3>; 347 vdd-s4-supply = <&vph_pwr>; 348 vdd-s5-supply = <&vph_pwr>; 349 350 vreg_s4e_0p9: smps4 { 351 regulator-name = "vreg_s4e_0p9"; 352 regulator-min-microvolt = <904000>; 353 regulator-max-microvolt = <984000>; 354 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 355 }; 356 357 vreg_s5e_1p1: smps5 { 358 regulator-name = "vreg_s5e_1p1"; 359 regulator-min-microvolt = <1080000>; 360 regulator-max-microvolt = <1120000>; 361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 362 }; 363 364 vreg_l1e_0p88: ldo1 { 365 regulator-name = "vreg_l1e_0p88"; 366 regulator-min-microvolt = <880000>; 367 regulator-max-microvolt = <880000>; 368 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 369 }; 370 371 vreg_l2e_0p9: ldo2 { 372 regulator-name = "vreg_l2e_0p9"; 373 regulator-min-microvolt = <904000>; 374 regulator-max-microvolt = <970000>; 375 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 376 }; 377 378 vreg_l3e_1p2: ldo3 { 379 regulator-name = "vreg_l3e_1p2"; 380 regulator-min-microvolt = <1200000>; 381 regulator-max-microvolt = <1200000>; 382 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 383 }; 384 }; 385 386 regulators-4 { 387 compatible = "qcom,pm8550ve-rpmh-regulators"; 388 qcom,pmic-id = "f"; 389 390 vdd-l1-supply = <&vreg_s4e_0p9>; 391 vdd-l2-supply = <&vreg_s4e_0p9>; 392 vdd-l3-supply = <&vreg_s4e_0p9>; 393 vdd-s4-supply = <&vph_pwr>; 394 395 vreg_s4f_0p5: smps4 { 396 regulator-name = "vreg_s4f_0p5"; 397 regulator-min-microvolt = <500000>; 398 regulator-max-microvolt = <700000>; 399 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 400 }; 401 402 vreg_l1f_0p9: ldo1 { 403 regulator-name = "vreg_l1f_0p9"; 404 regulator-min-microvolt = <912000>; 405 regulator-max-microvolt = <912000>; 406 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 407 }; 408 409 vreg_l2f_0p88: ldo2 { 410 regulator-name = "vreg_l2f_0p88"; 411 regulator-min-microvolt = <880000>; 412 regulator-max-microvolt = <912000>; 413 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 414 }; 415 416 vreg_l3f_0p91: ldo3 { 417 regulator-name = "vreg_l3f_0p91"; 418 regulator-min-microvolt = <880000>; 419 regulator-max-microvolt = <912000>; 420 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 421 }; 422 }; 423 424 regulators-5 { 425 compatible = "qcom,pm8550vs-rpmh-regulators"; 426 qcom,pmic-id = "g"; 427 428 vdd-l1-supply = <&vreg_s4g_1p3>; 429 vdd-l2-supply = <&vreg_s4g_1p3>; 430 vdd-l3-supply = <&vreg_s4g_1p3>; 431 vdd-s1-supply = <&vph_pwr>; 432 vdd-s2-supply = <&vph_pwr>; 433 vdd-s3-supply = <&vph_pwr>; 434 vdd-s4-supply = <&vph_pwr>; 435 vdd-s5-supply = <&vph_pwr>; 436 vdd-s6-supply = <&vph_pwr>; 437 438 vreg_s1g_1p2: smps1 { 439 regulator-name = "vreg_s1g_1p2"; 440 regulator-min-microvolt = <1200000>; 441 regulator-max-microvolt = <1300000>; 442 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 443 }; 444 445 vreg_s2g_0p8: smps2 { 446 regulator-name = "vreg_s2g_0p8"; 447 regulator-min-microvolt = <800000>; 448 regulator-max-microvolt = <1000000>; 449 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 450 }; 451 452 vreg_s3g_0p7: smps3 { 453 regulator-name = "vreg_s3g_0p7"; 454 regulator-min-microvolt = <300000>; 455 regulator-max-microvolt = <1004000>; 456 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 457 }; 458 459 vreg_s4g_1p3: smps4 { 460 regulator-name = "vreg_s4g_1p3"; 461 regulator-min-microvolt = <1200000>; 462 regulator-max-microvolt = <1352000>; 463 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 464 }; 465 466 vreg_s5g_0p8: smps5 { 467 regulator-name = "vreg_s5g_0p8"; 468 regulator-min-microvolt = <500000>; 469 regulator-max-microvolt = <1004000>; 470 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 471 }; 472 473 vreg_s6g_1p8: smps6 { 474 regulator-name = "vreg_s6g_1p8"; 475 regulator-min-microvolt = <1800000>; 476 regulator-max-microvolt = <2000000>; 477 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 478 }; 479 480 vreg_l1g_1p2: ldo1 { 481 regulator-name = "vreg_l1g_1p2"; 482 regulator-min-microvolt = <1200000>; 483 regulator-max-microvolt = <1200000>; 484 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 485 }; 486 487 vreg_l2g_1p2: ldo2 { 488 regulator-name = "vreg_l2g_1p2"; 489 regulator-min-microvolt = <1200000>; 490 regulator-max-microvolt = <1200000>; 491 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 492 }; 493 494 vreg_l3g_1p2: ldo3 { 495 regulator-name = "vreg_l3g_1p2"; 496 regulator-min-microvolt = <1200000>; 497 regulator-max-microvolt = <1200000>; 498 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 499 }; 500 }; 501}; 502 503&lpass_tlmm { 504 spkr_1_sd_n_active: spkr-1-sd-n-active-state { 505 pins = "gpio17"; 506 function = "gpio"; 507 drive-strength = <16>; 508 bias-disable; 509 output-low; 510 }; 511 512 spkr_2_sd_n_active: spkr-2-sd-n-active-state { 513 pins = "gpio18"; 514 function = "gpio"; 515 drive-strength = <16>; 516 bias-disable; 517 output-low; 518 }; 519}; 520 521&mdss { 522 status = "okay"; 523}; 524 525&mdss_dsi0 { 526 vdda-supply = <&vreg_l3e_1p2>; 527 status = "okay"; 528 529 panel@0 { 530 compatible = "visionox,vtdr6130"; 531 reg = <0>; 532 533 pinctrl-names = "default", "sleep"; 534 pinctrl-0 = <&sde_dsi_active>, <&sde_te_active>; 535 pinctrl-1 = <&sde_dsi_suspend>, <&sde_te_suspend>; 536 537 vddio-supply = <&vreg_l12b_1p8>; 538 vci-supply = <&vreg_l13b_3p0>; 539 vdd-supply = <&vreg_l11b_1p2>; 540 541 reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; 542 543 port { 544 panel0_in: endpoint { 545 remote-endpoint = <&mdss_dsi0_out>; 546 }; 547 }; 548 }; 549}; 550 551&mdss_dsi0_out { 552 remote-endpoint = <&panel0_in>; 553 data-lanes = <0 1 2 3>; 554}; 555 556&mdss_dsi0_phy { 557 vdds-supply = <&vreg_l1e_0p88>; 558 status = "okay"; 559}; 560 561&pcie_1_phy_aux_clk { 562 clock-frequency = <1000>; 563}; 564 565&pcie0 { 566 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 567 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 568 569 pinctrl-names = "default"; 570 pinctrl-0 = <&pcie0_default_state>; 571 572 status = "okay"; 573}; 574 575&pcie0_phy { 576 vdda-phy-supply = <&vreg_l1e_0p88>; 577 vdda-pll-supply = <&vreg_l3e_1p2>; 578 579 status = "okay"; 580}; 581 582&pcie1 { 583 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 584 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 585 586 pinctrl-names = "default"; 587 pinctrl-0 = <&pcie1_default_state>; 588 589 status = "okay"; 590}; 591 592&pcie1_phy { 593 vdda-phy-supply = <&vreg_l3c_0p91>; 594 vdda-pll-supply = <&vreg_l3e_1p2>; 595 vdda-qref-supply = <&vreg_l1e_0p88>; 596 597 status = "okay"; 598}; 599 600&pm8550_gpios { 601 sdc2_card_det_n: sdc2-card-det-state { 602 pins = "gpio12"; 603 function = "normal"; 604 input-enable; 605 output-disable; 606 bias-pull-up; 607 power-source = <1>; /* 1.8 V */ 608 }; 609}; 610 611&pm8550b_eusb2_repeater { 612 vdd18-supply = <&vreg_l15b_1p8>; 613 vdd3-supply = <&vreg_l5b_3p1>; 614}; 615 616&qupv3_id_0 { 617 status = "okay"; 618}; 619 620&remoteproc_adsp { 621 firmware-name = "qcom/sm8550/adsp.mbn", 622 "qcom/sm8550/adsp_dtb.mbn"; 623 status = "okay"; 624}; 625 626&remoteproc_cdsp { 627 firmware-name = "qcom/sm8550/cdsp.mbn", 628 "qcom/sm8550/cdsp_dtb.mbn"; 629 status = "okay"; 630}; 631 632&remoteproc_mpss { 633 firmware-name = "qcom/sm8550/modem.mbn", 634 "qcom/sm8550/modem_dtb.mbn"; 635 status = "okay"; 636}; 637 638&sdhc_2 { 639 cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>; 640 pinctrl-names = "default", "sleep"; 641 pinctrl-0 = <&sdc2_default &sdc2_card_det_n>; 642 pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>; 643 vmmc-supply = <&vreg_l9b_2p9>; 644 vqmmc-supply = <&vreg_l8b_1p8>; 645 bus-width = <4>; 646 no-sdio; 647 no-mmc; 648 status = "okay"; 649}; 650 651&sleep_clk { 652 clock-frequency = <32000>; 653}; 654 655&swr0 { 656 status = "okay"; 657 658 /* WSA8845 */ 659 left_spkr: speaker@0,0 { 660 compatible = "sdw20217020400"; 661 reg = <0 0>; 662 pinctrl-names = "default"; 663 pinctrl-0 = <&spkr_1_sd_n_active>; 664 powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 665 #sound-dai-cells = <0>; 666 sound-name-prefix = "SpkrLeft"; 667 vdd-1p8-supply = <&vreg_l15b_1p8>; 668 vdd-io-supply = <&vreg_l3g_1p2>; 669 }; 670 671 /* WSA8845 */ 672 right_spkr: speaker@0,1 { 673 compatible = "sdw20217020400"; 674 reg = <0 1>; 675 pinctrl-names = "default"; 676 pinctrl-0 = <&spkr_2_sd_n_active>; 677 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 678 #sound-dai-cells = <0>; 679 sound-name-prefix = "SpkrRight"; 680 vdd-1p8-supply = <&vreg_l15b_1p8>; 681 vdd-io-supply = <&vreg_l3g_1p2>; 682 }; 683}; 684 685&swr1 { 686 status = "okay"; 687 688 /* WCD9385 RX */ 689 wcd_rx: codec@0,4 { 690 compatible = "sdw20217010d00"; 691 reg = <0 4>; 692 qcom,rx-port-mapping = <1 2 3 4 5>; 693 }; 694}; 695 696&swr2 { 697 status = "okay"; 698 699 /* WCD9385 TX */ 700 wcd_tx: codec@0,3 { 701 compatible = "sdw20217010d00"; 702 reg = <0 3>; 703 qcom,tx-port-mapping = <1 1 2 3>; 704 }; 705}; 706 707&tlmm { 708 gpio-reserved-ranges = <32 8>; 709 710 sde_dsi_active: sde-dsi-active-state { 711 pins = "gpio133"; 712 function = "gpio"; 713 drive-strength = <8>; 714 bias-disable; 715 }; 716 717 sde_dsi_suspend: sde-dsi-suspend-state { 718 pins = "gpio133"; 719 function = "gpio"; 720 drive-strength = <2>; 721 bias-pull-down; 722 }; 723 724 sde_te_active: sde-te-active-state { 725 pins = "gpio86"; 726 function = "mdp_vsync"; 727 drive-strength = <2>; 728 bias-pull-down; 729 }; 730 731 sde_te_suspend: sde-te-suspend-state { 732 pins = "gpio86"; 733 function = "mdp_vsync"; 734 drive-strength = <2>; 735 bias-pull-down; 736 }; 737 738 wcd_default: wcd-reset-n-active-state { 739 pins = "gpio108"; 740 function = "gpio"; 741 drive-strength = <16>; 742 bias-disable; 743 output-low; 744 }; 745}; 746 747&uart7 { 748 status = "okay"; 749}; 750 751&ufs_mem_hc { 752 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 753 vcc-supply = <&vreg_l17b_2p5>; 754 vcc-max-microamp = <1300000>; 755 vccq-supply = <&vreg_l1g_1p2>; 756 vccq-max-microamp = <1200000>; 757 vccq2-supply = <&vreg_l3g_1p2>; 758 vccq2-max-microamp = <100>; 759 760 status = "okay"; 761}; 762 763&ufs_mem_phy { 764 vdda-phy-supply = <&vreg_l1d_0p88>; 765 vdda-pll-supply = <&vreg_l3e_1p2>; 766 767 status = "okay"; 768}; 769 770&usb_1 { 771 status = "okay"; 772}; 773 774&usb_1_dwc3 { 775 dr_mode = "otg"; 776 usb-role-switch; 777}; 778 779&usb_1_dwc3_hs { 780 remote-endpoint = <&pmic_glink_hs_in>; 781}; 782 783&usb_1_dwc3_ss { 784 remote-endpoint = <&pmic_glink_ss_in>; 785}; 786 787&usb_1_hsphy { 788 vdd-supply = <&vreg_l1e_0p88>; 789 vdda12-supply = <&vreg_l3e_1p2>; 790 791 phys = <&pm8550b_eusb2_repeater>; 792 793 status = "okay"; 794}; 795 796&usb_dp_qmpphy { 797 vdda-phy-supply = <&vreg_l3e_1p2>; 798 vdda-pll-supply = <&vreg_l3f_0p91>; 799 800 status = "okay"; 801}; 802 803&xo_board { 804 clock-frequency = <76800000>; 805}; 806