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