1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6/dts-v1/; 7 8#include <dt-bindings/gpio/gpio.h> 9#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 11#include "x1e80100.dtsi" 12#include "x1e80100-pmics.dtsi" 13 14/ { 15 model = "Qualcomm Technologies, Inc. X1E80100 CRD"; 16 compatible = "qcom,x1e80100-crd", "qcom,x1e80100"; 17 18 aliases { 19 serial0 = &uart21; 20 }; 21 22 wcd938x: audio-codec { 23 compatible = "qcom,wcd9385-codec"; 24 25 pinctrl-names = "default"; 26 pinctrl-0 = <&wcd_default>; 27 28 qcom,micbias1-microvolt = <1800000>; 29 qcom,micbias2-microvolt = <1800000>; 30 qcom,micbias3-microvolt = <1800000>; 31 qcom,micbias4-microvolt = <1800000>; 32 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 33 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 34 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 35 qcom,rx-device = <&wcd_rx>; 36 qcom,tx-device = <&wcd_tx>; 37 38 reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>; 39 40 vdd-buck-supply = <&vreg_l15b_1p8>; 41 vdd-rxtx-supply = <&vreg_l15b_1p8>; 42 vdd-io-supply = <&vreg_l15b_1p8>; 43 vdd-mic-bias-supply = <&vreg_bob1>; 44 45 #sound-dai-cells = <1>; 46 }; 47 48 chosen { 49 stdout-path = "serial0:115200n8"; 50 }; 51 52 reserved-memory { 53 linux,cma { 54 compatible = "shared-dma-pool"; 55 size = <0x0 0x8000000>; 56 reusable; 57 linux,cma-default; 58 }; 59 }; 60 61 sound { 62 compatible = "qcom,x1e80100-sndcard"; 63 model = "X1E80100-CRD"; 64 audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT", 65 "TwitterLeft IN", "WSA WSA_SPK2 OUT", 66 "WooferRight IN", "WSA2 WSA_SPK2 OUT", 67 "TwitterRight IN", "WSA2 WSA_SPK2 OUT", 68 "IN1_HPHL", "HPHL_OUT", 69 "IN2_HPHR", "HPHR_OUT", 70 "AMIC2", "MIC BIAS2", 71 "VA DMIC0", "MIC BIAS3", 72 "VA DMIC1", "MIC BIAS3", 73 "VA DMIC2", "MIC BIAS1", 74 "VA DMIC3", "MIC BIAS1", 75 "VA DMIC0", "VA MIC BIAS3", 76 "VA DMIC1", "VA MIC BIAS3", 77 "VA DMIC2", "VA MIC BIAS1", 78 "VA DMIC3", "VA MIC BIAS1", 79 "TX SWR_INPUT1", "ADC2_OUTPUT"; 80 81 wcd-playback-dai-link { 82 link-name = "WCD Playback"; 83 84 cpu { 85 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 86 }; 87 88 codec { 89 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 90 }; 91 92 platform { 93 sound-dai = <&q6apm>; 94 }; 95 }; 96 97 wcd-capture-dai-link { 98 link-name = "WCD Capture"; 99 100 cpu { 101 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 102 }; 103 104 codec { 105 sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>; 106 }; 107 108 platform { 109 sound-dai = <&q6apm>; 110 }; 111 }; 112 113 wsa-dai-link { 114 link-name = "WSA Playback"; 115 116 cpu { 117 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 118 }; 119 120 codec { 121 sound-dai = <&left_woofer>, <&left_tweeter>, 122 <&swr0 0>, <&lpass_wsamacro 0>, 123 <&right_woofer>, <&right_tweeter>, 124 <&swr3 0>, <&lpass_wsa2macro 0>; 125 }; 126 127 platform { 128 sound-dai = <&q6apm>; 129 }; 130 }; 131 132 va-dai-link { 133 link-name = "VA Capture"; 134 135 cpu { 136 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; 137 }; 138 139 codec { 140 sound-dai = <&lpass_vamacro 0>; 141 }; 142 143 platform { 144 sound-dai = <&q6apm>; 145 }; 146 }; 147 }; 148 149 vph_pwr: vph-pwr-regulator { 150 compatible = "regulator-fixed"; 151 152 regulator-name = "vph_pwr"; 153 regulator-min-microvolt = <3700000>; 154 regulator-max-microvolt = <3700000>; 155 156 regulator-always-on; 157 regulator-boot-on; 158 }; 159 160 vreg_edp_3p3: regulator-edp-3p3 { 161 compatible = "regulator-fixed"; 162 163 regulator-name = "VREG_EDP_3P3"; 164 regulator-min-microvolt = <3300000>; 165 regulator-max-microvolt = <3300000>; 166 167 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 168 enable-active-high; 169 170 pinctrl-0 = <&edp_reg_en>; 171 pinctrl-names = "default"; 172 173 regulator-always-on; 174 regulator-boot-on; 175 }; 176}; 177 178&apps_rsc { 179 regulators-0 { 180 compatible = "qcom,pm8550-rpmh-regulators"; 181 qcom,pmic-id = "b"; 182 183 vdd-bob1-supply = <&vph_pwr>; 184 vdd-bob2-supply = <&vph_pwr>; 185 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; 186 vdd-l2-l13-l14-supply = <&vreg_bob1>; 187 vdd-l5-l16-supply = <&vreg_bob1>; 188 vdd-l6-l7-supply = <&vreg_bob2>; 189 vdd-l8-l9-supply = <&vreg_bob1>; 190 vdd-l12-supply = <&vreg_s5j_1p2>; 191 vdd-l15-supply = <&vreg_s4c_1p8>; 192 vdd-l17-supply = <&vreg_bob2>; 193 194 vreg_bob1: bob1 { 195 regulator-name = "vreg_bob1"; 196 regulator-min-microvolt = <3008000>; 197 regulator-max-microvolt = <3960000>; 198 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 199 }; 200 201 vreg_bob2: bob2 { 202 regulator-name = "vreg_bob2"; 203 regulator-min-microvolt = <2504000>; 204 regulator-max-microvolt = <3008000>; 205 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 206 }; 207 208 vreg_l1b_1p8: ldo1 { 209 regulator-name = "vreg_l1b_1p8"; 210 regulator-min-microvolt = <1800000>; 211 regulator-max-microvolt = <1800000>; 212 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 213 }; 214 215 vreg_l2b_3p0: ldo2 { 216 regulator-name = "vreg_l2b_3p0"; 217 regulator-min-microvolt = <3072000>; 218 regulator-max-microvolt = <3100000>; 219 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 220 }; 221 222 vreg_l4b_1p8: ldo4 { 223 regulator-name = "vreg_l4b_1p8"; 224 regulator-min-microvolt = <1800000>; 225 regulator-max-microvolt = <1800000>; 226 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 227 }; 228 229 vreg_l5b_3p0: ldo5 { 230 regulator-name = "vreg_l5b_3p0"; 231 regulator-min-microvolt = <3000000>; 232 regulator-max-microvolt = <3000000>; 233 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 234 }; 235 236 vreg_l6b_1p8: ldo6 { 237 regulator-name = "vreg_l6b_1p8"; 238 regulator-min-microvolt = <1800000>; 239 regulator-max-microvolt = <2960000>; 240 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 241 }; 242 243 vreg_l7b_2p8: ldo7 { 244 regulator-name = "vreg_l7b_2p8"; 245 regulator-min-microvolt = <2800000>; 246 regulator-max-microvolt = <2800000>; 247 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 248 }; 249 250 vreg_l8b_3p0: ldo8 { 251 regulator-name = "vreg_l8b_3p0"; 252 regulator-min-microvolt = <3072000>; 253 regulator-max-microvolt = <3072000>; 254 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 255 }; 256 257 vreg_l9b_2p9: ldo9 { 258 regulator-name = "vreg_l9b_2p9"; 259 regulator-min-microvolt = <2960000>; 260 regulator-max-microvolt = <2960000>; 261 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 262 }; 263 264 vreg_l10b_1p8: ldo10 { 265 regulator-name = "vreg_l10b_1p8"; 266 regulator-min-microvolt = <1800000>; 267 regulator-max-microvolt = <1800000>; 268 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 269 }; 270 271 vreg_l12b_1p2: ldo12 { 272 regulator-name = "vreg_l12b_1p2"; 273 regulator-min-microvolt = <1200000>; 274 regulator-max-microvolt = <1200000>; 275 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 276 }; 277 278 vreg_l13b_3p0: ldo13 { 279 regulator-name = "vreg_l13b_3p0"; 280 regulator-min-microvolt = <3072000>; 281 regulator-max-microvolt = <3100000>; 282 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 283 }; 284 285 vreg_l14b_3p0: ldo14 { 286 regulator-name = "vreg_l14b_3p0"; 287 regulator-min-microvolt = <3072000>; 288 regulator-max-microvolt = <3072000>; 289 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 290 }; 291 292 vreg_l15b_1p8: ldo15 { 293 regulator-name = "vreg_l15b_1p8"; 294 regulator-min-microvolt = <1800000>; 295 regulator-max-microvolt = <1800000>; 296 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 297 }; 298 299 vreg_l16b_2p9: ldo16 { 300 regulator-name = "vreg_l16b_2p9"; 301 regulator-min-microvolt = <2912000>; 302 regulator-max-microvolt = <2912000>; 303 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 304 }; 305 306 vreg_l17b_2p5: ldo17 { 307 regulator-name = "vreg_l17b_2p5"; 308 regulator-min-microvolt = <2504000>; 309 regulator-max-microvolt = <2504000>; 310 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 311 }; 312 }; 313 314 regulators-1 { 315 compatible = "qcom,pm8550ve-rpmh-regulators"; 316 qcom,pmic-id = "c"; 317 318 vdd-l1-supply = <&vreg_s5j_1p2>; 319 vdd-l2-supply = <&vreg_s1f_0p7>; 320 vdd-l3-supply = <&vreg_s1f_0p7>; 321 vdd-s4-supply = <&vph_pwr>; 322 323 vreg_s4c_1p8: smps4 { 324 regulator-name = "vreg_s4c_1p8"; 325 regulator-min-microvolt = <1856000>; 326 regulator-max-microvolt = <2000000>; 327 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 328 }; 329 330 vreg_l1c_1p2: ldo1 { 331 regulator-name = "vreg_l1c_1p2"; 332 regulator-min-microvolt = <1200000>; 333 regulator-max-microvolt = <1200000>; 334 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 335 }; 336 337 vreg_l2c_0p8: ldo2 { 338 regulator-name = "vreg_l2c_0p8"; 339 regulator-min-microvolt = <880000>; 340 regulator-max-microvolt = <920000>; 341 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 342 }; 343 344 vreg_l3c_0p8: ldo3 { 345 regulator-name = "vreg_l3c_0p8"; 346 regulator-min-microvolt = <880000>; 347 regulator-max-microvolt = <920000>; 348 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 349 }; 350 }; 351 352 regulators-2 { 353 compatible = "qcom,pmc8380-rpmh-regulators"; 354 qcom,pmic-id = "d"; 355 356 vdd-l1-supply = <&vreg_s1f_0p7>; 357 vdd-l2-supply = <&vreg_s1f_0p7>; 358 vdd-l3-supply = <&vreg_s4c_1p8>; 359 vdd-s1-supply = <&vph_pwr>; 360 361 vreg_l1d_0p8: ldo1 { 362 regulator-name = "vreg_l1d_0p8"; 363 regulator-min-microvolt = <880000>; 364 regulator-max-microvolt = <920000>; 365 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 366 }; 367 368 vreg_l2d_0p9: ldo2 { 369 regulator-name = "vreg_l2d_0p9"; 370 regulator-min-microvolt = <912000>; 371 regulator-max-microvolt = <920000>; 372 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 373 }; 374 375 vreg_l3d_1p8: ldo3 { 376 regulator-name = "vreg_l3d_1p8"; 377 regulator-min-microvolt = <1800000>; 378 regulator-max-microvolt = <1800000>; 379 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 380 }; 381 }; 382 383 regulators-3 { 384 compatible = "qcom,pmc8380-rpmh-regulators"; 385 qcom,pmic-id = "e"; 386 387 vdd-l2-supply = <&vreg_s1f_0p7>; 388 vdd-l3-supply = <&vreg_s5j_1p2>; 389 390 vreg_l2e_0p8: ldo2 { 391 regulator-name = "vreg_l2e_0p8"; 392 regulator-min-microvolt = <880000>; 393 regulator-max-microvolt = <920000>; 394 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 395 }; 396 397 vreg_l3e_1p2: ldo3 { 398 regulator-name = "vreg_l3e_1p2"; 399 regulator-min-microvolt = <1200000>; 400 regulator-max-microvolt = <1200000>; 401 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 402 }; 403 }; 404 405 regulators-4 { 406 compatible = "qcom,pmc8380-rpmh-regulators"; 407 qcom,pmic-id = "f"; 408 409 vdd-l1-supply = <&vreg_s5j_1p2>; 410 vdd-l2-supply = <&vreg_s5j_1p2>; 411 vdd-l3-supply = <&vreg_s5j_1p2>; 412 vdd-s1-supply = <&vph_pwr>; 413 414 vreg_s1f_0p7: smps1 { 415 regulator-name = "vreg_s1f_0p7"; 416 regulator-min-microvolt = <700000>; 417 regulator-max-microvolt = <1100000>; 418 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 419 }; 420 421 vreg_l1f_1p0: ldo1 { 422 regulator-name = "vreg_l1f_1p0"; 423 regulator-min-microvolt = <1024000>; 424 regulator-max-microvolt = <1024000>; 425 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 426 }; 427 428 vreg_l2f_1p0: ldo2 { 429 regulator-name = "vreg_l2f_1p0"; 430 regulator-min-microvolt = <1024000>; 431 regulator-max-microvolt = <1024000>; 432 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 433 }; 434 435 vreg_l3f_1p0: ldo3 { 436 regulator-name = "vreg_l3f_1p0"; 437 regulator-min-microvolt = <1024000>; 438 regulator-max-microvolt = <1024000>; 439 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 440 }; 441 }; 442 443 regulators-6 { 444 compatible = "qcom,pm8550ve-rpmh-regulators"; 445 qcom,pmic-id = "i"; 446 447 vdd-l1-supply = <&vreg_s4c_1p8>; 448 vdd-l2-supply = <&vreg_s5j_1p2>; 449 vdd-l3-supply = <&vreg_s1f_0p7>; 450 vdd-s1-supply = <&vph_pwr>; 451 vdd-s2-supply = <&vph_pwr>; 452 453 vreg_s1i_0p9: smps1 { 454 regulator-name = "vreg_s1i_0p9"; 455 regulator-min-microvolt = <900000>; 456 regulator-max-microvolt = <920000>; 457 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 458 }; 459 460 vreg_s2i_1p0: smps2 { 461 regulator-name = "vreg_s2i_1p0"; 462 regulator-min-microvolt = <1000000>; 463 regulator-max-microvolt = <1100000>; 464 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 465 }; 466 467 vreg_l1i_1p8: ldo1 { 468 regulator-name = "vreg_l1i_1p8"; 469 regulator-min-microvolt = <1800000>; 470 regulator-max-microvolt = <1800000>; 471 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 472 }; 473 474 vreg_l2i_1p2: ldo2 { 475 regulator-name = "vreg_l2i_1p2"; 476 regulator-min-microvolt = <1200000>; 477 regulator-max-microvolt = <1200000>; 478 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 479 }; 480 481 vreg_l3i_0p8: ldo3 { 482 regulator-name = "vreg_l3i_0p8"; 483 regulator-min-microvolt = <880000>; 484 regulator-max-microvolt = <920000>; 485 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 486 }; 487 }; 488 489 regulators-7 { 490 compatible = "qcom,pm8550ve-rpmh-regulators"; 491 qcom,pmic-id = "j"; 492 493 vdd-l1-supply = <&vreg_s1f_0p7>; 494 vdd-l2-supply = <&vreg_s5j_1p2>; 495 vdd-l3-supply = <&vreg_s1f_0p7>; 496 vdd-s5-supply = <&vph_pwr>; 497 498 vreg_s5j_1p2: smps5 { 499 regulator-name = "vreg_s5j_1p2"; 500 regulator-min-microvolt = <1256000>; 501 regulator-max-microvolt = <1304000>; 502 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 503 }; 504 505 vreg_l1j_0p8: ldo1 { 506 regulator-name = "vreg_l1j_0p8"; 507 regulator-min-microvolt = <880000>; 508 regulator-max-microvolt = <920000>; 509 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 510 }; 511 512 vreg_l2j_1p2: ldo2 { 513 regulator-name = "vreg_l2j_1p2"; 514 regulator-min-microvolt = <1200000>; 515 regulator-max-microvolt = <1200000>; 516 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 517 }; 518 519 vreg_l3j_0p8: ldo3 { 520 regulator-name = "vreg_l3j_0p8"; 521 regulator-min-microvolt = <880000>; 522 regulator-max-microvolt = <920000>; 523 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 524 }; 525 }; 526}; 527 528&i2c0 { 529 clock-frequency = <400000>; 530 531 status = "okay"; 532 533 touchpad@15 { 534 compatible = "hid-over-i2c"; 535 reg = <0x15>; 536 537 hid-descr-addr = <0x1>; 538 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; 539 540 pinctrl-0 = <&tpad_default>; 541 pinctrl-names = "default"; 542 543 wakeup-source; 544 }; 545 546 keyboard@3a { 547 compatible = "hid-over-i2c"; 548 reg = <0x3a>; 549 550 hid-descr-addr = <0x1>; 551 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; 552 553 pinctrl-0 = <&kybd_default>; 554 pinctrl-names = "default"; 555 556 wakeup-source; 557 }; 558}; 559 560&i2c8 { 561 clock-frequency = <400000>; 562 563 status = "okay"; 564 565 touchscreen@10 { 566 compatible = "hid-over-i2c"; 567 reg = <0x10>; 568 569 hid-descr-addr = <0x1>; 570 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; 571 572 pinctrl-0 = <&ts0_default>; 573 pinctrl-names = "default"; 574 }; 575}; 576 577&lpass_tlmm { 578 spkr_01_sd_n_active: spkr-01-sd-n-active-state { 579 pins = "gpio12"; 580 function = "gpio"; 581 drive-strength = <16>; 582 bias-disable; 583 output-low; 584 }; 585 586 spkr_23_sd_n_active: spkr-23-sd-n-active-state { 587 pins = "gpio13"; 588 function = "gpio"; 589 drive-strength = <16>; 590 bias-disable; 591 output-low; 592 }; 593}; 594 595&lpass_vamacro { 596 pinctrl-0 = <&dmic01_default>, <&dmic23_default>; 597 pinctrl-names = "default"; 598 599 vdd-micb-supply = <&vreg_l1b_1p8>; 600 qcom,dmic-sample-rate = <4800000>; 601}; 602 603&mdss { 604 status = "okay"; 605}; 606 607&mdss_dp3 { 608 compatible = "qcom,x1e80100-dp"; 609 /delete-property/ #sound-dai-cells; 610 611 status = "okay"; 612 613 aux-bus { 614 panel { 615 compatible = "edp-panel"; 616 power-supply = <&vreg_edp_3p3>; 617 618 port { 619 edp_panel_in: endpoint { 620 remote-endpoint = <&mdss_dp3_out>; 621 }; 622 }; 623 }; 624 }; 625 626 ports { 627 port@1 { 628 reg = <1>; 629 mdss_dp3_out: endpoint { 630 data-lanes = <0 1 2 3>; 631 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 632 633 remote-endpoint = <&edp_panel_in>; 634 }; 635 }; 636 }; 637}; 638 639&mdss_dp3_phy { 640 vdda-phy-supply = <&vreg_l3j_0p8>; 641 vdda-pll-supply = <&vreg_l2j_1p2>; 642 643 status = "okay"; 644}; 645 646&pcie4 { 647 status = "okay"; 648}; 649 650&pcie4_phy { 651 vdda-phy-supply = <&vreg_l3j_0p8>; 652 vdda-pll-supply = <&vreg_l3e_1p2>; 653 654 status = "okay"; 655}; 656 657&pcie6a { 658 status = "okay"; 659}; 660 661&pcie6a_phy { 662 vdda-phy-supply = <&vreg_l3j_0p8>; 663 vdda-pll-supply = <&vreg_l2j_1p2>; 664 665 status = "okay"; 666}; 667 668&qupv3_0 { 669 status = "okay"; 670}; 671 672&qupv3_1 { 673 status = "okay"; 674}; 675 676&qupv3_2 { 677 status = "okay"; 678}; 679 680&remoteproc_adsp { 681 firmware-name = "qcom/x1e80100/adsp.mbn", 682 "qcom/x1e80100/adsp_dtb.mbn"; 683 684 status = "okay"; 685}; 686 687&remoteproc_cdsp { 688 firmware-name = "qcom/x1e80100/cdsp.mbn", 689 "qcom/x1e80100/cdsp_dtb.mbn"; 690 691 status = "okay"; 692}; 693 694&smb2360_0_eusb2_repeater { 695 vdd18-supply = <&vreg_l3d_1p8>; 696 vdd3-supply = <&vreg_l2b_3p0>; 697}; 698 699&smb2360_1_eusb2_repeater { 700 vdd18-supply = <&vreg_l3d_1p8>; 701 vdd3-supply = <&vreg_l14b_3p0>; 702}; 703 704&smb2360_2_eusb2_repeater { 705 vdd18-supply = <&vreg_l3d_1p8>; 706 vdd3-supply = <&vreg_l8b_3p0>; 707}; 708 709&swr0 { 710 status = "okay"; 711 712 pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>; 713 pinctrl-names = "default"; 714 715 /* WSA8845, Left Woofer */ 716 left_woofer: speaker@0,0 { 717 compatible = "sdw20217020400"; 718 reg = <0 0>; 719 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 720 #sound-dai-cells = <0>; 721 sound-name-prefix = "WooferLeft"; 722 vdd-1p8-supply = <&vreg_l15b_1p8>; 723 vdd-io-supply = <&vreg_l12b_1p2>; 724 }; 725 726 /* WSA8845, Left Tweeter */ 727 left_tweeter: speaker@0,1 { 728 compatible = "sdw20217020400"; 729 reg = <0 1>; 730 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 731 #sound-dai-cells = <0>; 732 sound-name-prefix = "TwitterLeft"; 733 vdd-1p8-supply = <&vreg_l15b_1p8>; 734 vdd-io-supply = <&vreg_l12b_1p2>; 735 }; 736}; 737 738&swr1 { 739 status = "okay"; 740 741 /* WCD9385 RX */ 742 wcd_rx: codec@0,4 { 743 compatible = "sdw20217010d00"; 744 reg = <0 4>; 745 qcom,rx-port-mapping = <1 2 3 4 5>; 746 }; 747}; 748 749&swr2 { 750 status = "okay"; 751 752 /* WCD9385 TX */ 753 wcd_tx: codec@0,3 { 754 compatible = "sdw20217010d00"; 755 reg = <0 3>; 756 qcom,tx-port-mapping = <2 2 3 4>; 757 }; 758}; 759 760&swr3 { 761 status = "okay"; 762 763 pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>; 764 pinctrl-names = "default"; 765 766 /* WSA8845, Right Woofer */ 767 right_woofer: speaker@0,0 { 768 compatible = "sdw20217020400"; 769 reg = <0 0>; 770 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; 771 #sound-dai-cells = <0>; 772 sound-name-prefix = "WooferRight"; 773 vdd-1p8-supply = <&vreg_l15b_1p8>; 774 vdd-io-supply = <&vreg_l12b_1p2>; 775 }; 776 777 /* WSA8845, Right Tweeter */ 778 right_tweeter: speaker@0,1 { 779 compatible = "sdw20217020400"; 780 reg = <0 1>; 781 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; 782 #sound-dai-cells = <0>; 783 sound-name-prefix = "TwitterRight"; 784 vdd-1p8-supply = <&vreg_l15b_1p8>; 785 vdd-io-supply = <&vreg_l12b_1p2>; 786 }; 787}; 788 789&tlmm { 790 gpio-reserved-ranges = <34 2>, /* Unused */ 791 <44 4>, /* SPI (TPM) */ 792 <238 1>; /* UFS Reset */ 793 794 edp_reg_en: edp-reg-en-state { 795 pins = "gpio70"; 796 function = "gpio"; 797 drive-strength = <16>; 798 bias-disable; 799 }; 800 801 kybd_default: kybd-default-state { 802 pins = "gpio67"; 803 function = "gpio"; 804 bias-disable; 805 }; 806 807 tpad_default: tpad-default-state { 808 pins = "gpio3"; 809 function = "gpio"; 810 bias-disable; 811 }; 812 813 ts0_default: ts0-default-state { 814 int-n-pins { 815 pins = "gpio51"; 816 function = "gpio"; 817 bias-disable; 818 }; 819 820 reset-n-pins { 821 pins = "gpio48"; 822 function = "gpio"; 823 output-high; 824 drive-strength = <16>; 825 }; 826 }; 827 828 wcd_default: wcd-reset-n-active-state { 829 pins = "gpio191"; 830 function = "gpio"; 831 drive-strength = <16>; 832 bias-disable; 833 output-low; 834 }; 835}; 836 837&uart21 { 838 compatible = "qcom,geni-debug-uart"; 839 status = "okay"; 840}; 841 842&usb_1_ss0_hsphy { 843 vdd-supply = <&vreg_l2e_0p8>; 844 vdda12-supply = <&vreg_l3e_1p2>; 845 846 phys = <&smb2360_0_eusb2_repeater>; 847 848 status = "okay"; 849}; 850 851&usb_1_ss0_qmpphy { 852 status = "okay"; 853}; 854 855&usb_1_ss0 { 856 status = "okay"; 857}; 858 859&usb_1_ss0_dwc3 { 860 dr_mode = "host"; 861 usb-role-switch; 862}; 863 864&usb_1_ss1_hsphy { 865 vdd-supply = <&vreg_l2e_0p8>; 866 vdda12-supply = <&vreg_l3e_1p2>; 867 868 phys = <&smb2360_1_eusb2_repeater>; 869 870 status = "okay"; 871}; 872 873&usb_1_ss1_qmpphy { 874 status = "okay"; 875}; 876 877&usb_1_ss1 { 878 status = "okay"; 879}; 880 881&usb_1_ss1_dwc3 { 882 dr_mode = "host"; 883 usb-role-switch; 884}; 885 886&usb_1_ss2_hsphy { 887 vdd-supply = <&vreg_l2e_0p8>; 888 vdda12-supply = <&vreg_l3e_1p2>; 889 890 phys = <&smb2360_2_eusb2_repeater>; 891 892 status = "okay"; 893}; 894 895&usb_1_ss2_qmpphy { 896 status = "okay"; 897}; 898 899&usb_1_ss2 { 900 status = "okay"; 901}; 902 903&usb_1_ss2_dwc3 { 904 dr_mode = "host"; 905 usb-role-switch; 906}; 907