1// SPDX-License-Identifier: GPL-2.0 2/* 3 * SDM845 OnePlus 6(T) (enchilada / fajita) common device tree source 4 * 5 * Copyright (c) 2020, The Linux Foundation. All rights reserved. 6 */ 7 8/dts-v1/; 9 10#include <dt-bindings/input/linux-event-codes.h> 11#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12#include <dt-bindings/sound/qcom,q6afe.h> 13#include <dt-bindings/sound/qcom,q6asm.h> 14 15#include "sdm845.dtsi" 16#include "sdm845-wcd9340.dtsi" 17#include "pm8998.dtsi" 18#include "pmi8998.dtsi" 19 20/delete-node/ &rmtfs_mem; 21 22/ { 23 aliases { 24 serial0 = &uart9; 25 serial1 = &uart6; 26 }; 27 28 chosen { 29 stdout-path = "serial0:115200n8"; 30 }; 31 32 gpio-keys { 33 compatible = "gpio-keys"; 34 label = "Volume keys"; 35 autorepeat; 36 37 pinctrl-names = "default"; 38 pinctrl-0 = <&volume_down_gpio &volume_up_gpio>; 39 40 key-vol-down { 41 label = "Volume down"; 42 linux,code = <KEY_VOLUMEDOWN>; 43 gpios = <&pm8998_gpios 5 GPIO_ACTIVE_LOW>; 44 debounce-interval = <15>; 45 }; 46 47 key-vol-up { 48 label = "Volume up"; 49 linux,code = <KEY_VOLUMEUP>; 50 gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>; 51 debounce-interval = <15>; 52 }; 53 }; 54 55 reserved-memory { 56 /* 57 * The rmtfs_mem needs to be guarded due to "XPU limitations" 58 * it is otherwise possible for an allocation adjacent to the 59 * rmtfs_mem region to trigger an XPU violation, causing a crash. 60 */ 61 rmtfs_lower_guard: rmtfs-lower-guard@f5b00000 { 62 no-map; 63 reg = <0 0xf5b00000 0 0x1000>; 64 }; 65 /* 66 * The rmtfs memory region in downstream is 'dynamically allocated' 67 * but given the same address every time. Hard code it as this address is 68 * where the modem firmware expects it to be. 69 */ 70 rmtfs_mem: rmtfs-mem@f5b01000 { 71 compatible = "qcom,rmtfs-mem"; 72 reg = <0 0xf5b01000 0 0x200000>; 73 no-map; 74 75 qcom,client-id = <1>; 76 qcom,vmid = <15>; 77 }; 78 rmtfs_upper_guard: rmtfs-upper-guard@f5d01000 { 79 no-map; 80 reg = <0 0xf5d01000 0 0x1000>; 81 }; 82 83 /* 84 * It seems like reserving the old rmtfs_mem region is also needed to prevent 85 * random crashes which are most likely modem related, more testing needed. 86 */ 87 removed_region: removed-region@88f00000 { 88 no-map; 89 reg = <0 0x88f00000 0 0x1c00000>; 90 }; 91 92 ramoops: ramoops@ac300000 { 93 compatible = "ramoops"; 94 reg = <0 0xac300000 0 0x400000>; 95 record-size = <0x40000>; 96 console-size = <0x40000>; 97 ftrace-size = <0x40000>; 98 pmsg-size = <0x200000>; 99 ecc-size = <16>; 100 }; 101 }; 102 103 vph_pwr: vph-pwr-regulator { 104 compatible = "regulator-fixed"; 105 regulator-name = "vph_pwr"; 106 regulator-min-microvolt = <3700000>; 107 regulator-max-microvolt = <3700000>; 108 }; 109 110 /* 111 * Apparently RPMh does not provide support for PM8998 S4 because it 112 * is always-on; model it as a fixed regulator. 113 */ 114 vreg_s4a_1p8: pm8998-smps4 { 115 compatible = "regulator-fixed"; 116 regulator-name = "vreg_s4a_1p8"; 117 118 regulator-min-microvolt = <1800000>; 119 regulator-max-microvolt = <1800000>; 120 121 regulator-always-on; 122 regulator-boot-on; 123 124 vin-supply = <&vph_pwr>; 125 }; 126 127 /* 128 * The touchscreen regulator seems to be controlled somehow by a gpio. 129 * Model it as a fixed regulator and keep it on. Without schematics we 130 * don't know how this is actually wired up... 131 */ 132 ts_1p8_supply: ts-1p8-regulator { 133 compatible = "regulator-fixed"; 134 regulator-name = "ts_1p8_supply"; 135 136 regulator-min-microvolt = <1800000>; 137 regulator-max-microvolt = <1800000>; 138 139 gpio = <&tlmm 88 0>; 140 enable-active-high; 141 regulator-boot-on; 142 }; 143}; 144 145&adsp_pas { 146 status = "okay"; 147 firmware-name = "qcom/sdm845/oneplus6/adsp.mbn"; 148}; 149 150&apps_rsc { 151 regulators-0 { 152 compatible = "qcom,pm8998-rpmh-regulators"; 153 qcom,pmic-id = "a"; 154 155 vdd-s1-supply = <&vph_pwr>; 156 vdd-s2-supply = <&vph_pwr>; 157 vdd-s3-supply = <&vph_pwr>; 158 vdd-s4-supply = <&vph_pwr>; 159 vdd-s5-supply = <&vph_pwr>; 160 vdd-s6-supply = <&vph_pwr>; 161 vdd-s7-supply = <&vph_pwr>; 162 vdd-s8-supply = <&vph_pwr>; 163 vdd-s9-supply = <&vph_pwr>; 164 vdd-s10-supply = <&vph_pwr>; 165 vdd-s11-supply = <&vph_pwr>; 166 vdd-s12-supply = <&vph_pwr>; 167 vdd-s13-supply = <&vph_pwr>; 168 vdd-l1-l27-supply = <&vreg_s7a_1p025>; 169 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>; 170 vdd-l3-l11-supply = <&vreg_s7a_1p025>; 171 vdd-l4-l5-supply = <&vreg_s7a_1p025>; 172 vdd-l6-supply = <&vph_pwr>; 173 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>; 174 vdd-l9-supply = <&vreg_bob>; 175 vdd-l10-l23-l25-supply = <&vreg_bob>; 176 vdd-l13-l19-l21-supply = <&vreg_bob>; 177 vdd-l16-l28-supply = <&vreg_bob>; 178 vdd-l18-l22-supply = <&vreg_bob>; 179 vdd-l20-l24-supply = <&vreg_bob>; 180 vdd-l26-supply = <&vreg_s3a_1p35>; 181 vin-lvs-1-2-supply = <&vreg_s4a_1p8>; 182 183 vreg_s3a_1p35: smps3 { 184 regulator-min-microvolt = <1352000>; 185 regulator-max-microvolt = <1352000>; 186 }; 187 188 vreg_s5a_2p04: smps5 { 189 regulator-min-microvolt = <1904000>; 190 regulator-max-microvolt = <2040000>; 191 }; 192 193 vreg_s7a_1p025: smps7 { 194 regulator-min-microvolt = <900000>; 195 regulator-max-microvolt = <1028000>; 196 }; 197 198 vdda_mipi_dsi0_pll: 199 vdda_qlink_lv: 200 vdda_ufs1_core: 201 vdda_usb1_ss_core: 202 vreg_l1a_0p875: ldo1 { 203 regulator-min-microvolt = <880000>; 204 regulator-max-microvolt = <880000>; 205 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 206 }; 207 208 vreg_l2a_1p2: ldo2 { 209 regulator-min-microvolt = <1200000>; 210 regulator-max-microvolt = <1200000>; 211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 212 regulator-always-on; 213 }; 214 215 vreg_l5a_0p8: ldo5 { 216 regulator-min-microvolt = <800000>; 217 regulator-max-microvolt = <800000>; 218 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 219 }; 220 221 vreg_l7a_1p8: ldo7 { 222 regulator-min-microvolt = <1800000>; 223 regulator-max-microvolt = <1800000>; 224 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 225 }; 226 227 vdda_qusb_hs0_1p8: 228 vreg_l12a_1p8: ldo12 { 229 regulator-min-microvolt = <1800000>; 230 regulator-max-microvolt = <1800000>; 231 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 232 }; 233 234 vreg_l14a_1p88: ldo14 { 235 regulator-min-microvolt = <1800000>; 236 regulator-max-microvolt = <1800000>; 237 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 238 regulator-always-on; 239 }; 240 241 vreg_l17a_1p3: ldo17 { 242 regulator-min-microvolt = <1304000>; 243 regulator-max-microvolt = <1304000>; 244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 245 }; 246 247 vreg_l20a_2p95: ldo20 { 248 regulator-min-microvolt = <2704000>; 249 regulator-max-microvolt = <2960000>; 250 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 251 }; 252 253 vreg_l23a_3p3: ldo23 { 254 regulator-min-microvolt = <3300000>; 255 regulator-max-microvolt = <3312000>; 256 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 257 }; 258 259 vdda_qusb_hs0_3p1: 260 vreg_l24a_3p075: ldo24 { 261 regulator-min-microvolt = <3088000>; 262 regulator-max-microvolt = <3088000>; 263 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 264 }; 265 266 vreg_l25a_3p3: ldo25 { 267 regulator-min-microvolt = <3300000>; 268 regulator-max-microvolt = <3312000>; 269 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 270 }; 271 272 vdda_mipi_dsi0_1p2: 273 vdda_ufs1_1p2: 274 vreg_l26a_1p2: ldo26 { 275 regulator-min-microvolt = <1200000>; 276 regulator-max-microvolt = <1200000>; 277 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 278 }; 279 280 vreg_l28a_3p0: ldo28 { 281 regulator-min-microvolt = <2856000>; 282 regulator-max-microvolt = <3008000>; 283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 284 }; 285 }; 286 287 regulators-1 { 288 compatible = "qcom,pmi8998-rpmh-regulators"; 289 qcom,pmic-id = "b"; 290 291 vdd-bob-supply = <&vph_pwr>; 292 293 vreg_bob: bob { 294 regulator-min-microvolt = <3312000>; 295 regulator-max-microvolt = <3600000>; 296 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 297 regulator-allow-bypass; 298 }; 299 }; 300 301 regulators-2 { 302 compatible = "qcom,pm8005-rpmh-regulators"; 303 qcom,pmic-id = "c"; 304 305 vdd-s1-supply = <&vph_pwr>; 306 vdd-s2-supply = <&vph_pwr>; 307 vdd-s3-supply = <&vph_pwr>; 308 vdd-s4-supply = <&vph_pwr>; 309 310 vreg_s3c_0p6: smps3 { 311 regulator-min-microvolt = <600000>; 312 regulator-max-microvolt = <600000>; 313 }; 314 }; 315}; 316 317&cdsp_pas { 318 status = "okay"; 319 firmware-name = "qcom/sdm845/oneplus6/cdsp.mbn"; 320}; 321 322&dsi0 { 323 status = "okay"; 324 vdda-supply = <&vdda_mipi_dsi0_1p2>; 325 326 /* 327 * Both devices use different panels but all other properties 328 * are common. Compatible line is declared in device dts. 329 */ 330 display_panel: panel@0 { 331 status = "disabled"; 332 333 #address-cells = <1>; 334 #size-cells = <0>; 335 reg = <0>; 336 337 vddio-supply = <&vreg_l14a_1p88>; 338 339 reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 340 341 pinctrl-names = "default"; 342 pinctrl-0 = <&panel_reset_pins &panel_te_pin &panel_esd_pin>; 343 344 port { 345 panel_in: endpoint { 346 remote-endpoint = <&dsi0_out>; 347 }; 348 }; 349 }; 350}; 351 352&dsi0_out { 353 remote-endpoint = <&panel_in>; 354 data-lanes = <0 1 2 3>; 355}; 356 357&dsi0_phy { 358 status = "okay"; 359 vdds-supply = <&vdda_mipi_dsi0_pll>; 360}; 361 362&gcc { 363 protected-clocks = <GCC_QSPI_CORE_CLK>, 364 <GCC_QSPI_CORE_CLK_SRC>, 365 <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, 366 <GCC_LPASS_Q6_AXI_CLK>, 367 <GCC_LPASS_SWAY_CLK>; 368}; 369 370&gmu { 371 status = "okay"; 372}; 373 374&gpu { 375 status = "okay"; 376 377 zap-shader { 378 memory-region = <&gpu_mem>; 379 firmware-name = "qcom/sdm845/oneplus6/a630_zap.mbn"; 380 }; 381}; 382 383&i2c10 { 384 status = "okay"; 385 clock-frequency = <100000>; 386 387 bq27441_fg: bq27441-battery@55 { 388 compatible = "ti,bq27411"; 389 status = "okay"; 390 reg = <0x55>; 391 }; 392}; 393 394&i2c12 { 395 status = "okay"; 396 clock-frequency = <400000>; 397 398 synaptics-rmi4-i2c@20 { 399 compatible = "syna,rmi4-i2c"; 400 reg = <0x20>; 401 #address-cells = <1>; 402 #size-cells = <0>; 403 interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>; 404 405 pinctrl-names = "default"; 406 pinctrl-0 = <&ts_default_pins>; 407 408 vdd-supply = <&vreg_l28a_3p0>; 409 vio-supply = <&ts_1p8_supply>; 410 411 syna,reset-delay-ms = <200>; 412 syna,startup-delay-ms = <200>; 413 414 rmi4-f01@1 { 415 reg = <0x01>; 416 syna,nosleep-mode = <1>; 417 }; 418 419 rmi4_f12: rmi4-f12@12 { 420 reg = <0x12>; 421 touchscreen-x-mm = <68>; 422 touchscreen-y-mm = <144>; 423 syna,sensor-type = <1>; 424 syna,rezero-wait-ms = <200>; 425 }; 426 }; 427}; 428 429&ipa { 430 qcom,gsi-loader = "self"; 431 memory-region = <&ipa_fw_mem>; 432 firmware-name = "qcom/sdm845/oneplus6/ipa_fws.mbn"; 433 status = "okay"; 434}; 435 436&mdss { 437 status = "okay"; 438}; 439 440/* Modem/wifi */ 441&mss_pil { 442 status = "okay"; 443 firmware-name = "qcom/sdm845/oneplus6/mba.mbn", "qcom/sdm845/oneplus6/modem.mbn"; 444}; 445 446&pm8998_gpios { 447 volume_down_gpio: pm8998-gpio5-state { 448 pinconf { 449 pins = "gpio5"; 450 function = "normal"; 451 input-enable; 452 bias-pull-up; 453 qcom,drive-strength = <0>; 454 }; 455 }; 456 457 volume_up_gpio: pm8998-gpio6-state { 458 pinconf { 459 pins = "gpio6"; 460 function = "normal"; 461 input-enable; 462 bias-pull-up; 463 qcom,drive-strength = <0>; 464 }; 465 }; 466}; 467 468&pmi8998_rradc { 469 status = "okay"; 470}; 471 472&q6afedai { 473 qi2s@22 { 474 reg = <22>; 475 qcom,sd-lines = <1>; 476 }; 477 478 qi2s@23 { 479 reg = <23>; 480 qcom,sd-lines = <0>; 481 }; 482}; 483 484&q6asmdai { 485 dai@0 { 486 reg = <0>; 487 }; 488 489 dai@1 { 490 reg = <1>; 491 }; 492 493 dai@2 { 494 reg = <2>; 495 }; 496 497 dai@3 { 498 reg = <3>; 499 }; 500 501 dai@4 { 502 reg = <4>; 503 }; 504 505 dai@5 { 506 reg = <5>; 507 }; 508}; 509 510&qupv3_id_1 { 511 status = "okay"; 512}; 513 514&qupv3_id_0 { 515 status = "okay"; 516}; 517 518&qup_i2c10_default { 519 drive-strength = <2>; 520 bias-disable; 521}; 522 523&qup_i2c12_default { 524 drive-strength = <2>; 525 bias-disable; 526}; 527 528&qup_uart9_rx { 529 drive-strength = <2>; 530 bias-pull-up; 531}; 532 533&qup_uart9_tx { 534 drive-strength = <2>; 535 bias-disable; 536}; 537 538&sound { 539 compatible = "qcom,sdm845-sndcard"; 540 pinctrl-0 = <&quat_mi2s_active &quat_mi2s_sd0_active &quat_mi2s_sd1_active>; 541 pinctrl-names = "default"; 542 status = "okay"; 543 544 mm1-dai-link { 545 link-name = "MultiMedia1"; 546 cpu { 547 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 548 }; 549 }; 550 551 mm2-dai-link { 552 link-name = "MultiMedia2"; 553 cpu { 554 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 555 }; 556 }; 557 558 mm3-dai-link { 559 link-name = "MultiMedia3"; 560 cpu { 561 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 562 }; 563 }; 564 565 mm4-dai-link { 566 link-name = "MultiMedia4"; 567 cpu { 568 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>; 569 }; 570 }; 571 572 mm5-dai-link { 573 link-name = "MultiMedia5"; 574 cpu { 575 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA5>; 576 }; 577 }; 578 579 mm6-dai-link { 580 link-name = "MultiMedia6"; 581 cpu { 582 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA6>; 583 }; 584 }; 585 586 speaker_playback_dai: speaker-dai-link { 587 link-name = "Speaker Playback"; 588 cpu { 589 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>; 590 }; 591 592 platform { 593 sound-dai = <&q6routing>; 594 }; 595 }; 596 597 slim-dai-link { 598 link-name = "SLIM Playback 1"; 599 cpu { 600 sound-dai = <&q6afedai SLIMBUS_0_RX>; 601 }; 602 603 platform { 604 sound-dai = <&q6routing>; 605 }; 606 607 codec { 608 sound-dai = <&wcd9340 0>; 609 }; 610 }; 611 612 slimcap-dai-link { 613 link-name = "SLIM Capture 1"; 614 cpu { 615 sound-dai = <&q6afedai SLIMBUS_0_TX>; 616 }; 617 618 platform { 619 sound-dai = <&q6routing>; 620 }; 621 622 codec { 623 sound-dai = <&wcd9340 1>; 624 }; 625 }; 626 627 slim2-dai-link { 628 link-name = "SLIM Playback 2"; 629 cpu { 630 sound-dai = <&q6afedai SLIMBUS_1_RX>; 631 }; 632 633 platform { 634 sound-dai = <&q6routing>; 635 }; 636 637 codec { 638 sound-dai = <&wcd9340 2>; /* AIF2_PB */ 639 }; 640 }; 641 642 slimcap2-dai-link { 643 link-name = "SLIM Capture 2"; 644 cpu { 645 sound-dai = <&q6afedai SLIMBUS_1_TX>; 646 }; 647 648 platform { 649 sound-dai = <&q6routing>; 650 }; 651 652 codec { 653 sound-dai = <&wcd9340 3>; /* AIF2_CAP */ 654 }; 655 }; 656 657 slimcap3-dai-link { 658 link-name = "SLIM Capture 3"; 659 cpu { 660 sound-dai = <&q6afedai SLIMBUS_2_TX>; 661 }; 662 663 platform { 664 sound-dai = <&q6routing>; 665 }; 666 667 codec { 668 sound-dai = <&wcd9340 5>; /* AIF3_CAP */ 669 }; 670 }; 671}; 672 673&uart6 { 674 status = "okay"; 675 676 pinctrl-0 = <&qup_uart6_4pin>; 677 678 bluetooth { 679 compatible = "qcom,wcn3990-bt"; 680 681 /* 682 * This path is relative to the qca/ 683 * subdir under lib/firmware. 684 */ 685 firmware-name = "oneplus6/crnv21.bin"; 686 687 vddio-supply = <&vreg_s4a_1p8>; 688 vddxo-supply = <&vreg_l7a_1p8>; 689 vddrf-supply = <&vreg_l17a_1p3>; 690 vddch0-supply = <&vreg_l25a_3p3>; 691 max-speed = <3200000>; 692 }; 693}; 694 695&uart9 { 696 label = "LS-UART1"; 697 status = "okay"; 698}; 699 700&ufs_mem_hc { 701 status = "okay"; 702 703 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>; 704 705 vcc-supply = <&vreg_l20a_2p95>; 706 vcc-max-microamp = <600000>; 707}; 708 709&ufs_mem_phy { 710 status = "okay"; 711 712 vdda-phy-supply = <&vdda_ufs1_core>; 713 vdda-pll-supply = <&vdda_ufs1_1p2>; 714}; 715 716&usb_1 { 717 status = "okay"; 718 719 /* 720 * disable USB3 clock requirement as the device only supports 721 * USB2. 722 */ 723 qcom,select-utmi-as-pipe-clk; 724}; 725 726&usb_1_dwc3 { 727 /* 728 * We don't have the capability to switch modes yet. 729 */ 730 dr_mode = "peripheral"; 731 732 /* fastest mode for USB 2 */ 733 maximum-speed = "high-speed"; 734 735 /* Remove USB3 phy as it's unused on this device. */ 736 phys = <&usb_1_hsphy>; 737 phy-names = "usb2-phy"; 738}; 739 740&usb_1_hsphy { 741 status = "okay"; 742 743 vdd-supply = <&vdda_usb1_ss_core>; 744 vdda-pll-supply = <&vdda_qusb_hs0_1p8>; 745 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>; 746 747 qcom,imp-res-offset-value = <8>; 748 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>; 749 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>; 750 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>; 751}; 752 753&tlmm { 754 gpio-reserved-ranges = <0 4>, <81 4>; 755 756 tri_state_key_default: tri-state-key-default-state { 757 pins = "gpio40", "gpio42", "gpio26"; 758 function = "gpio"; 759 drive-strength = <2>; 760 bias-disable; 761 }; 762 763 ts_default_pins: ts-int-state { 764 pins = "gpio99", "gpio125"; 765 function = "gpio"; 766 drive-strength = <16>; 767 bias-pull-up; 768 }; 769 770 panel_reset_pins: panel-reset-state { 771 pins = "gpio6", "gpio25", "gpio26"; 772 function = "gpio"; 773 drive-strength = <8>; 774 bias-disable; 775 }; 776 777 panel_te_pin: panel-te-state { 778 pins = "gpio10"; 779 function = "mdp_vsync"; 780 drive-strength = <2>; 781 bias-disable; 782 input-enable; 783 }; 784 785 panel_esd_pin: panel-esd-state { 786 pins = "gpio30"; 787 function = "gpio"; 788 drive-strength = <2>; 789 bias-pull-down; 790 input-enable; 791 }; 792 793 speaker_default: speaker-default-state { 794 mux { 795 pins = "gpio69"; 796 function = "gpio"; 797 drive-strength = <16>; 798 bias-pull-up; 799 output-high; 800 }; 801 }; 802}; 803 804&venus { 805 status = "okay"; 806 firmware-name = "qcom/sdm845/oneplus6/venus.mbn"; 807}; 808 809&wcd9340 { 810 pinctrl-0 = <&wcd_intr_default>; 811 pinctrl-names = "default"; 812 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>; 813 vdd-buck-supply = <&vreg_s4a_1p8>; 814 vdd-buck-sido-supply = <&vreg_s4a_1p8>; 815 vdd-tx-supply = <&vreg_s4a_1p8>; 816 vdd-rx-supply = <&vreg_s4a_1p8>; 817 vdd-io-supply = <&vreg_s4a_1p8>; 818}; 819 820&wifi { 821 status = "okay"; 822 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>; 823 vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 824 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 825 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; 826 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>; 827 828 qcom,snoc-host-cap-8bit-quirk; 829}; 830