1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2020, Yassine Oudjana <y.oudjana@protonmail.com> 4 */ 5 6#include "pm8994.dtsi" 7#include "pmi8994.dtsi" 8#include <dt-bindings/input/input.h> 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/leds/common.h> 11#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 13/ { 14 clocks { 15 divclk1_cdc: divclk1 { 16 compatible = "gpio-gate-clock"; 17 clocks = <&rpmcc RPM_SMD_DIV_CLK1>; 18 #clock-cells = <0>; 19 enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>; 20 21 pinctrl-names = "default"; 22 pinctrl-0 = <&divclk1_default>; 23 }; 24 25 divclk4: divclk4 { 26 compatible = "fixed-clock"; 27 #clock-cells = <0>; 28 clock-frequency = <32768>; 29 clock-output-names = "divclk4"; 30 31 pinctrl-names = "default"; 32 pinctrl-0 = <&divclk4_pin_a>; 33 }; 34 }; 35 36 gpio-keys { 37 compatible = "gpio-keys"; 38 39 key-vol-up { 40 label = "Volume Up"; 41 gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>; 42 linux,code = <KEY_VOLUMEUP>; 43 wakeup-source; 44 debounce-interval = <15>; 45 }; 46 47 key-dome { 48 label = "Home"; 49 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>; 50 linux,code = <KEY_HOME>; 51 wakeup-source; 52 debounce-interval = <15>; 53 }; 54 }; 55 56 irled { 57 compatible = "pwm-ir-tx"; 58 pwms = <&pm8994_lpg 1 1000000>; 59 60 pinctrl-names = "default"; 61 pinctrl-0 = <&irled_default>; 62 }; 63 64 reserved-memory { 65 memory@88800000 { 66 reg = <0x0 0x88800000 0x0 0x1400000>; 67 no-map; 68 }; 69 70 /* This platform has all PIL regions offset by 0x1400000 */ 71 /delete-node/ mpss@88800000; 72 mpss_mem: mpss@89c00000 { 73 reg = <0x0 0x89c00000 0x0 0x6200000>; 74 no-map; 75 }; 76 77 /delete-node/ adsp@8ea00000; 78 adsp_mem: adsp@8fe00000 { 79 reg = <0x0 0x8fe00000 0x0 0x1b00000>; 80 no-map; 81 }; 82 83 /delete-node/ slpi@90500000; 84 slpi_mem: slpi@91900000 { 85 reg = <0x0 0x91900000 0x0 0xa00000>; 86 no-map; 87 }; 88 89 /delete-node/ gpu@90f00000; 90 gpu_mem: gpu@92300000 { 91 compatible = "shared-dma-pool"; 92 reg = <0x0 0x92300000 0x0 0x2000>; 93 no-map; 94 }; 95 96 /delete-node/ venus@91000000; 97 venus_mem: venus@92400000 { 98 reg = <0x0 0x92400000 0x0 0x500000>; 99 no-map; 100 }; 101 102 ramoops@92900000 { 103 compatible = "ramoops"; 104 reg = <0x0 0x92900000 0x0 0x100000>; 105 no-map; 106 107 record-size = <0x8000>; 108 console-size = <0x80000>; 109 ftrace-size = <0x20000>; 110 pmsg-size = <0x40000>; 111 }; 112 113 /delete-node/ rmtfs; 114 rmtfs@f6c00000 { 115 compatible = "qcom,rmtfs-mem"; 116 reg = <0 0xf6c00000 0 0x200000>; 117 no-map; 118 119 qcom,client-id = <1>; 120 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>; 121 }; 122 123 /delete-node/ mba@91500000; 124 mba_mem: mba@f6f00000 { 125 reg = <0x0 0xf6f00000 0x0 0x100000>; 126 no-map; 127 }; 128 }; 129 130 vph_pwr: vph-pwr-regulator { 131 compatible = "regulator-fixed"; 132 regulator-name = "vph_pwr"; 133 regulator-min-microvolt = <3800000>; 134 regulator-max-microvolt = <3800000>; 135 regulator-always-on; 136 regulator-boot-on; 137 }; 138 139 vdd_3v2_tp: vdd-3v2-tp { 140 compatible = "regulator-fixed"; 141 regulator-name = "vdd_3v2_tp"; 142 regulator-min-microvolt = <3200000>; 143 regulator-max-microvolt = <3200000>; 144 startup-delay-us = <4000>; 145 vin-supply = <&vph_pwr>; 146 147 gpio = <&tlmm 73 0>; 148 enable-active-high; 149 }; 150 151 vdd_3v3: rome-vreg { 152 compatible = "regulator-fixed"; 153 regulator-name = "vdd_3v3"; 154 regulator-min-microvolt = <3300000>; 155 regulator-max-microvolt = <3300000>; 156 startup-delay-us = <4000>; 157 vin-supply = <&vph_pwr_bbyp>; 158 159 gpio = <&pm8994_gpios 9 0>; 160 enable-active-high; 161 pinctrl-names = "default"; 162 pinctrl-0 = <&rome_enable_default>; 163 164 /* Required by QCA6174a - vddpe-3v3 */ 165 regulator-always-on; 166 }; 167 168 /* WL_EN pin defined as a fixed regulator */ 169 wlan_en: wlan-en-1-8v { 170 compatible = "regulator-fixed"; 171 regulator-name = "wlan-en-regulator"; 172 regulator-min-microvolt = <1800000>; 173 regulator-max-microvolt = <1800000>; 174 175 gpio = <&pm8994_gpios 8 0>; 176 /* WLAN card specific delay */ 177 startup-delay-us = <70000>; 178 enable-active-high; 179 pinctrl-names = "default"; 180 pinctrl-0 = <&wlan_en_default>; 181 }; 182}; 183 184&adsp_pil { 185 status = "okay"; 186}; 187 188&blsp2_i2c2 { 189 status = "okay"; 190 clock-frequency = <400000>; 191 192 nfc: nfc@28 { 193 compatible = "nxp,nxp-nci-i2c"; 194 195 reg = <0x28>; 196 197 interrupt-parent = <&tlmm>; 198 interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; 199 200 enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>; 201 firmware-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>; 202 203 pinctrl-names = "default"; 204 pinctrl-0 = <&nfc_default>; 205 }; 206}; 207 208&blsp2_i2c3 { 209 status = "okay"; 210 211 typec: typec@47 { 212 compatible = "ti,tusb320l"; 213 reg = <0x47>; 214 interrupt-parent = <&tlmm>; 215 interrupts = <63 IRQ_TYPE_EDGE_RISING>; 216 }; 217}; 218 219&blsp2_i2c6 { 220 status = "okay"; 221 /* MSM_TS */ 222}; 223 224&blsp1_uart2 { 225 status = "okay"; 226 label = "QCA_UART"; 227 228 bluetooth: bluetooth { 229 compatible = "qcom,qca6174-bt"; 230 231 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; 232 clocks = <&divclk4>; 233 }; 234}; 235 236&gpu { 237 status = "okay"; 238}; 239 240&mdss { 241 status = "okay"; 242}; 243 244&mdss_dsi0 { 245 status = "okay"; 246 247 vdd-supply = <&vreg_l2a_1p25>; 248 vddio-supply = <&vreg_l14a_1p8>; 249 250 pinctrl-names = "default", "sleep"; 251 pinctrl-0 = <&mdss_dsi_default &mdss_te_default>; 252 pinctrl-1 = <&mdss_dsi_sleep &mdss_te_sleep>; 253}; 254 255&mdss_dsi0_out { 256 status = "okay"; 257 258 data-lanes = <0 1 2 3>; 259}; 260 261&mdss_dsi0_phy { 262 status = "okay"; 263 264 vcca-supply = <&vreg_l28a_0p925>; 265}; 266 267&mmcc { 268 vdd-gfx-supply = <&vdd_gfx>; 269}; 270 271&mss_pil { 272 status = "okay"; 273 274 pll-supply = <&vreg_l12a_1p8>; 275}; 276 277&pcie0 { 278 status = "okay"; 279 280 /* Supplied by vdd_3v3, but choose wlan_en to drive enable pin high */ 281 vddpe-3v3-supply = <&wlan_en>; 282 vdda-supply = <&vreg_l28a_0p925>; 283 284 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; 285 wake-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; 286}; 287 288&pcie_phy { 289 status = "okay"; 290 291 vdda-phy-supply = <&vreg_l28a_0p925>; 292 vdda-pll-supply = <&vreg_l12a_1p8>; 293}; 294 295&pm8994_resin { 296 status = "okay"; 297 298 linux,code = <KEY_VOLUMEDOWN>; 299}; 300 301&pm8994_lpg { 302 status = "okay"; 303 304 qcom,power-source = <1>; 305}; 306 307&pmi8994_lpg { 308 status = "okay"; 309 310 qcom,power-source = <1>; 311 312 multi-led { 313 color = <LED_COLOR_ID_RGB>; 314 function = LED_FUNCTION_STATUS; 315 316 #address-cells = <1>; 317 #size-cells = <0>; 318 319 led@1 { 320 reg = <1>; 321 color = <LED_COLOR_ID_BLUE>; 322 }; 323 324 led@2 { 325 reg = <2>; 326 color = <LED_COLOR_ID_GREEN>; 327 }; 328 329 led@3 { 330 reg = <3>; 331 color = <LED_COLOR_ID_RED>; 332 }; 333 }; 334}; 335 336&slim_msm { 337 status = "okay"; 338 339 slim@1 { 340 reg = <1>; 341 #address-cells = <2>; 342 #size-cells = <0>; 343 344 tasha_ifd: tas-ifd@0,0 { 345 compatible = "slim217,1a0"; 346 reg = <0 0>; 347 }; 348 349 wcd9335: codec@1,0 { 350 compatible = "slim217,1a0"; 351 reg = <1 0>; 352 353 clock-names = "mclk", "slimbus"; 354 clocks = <&divclk1_cdc>, 355 <&rpmcc RPM_SMD_BB_CLK1>; 356 interrupt-parent = <&tlmm>; 357 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>, 358 <53 IRQ_TYPE_LEVEL_HIGH>; 359 interrupt-names = "intr1", "intr2"; 360 interrupt-controller; 361 #interrupt-cells = <1>; 362 363 pinctrl-0 = <&cdc_reset_active &wcd_intr_default>; 364 pinctrl-names = "default"; 365 366 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; 367 slim-ifc-dev = <&tasha_ifd>; 368 369 #sound-dai-cells = <1>; 370 371 vdd-buck-supply = <&vreg_s4a_1p8>; 372 vdd-buck-sido-supply = <&vreg_s4a_1p8>; 373 vdd-rx-supply = <&vreg_s4a_1p8>; 374 vdd-tx-supply = <&vreg_s4a_1p8>; 375 vdd-vbat-supply = <&vph_pwr>; 376 vdd-micbias-supply = <&vph_pwr_bbyp>; 377 vdd-io-supply = <&vreg_s4a_1p8>; 378 }; 379 }; 380}; 381 382&slpi_pil { 383 status = "okay"; 384 385 px-supply = <&vreg_lvs2a_1p8>; 386}; 387 388&usb3 { 389 status = "okay"; 390 extcon = <&typec>; 391 392 qcom,select-utmi-as-pipe-clk; 393}; 394 395&usb3_dwc3 { 396 extcon = <&typec>; 397 398 /* usb3-phy is not used on this device */ 399 phys = <&hsusb_phy1>; 400 phy-names = "usb2-phy"; 401 402 maximum-speed = "high-speed"; 403 snps,is-utmi-l1-suspend; 404 snps,usb2-gadget-lpm-disable; 405 snps,hird-threshold = /bits/ 8 <0>; 406}; 407 408&hsusb_phy1 { 409 status = "okay"; 410 extcon = <&typec>; 411 412 vdda-pll-supply = <&vreg_l12a_1p8>; 413 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; 414}; 415 416&ufshc { 417 status = "okay"; 418 419 vcc-supply = <&vreg_l20a_2p95>; 420 vccq-supply = <&vreg_l25a_1p2>; 421 vccq2-supply = <&vreg_s4a_1p8>; 422 vdd-hba-supply = <&vreg_l25a_1p2>; 423 424 vcc-max-microamp = <600000>; 425 vccq-max-microamp = <450000>; 426 vccq2-max-microamp = <450000>; 427}; 428 429&ufsphy { 430 status = "okay"; 431 432 vdda-phy-supply = <&vreg_l28a_0p925>; 433 vdda-pll-supply = <&vreg_l12a_1p8>; 434}; 435 436&venus { 437 status = "okay"; 438}; 439 440&rpm_requests { 441 regulators-0 { 442 compatible = "qcom,rpm-pm8994-regulators"; 443 444 vdd_s1-supply = <&vph_pwr>; 445 vdd_s2-supply = <&vph_pwr>; 446 vdd_s3-supply = <&vph_pwr>; 447 vdd_s4-supply = <&vph_pwr>; 448 vdd_s5-supply = <&vph_pwr>; 449 vdd_s6-supply = <&vph_pwr>; 450 vdd_s7-supply = <&vph_pwr>; 451 vdd_s8-supply = <&vph_pwr>; 452 vdd_s9-supply = <&vph_pwr>; 453 vdd_s10-supply = <&vph_pwr>; 454 vdd_s11-supply = <&vph_pwr>; 455 vdd_s12-supply = <&vph_pwr>; 456 vdd_l1-supply = <&vreg_s1b_1p025>; 457 vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>; 458 vdd_l3_l11-supply = <&vreg_s3a_1p3>; 459 vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>; 460 vdd_l5_l7-supply = <&vreg_s5a_2p15>; 461 vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>; 462 vdd_l8_l16_l30-supply = <&vph_pwr>; 463 vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>; 464 vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>; 465 vdd_l14_l15-supply = <&vreg_s5a_2p15>; 466 vdd_l17_l29-supply = <&vph_pwr_bbyp>; 467 vdd_l20_l21-supply = <&vph_pwr_bbyp>; 468 vdd_l25-supply = <&vreg_s3a_1p3>; 469 vdd_lvs1_2-supply = <&vreg_s4a_1p8>; 470 471 vreg_s3a_1p3: s3 { 472 regulator-name = "vreg_s3a_1p3"; 473 regulator-min-microvolt = <1300000>; 474 regulator-max-microvolt = <1300000>; 475 476 /* Required by QCA6174a - vdd-core */ 477 regulator-always-on; 478 }; 479 vreg_s4a_1p8: s4 { 480 regulator-name = "vreg_s4a_1p8"; 481 regulator-min-microvolt = <1800000>; 482 regulator-max-microvolt = <1800000>; 483 regulator-allow-set-load; 484 485 /* Required by QCA6174a - vddio */ 486 regulator-always-on; 487 }; 488 vreg_s5a_2p15: s5 { 489 regulator-name = "vreg_s5a_2p15"; 490 regulator-min-microvolt = <2150000>; 491 regulator-max-microvolt = <2150000>; 492 }; 493 vreg_s7a_0p8: s7 { 494 regulator-name = "vreg_s7a_0p8"; 495 regulator-min-microvolt = <800000>; 496 regulator-max-microvolt = <800000>; 497 }; 498 vreg_l1a_1p0: l1 { 499 regulator-name = "vreg_l1a_1p0"; 500 regulator-min-microvolt = <1000000>; 501 regulator-max-microvolt = <1000000>; 502 }; 503 vreg_l2a_1p25: l2 { 504 regulator-name = "vreg_l2a_1p25"; 505 regulator-min-microvolt = <1250000>; 506 regulator-max-microvolt = <1250000>; 507 }; 508 vreg_l4a_1p225: l4 { 509 regulator-name = "vreg_l4a_1p225"; 510 regulator-min-microvolt = <1225000>; 511 regulator-max-microvolt = <1225000>; 512 }; 513 vreg_l6a_1p8: l6 { 514 regulator-name = "vreg_l6a_1p8"; 515 regulator-min-microvolt = <1800000>; 516 regulator-max-microvolt = <1800000>; 517 }; 518 vreg_l8a_1p8: l8 { 519 regulator-name = "vreg_l8a_1p8"; 520 regulator-min-microvolt = <1800000>; 521 regulator-max-microvolt = <1800000>; 522 }; 523 vreg_l9a_1p8: l9 { 524 regulator-name = "vreg_l9a_1p8"; 525 regulator-min-microvolt = <1800000>; 526 regulator-max-microvolt = <1800000>; 527 }; 528 vreg_l10a_1p8: l10 { 529 regulator-name = "vreg_l10a_1p8"; 530 regulator-min-microvolt = <1800000>; 531 regulator-max-microvolt = <1800000>; 532 }; 533 vreg_l12a_1p8: l12 { 534 regulator-name = "vreg_l12a_1p8"; 535 regulator-min-microvolt = <1800000>; 536 regulator-max-microvolt = <1800000>; 537 regulator-allow-set-load; 538 }; 539 vreg_l13a_2p95: l13 { 540 regulator-name = "vreg_l13a_2p95"; 541 regulator-min-microvolt = <1800000>; 542 regulator-max-microvolt = <2950000>; 543 }; 544 vreg_l14a_1p8: l14 { 545 regulator-name = "vreg_l14a_1p8"; 546 regulator-min-microvolt = <1800000>; 547 regulator-max-microvolt = <1800000>; 548 }; 549 vreg_l15a_1p8: l15 { 550 regulator-name = "vreg_l15a_1p8"; 551 regulator-min-microvolt = <1800000>; 552 regulator-max-microvolt = <1800000>; 553 }; 554 vreg_l16a_2p7: l16 { 555 regulator-name = "vreg_l16a_2p7"; 556 regulator-min-microvolt = <2700000>; 557 regulator-max-microvolt = <2700000>; 558 }; 559 vreg_l19a_3p3: l19 { 560 regulator-name = "vreg_l19a_3p3"; 561 regulator-min-microvolt = <3000000>; 562 regulator-max-microvolt = <3000000>; 563 }; 564 vreg_l20a_2p95: l20 { 565 regulator-name = "vreg_l20a_2p95"; 566 regulator-min-microvolt = <2950000>; 567 regulator-max-microvolt = <2950000>; 568 regulator-allow-set-load; 569 }; 570 vreg_l21a_2p95: l21 { 571 regulator-name = "vreg_l21a_2p95"; 572 regulator-min-microvolt = <3300000>; 573 regulator-max-microvolt = <3300000>; 574 regulator-always-on; 575 }; 576 vreg_l23a_2p8: l23 { 577 regulator-name = "vreg_l23a_2p8"; 578 regulator-min-microvolt = <2800000>; 579 regulator-max-microvolt = <2800000>; 580 }; 581 vreg_l24a_3p075: l24 { 582 regulator-name = "vreg_l24a_3p075"; 583 regulator-min-microvolt = <3075000>; 584 regulator-max-microvolt = <3075000>; 585 }; 586 vreg_l25a_1p2: l25 { 587 regulator-name = "vreg_l25a_1p2"; 588 regulator-min-microvolt = <1200000>; 589 regulator-max-microvolt = <1200000>; 590 regulator-allow-set-load; 591 }; 592 vreg_l27a_1p2: l27 { 593 regulator-name = "vreg_l27a_1p2"; 594 regulator-min-microvolt = <1200000>; 595 regulator-max-microvolt = <1200000>; 596 }; 597 vreg_l28a_0p925: l28 { 598 regulator-name = "vreg_l28a_0p925"; 599 regulator-min-microvolt = <925000>; 600 regulator-max-microvolt = <925000>; 601 regulator-allow-set-load; 602 }; 603 vreg_l30a_1p8: l30 { 604 regulator-name = "vreg_l30a_1p8"; 605 regulator-min-microvolt = <1800000>; 606 regulator-max-microvolt = <1800000>; 607 608 /* Required by QCA6174a - vddio-xtal */ 609 regulator-always-on; 610 }; 611 vreg_l32a_1p8: l32 { 612 regulator-name = "vreg_l32a_1p8"; 613 regulator-min-microvolt = <1800000>; 614 regulator-max-microvolt = <1800000>; 615 }; 616 vreg_lvs1a_1p8: lvs1 { 617 regulator-min-microvolt = <1800000>; 618 regulator-max-microvolt = <1800000>; 619 }; 620 vreg_lvs2a_1p8: lvs2 { 621 regulator-min-microvolt = <1800000>; 622 regulator-max-microvolt = <1800000>; 623 }; 624 }; 625 626 regulators-1 { 627 compatible = "qcom,rpm-pmi8994-regulators"; 628 629 vdd_s1-supply = <&vph_pwr>; 630 vdd_s2-supply = <&vph_pwr>; 631 vdd_s3-supply = <&vph_pwr>; 632 vdd_bst_byp-supply = <&vph_pwr>; 633 634 vreg_s1b_1p025: s1 { 635 regulator-name = "vreg_s1b_1p025"; 636 regulator-min-microvolt = <1025000>; 637 regulator-max-microvolt = <1025000>; 638 }; 639 640 vph_pwr_bbyp: boost-bypass { 641 regulator-name = "vph_pwr_bbyp"; 642 regulator-min-microvolt = <3150000>; 643 regulator-max-microvolt = <3600000>; 644 }; 645 }; 646}; 647 648&pm8994_spmi_regulators { 649 qcom,saw-reg = <&saw3>; 650 s8 { 651 qcom,saw-slave; 652 }; 653 s9 { 654 qcom,saw-slave; 655 }; 656 s10 { 657 qcom,saw-slave; 658 }; 659 vreg_apc_0p8: s11 { 660 qcom,saw-leader; 661 regulator-name = "vreg_apc_0p8"; 662 regulator-min-microvolt = <470000>; 663 regulator-max-microvolt = <1140000>; 664 regulator-max-step-microvolt = <150000>; 665 regulator-always-on; 666 }; 667}; 668 669&pmi8994_spmi_regulators { 670 vdd_gfx: s2 { 671 regulator-name = "vdd_gfx"; 672 regulator-min-microvolt = <400000>; 673 regulator-max-microvolt = <1015000>; 674 regulator-enable-ramp-delay = <500>; 675 }; 676}; 677 678&pm8994_gpios { 679 irled_default: irled-default-state { 680 pins = "gpio5"; 681 function = PMIC_GPIO_FUNC_FUNC1; 682 output-low; 683 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>; 684 power-source = <PM8994_GPIO_S4>; 685 bias-disable; 686 }; 687 688 wlan_en_default: wlan-en-state { 689 pins = "gpio8"; 690 function = PMIC_GPIO_FUNC_NORMAL; 691 output-low; 692 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 693 power-source = <PM8994_GPIO_S4>; 694 bias-disable; 695 }; 696 697 rome_enable_default: rome-enable-state { 698 pins = "gpio9"; 699 function = PMIC_GPIO_FUNC_NORMAL; 700 output-high; 701 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 702 power-source = <PM8994_GPIO_VPH>; 703 }; 704 705 divclk1_default: divclk1-state { 706 pins = "gpio15"; 707 function = PMIC_GPIO_FUNC_FUNC1; 708 bias-disable; 709 power-source = <PM8994_GPIO_S4>; 710 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 711 }; 712 713 divclk4_pin_a: divclk4-state { 714 pins = "gpio18"; 715 function = PMIC_GPIO_FUNC_FUNC2; 716 bias-disable; 717 power-source = <PM8994_GPIO_S4>; 718 }; 719}; 720 721&tlmm { 722 mdss_dsi_default: mdss-dsi-default-state { 723 pins = "gpio8"; 724 function = "gpio"; 725 drive-strength = <8>; 726 bias-disable; 727 }; 728 729 mdss_dsi_sleep: mdss-dsi-sleep-state { 730 pins = "gpio8"; 731 function = "gpio"; 732 drive-strength = <2>; 733 bias-pull-down; 734 }; 735 736 mdss_te_default: mdss-te-default-state { 737 pins = "gpio10"; 738 function = "mdp_vsync"; 739 drive-strength = <2>; 740 bias-pull-down; 741 }; 742 743 mdss_te_sleep: mdss-te-sleep-state { 744 pins = "gpio10"; 745 function = "mdp_vsync"; 746 drive-strength = <2>; 747 bias-pull-down; 748 }; 749 750 nfc_default: nfc-default-state { 751 pins = "gpio12", "gpio21"; 752 function = "gpio"; 753 drive-strength = <16>; 754 bias-pull-up; 755 }; 756}; 757