1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 5 */ 6 7/dts-v1/; 8 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/input/gpio-keys.h> 11#include <dt-bindings/input/input.h> 12#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13#include "sc8180x.dtsi" 14#include "sc8180x-pmics.dtsi" 15 16/ { 17 model = "Qualcomm SC8180x Primus"; 18 compatible = "qcom,sc8180x-primus", "qcom,sc8180x"; 19 20 aliases { 21 serial0 = &uart12; 22 serial1 = &uart13; 23 }; 24 25 backlight: backlight { 26 compatible = "pwm-backlight"; 27 pwms = <&pmc8180c_lpg 4 1000000>; 28 enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>; 29 30 pinctrl-names = "default"; 31 pinctrl-0 = <&bl_pwm_default>; 32 }; 33 34 chosen { 35 stdout-path = "serial0:115200n8"; 36 }; 37 38 gpio-keys { 39 compatible = "gpio-keys"; 40 41 pinctrl-names = "default"; 42 pinctrl-0 = <&hall_int_active_state>; 43 44 lid-switch { 45 gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>; 46 linux,input-type = <EV_SW>; 47 linux,code = <SW_LID>; 48 wakeup-source; 49 wakeup-event-action = <EV_ACT_DEASSERTED>; 50 }; 51 }; 52 53 pmic-glink { 54 compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink"; 55 56 #address-cells = <1>; 57 #size-cells = <0>; 58 59 connector@0 { 60 compatible = "usb-c-connector"; 61 reg = <0>; 62 power-role = "dual"; 63 data-role = "dual"; 64 65 ports { 66 #address-cells = <1>; 67 #size-cells = <0>; 68 69 port@0 { 70 reg = <0>; 71 72 pmic_glink_con0_hs: endpoint { 73 remote-endpoint = <&usb_prim_role_switch>; 74 }; 75 }; 76 77 port@1 { 78 reg = <1>; 79 80 pmic_glink_con0_ss: endpoint { 81 remote-endpoint = <&usb_prim_qmpphy_out>; 82 }; 83 }; 84 85 port@2 { 86 reg = <2>; 87 88 pmic_glink_con0_sbu: endpoint { 89 remote-endpoint = <&usbprim_sbu_mux>; 90 }; 91 }; 92 }; 93 }; 94 95 connector@1 { 96 compatible = "usb-c-connector"; 97 reg = <1>; 98 power-role = "dual"; 99 data-role = "dual"; 100 101 ports { 102 #address-cells = <1>; 103 #size-cells = <0>; 104 port@0 { 105 reg = <0>; 106 107 pmic_glink_con1_hs: endpoint { 108 remote-endpoint = <&usb_sec_role_switch>; 109 }; 110 }; 111 112 port@1 { 113 reg = <1>; 114 115 pmic_glink_con1_ss: endpoint { 116 remote-endpoint = <&usb_sec_qmpphy_out>; 117 }; 118 }; 119 120 port@2 { 121 reg = <2>; 122 123 pmic_glink_con1_sbu: endpoint { 124 remote-endpoint = <&usbsec_sbu_mux>; 125 }; 126 }; 127 }; 128 }; 129 }; 130 131 reserved-memory { 132 rmtfs_mem: rmtfs-region@85500000 { 133 compatible = "qcom,rmtfs-mem"; 134 reg = <0x0 0x85500000 0x0 0x200000>; 135 no-map; 136 137 qcom,client-id = <1>; 138 qcom,vmid = <15>; 139 }; 140 141 wlan_mem: wlan-region@8bc00000 { 142 reg = <0x0 0x8bc00000 0x0 0x180000>; 143 no-map; 144 }; 145 146 adsp_mem: adsp-region@96e00000 { 147 reg = <0x0 0x96e00000 0x0 0x1c00000>; 148 no-map; 149 }; 150 151 mpss_mem: mpss-region@8d800000 { 152 reg = <0x0 0x8d800000 0x0 0x9600000>; 153 no-map; 154 }; 155 156 gpu_mem: gpu-region@98a00000 { 157 reg = <0x0 0x98a00000 0x0 0x2000>; 158 no-map; 159 }; 160 161 reserved-region@9a500000 { 162 reg = <0x0 0x9a500000 0x0 0x600000>; 163 no-map; 164 }; 165 }; 166 167 vreg_nvme_0p9: nvme-0p9-regulator { 168 compatible = "regulator-fixed"; 169 regulator-name = "vreg_nvme_0p9"; 170 171 regulator-min-microvolt = <900000>; 172 regulator-max-microvolt = <900000>; 173 174 regulator-always-on; 175 }; 176 177 vreg_nvme_3p3: nvme-3p3-regulator { 178 compatible = "regulator-fixed"; 179 regulator-name = "vreg_nvme_3p3"; 180 181 regulator-min-microvolt = <3300000>; 182 regulator-max-microvolt = <3300000>; 183 184 gpio = <&pmc8180c_gpios 11 0>; 185 enable-active-high; 186 187 regulator-always-on; 188 }; 189 190 vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator { 191 compatible = "regulator-fixed"; 192 regulator-name = "vdd_kb_tp_3v3"; 193 regulator-min-microvolt = <3300000>; 194 regulator-max-microvolt = <3300000>; 195 196 gpio = <&tlmm 4 GPIO_ACTIVE_HIGH>; 197 enable-active-high; 198 199 regulator-always-on; 200 201 pinctrl-names = "default"; 202 pinctrl-0 = <&kb_tp_3v3_en_active_state>; 203 }; 204 205 vph_pwr: vph-pwr-regulator { 206 compatible = "regulator-fixed"; 207 regulator-name = "vph_pwr"; 208 regulator-min-microvolt = <3700000>; 209 regulator-max-microvolt = <3700000>; 210 }; 211 212 vreg_s4a_1p8: pm8150-s4 { 213 compatible = "regulator-fixed"; 214 regulator-name = "vreg_s4a_1p8"; 215 216 regulator-min-microvolt = <1800000>; 217 regulator-max-microvolt = <1800000>; 218 219 regulator-always-on; 220 regulator-boot-on; 221 222 vin-supply = <&vph_pwr>; 223 }; 224 225 usbprim-sbu-mux { 226 compatible = "pericom,pi3usb102", "gpio-sbu-mux"; 227 228 enable-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 229 select-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; 230 231 pinctrl-names = "default"; 232 pinctrl-0 = <&usbprim_sbu_default>; 233 234 mode-switch; 235 orientation-switch; 236 237 port { 238 usbprim_sbu_mux: endpoint { 239 remote-endpoint = <&pmic_glink_con0_sbu>; 240 }; 241 }; 242 }; 243 244 usbsec-sbu-mux { 245 compatible = "pericom,pi3usb102", "gpio-sbu-mux"; 246 247 enable-gpios = <&tlmm 188 GPIO_ACTIVE_LOW>; 248 select-gpios = <&tlmm 187 GPIO_ACTIVE_HIGH>; 249 250 pinctrl-names = "default"; 251 pinctrl-0 = <&usbsec_sbu_default>; 252 253 mode-switch; 254 orientation-switch; 255 256 port { 257 usbsec_sbu_mux: endpoint { 258 remote-endpoint = <&pmic_glink_con1_sbu>; 259 }; 260 }; 261 }; 262}; 263 264&apps_rsc { 265 regulators-0 { 266 compatible = "qcom,pmc8180-rpmh-regulators"; 267 qcom,pmic-id = "a"; 268 269 vdd-s5-supply = <&vph_pwr>; 270 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>; 271 272 vreg_s5a_2p0: smps5 { 273 regulator-min-microvolt = <2040000>; 274 regulator-max-microvolt = <2100000>; 275 }; 276 277 vreg_l7a_1p8: ldo7 { 278 regulator-min-microvolt = <1800000>; 279 regulator-max-microvolt = <1800000>; 280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 281 }; 282 283 vreg_l9a_1p3: ldo9 { 284 regulator-min-microvolt = <1296000>; 285 regulator-max-microvolt = <1304000>; 286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 287 }; 288 289 vreg_l12a_1p8: ldo12 { 290 regulator-min-microvolt = <1800000>; 291 regulator-max-microvolt = <1800000>; 292 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 293 }; 294 }; 295 296 regulators-1 { 297 compatible = "qcom,pmc8180c-rpmh-regulators"; 298 qcom,pmic-id = "c"; 299 300 vdd-s6-supply = <&vph_pwr>; 301 vdd-s8-supply = <&vph_pwr>; 302 vdd-l2-l3-supply = <&vreg_s6c_1p35>; 303 vdd-bob-supply = <&vph_pwr>; 304 305 vreg_s6c_1p35: smps6 { 306 regulator-min-microvolt = <1350000>; 307 regulator-max-microvolt = <1372000>; 308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 309 }; 310 311 vreg_s8c_1p8: smps8 { 312 regulator-min-microvolt = <1800000>; 313 regulator-max-microvolt = <1800000>; 314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 315 regulator-always-on; 316 }; 317 318 vreg_l3c_1p2: ldo3 { 319 regulator-min-microvolt = <1200000>; 320 regulator-max-microvolt = <1200000>; 321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 322 }; 323 324 vreg_l4c_3p3: ldo4 { 325 regulator-min-microvolt = <3008000>; 326 regulator-max-microvolt = <3008000>; 327 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 328 }; 329 330 vreg_l10c_3p3: ldo10 { 331 regulator-min-microvolt = <3000000>; 332 regulator-max-microvolt = <3312000>; 333 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 334 }; 335 336 vreg_l11c_3p3: ldo11 { 337 regulator-min-microvolt = <3296000>; 338 regulator-max-microvolt = <3304000>; 339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 340 }; 341 342 vreg_bob: bob { 343 regulator-min-microvolt = <3296000>; 344 regulator-max-microvolt = <3350000>; 345 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 346 }; 347 }; 348 349 regulators-2 { 350 compatible = "qcom,pmc8180-rpmh-regulators"; 351 qcom,pmic-id = "e"; 352 353 vdd-s4-supply = <&vph_pwr>; 354 vdd-s5-supply = <&vph_pwr>; 355 vdd-l2-l10-supply = <&vreg_bob>; 356 vdd-l3-l4-l5-l18-supply = <&vreg_s4e_0p98>; 357 vdd-l7-l12-l14-l15-supply = <&vreg_s5e_2p05>; 358 vdd-l13-l16-l17-supply = <&vreg_bob>; 359 360 vreg_s4e_0p98: smps4 { 361 regulator-min-microvolt = <992000>; 362 regulator-max-microvolt = <992000>; 363 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 364 }; 365 366 vreg_s5e_2p05: smps5 { 367 regulator-min-microvolt = <2040000>; 368 regulator-max-microvolt = <2040000>; 369 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 370 }; 371 372 vreg_l1e_0p75: ldo1 { 373 regulator-min-microvolt = <752000>; 374 regulator-max-microvolt = <752000>; 375 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 376 }; 377 378 vreg_l5e_0p88: ldo5 { 379 regulator-min-microvolt = <880000>; 380 regulator-max-microvolt = <880000>; 381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 382 }; 383 384 vreg_l7e_1p8: ldo7 { 385 regulator-min-microvolt = <1800000>; 386 regulator-max-microvolt = <1800000>; 387 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 388 }; 389 390 vreg_l10e_2p9: ldo10 { 391 regulator-min-microvolt = <2904000>; 392 regulator-max-microvolt = <2904000>; 393 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 394 }; 395 396 vreg_l12e: ldo12 { 397 regulator-min-microvolt = <1800000>; 398 regulator-max-microvolt = <1800000>; 399 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 400 }; 401 402 vreg_l16e_3p0: ldo16 { 403 regulator-min-microvolt = <3072000>; 404 regulator-max-microvolt = <3072000>; 405 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 406 }; 407 }; 408}; 409 410&gpu { 411 status = "okay"; 412 413 zap-shader { 414 memory-region = <&gpu_mem>; 415 firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; 416 }; 417}; 418 419&i2c1 { 420 clock-frequency = <100000>; 421 422 pinctrl-names = "default"; 423 pinctrl-0 = <&ts_i2c_active_state>; 424 425 status = "okay"; 426 427 touchscreen@10 { 428 compatible = "hid-over-i2c"; 429 reg = <0x10>; 430 hid-descr-addr = <0x1>; 431 432 vdd-supply = <&vreg_l4c_3p3>; 433 vddl-supply = <&vreg_l12e>; 434 435 post-power-on-delay-ms = <20>; 436 437 interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>; 438 439 pinctrl-names = "default"; 440 pinctrl-0 = <&ts_active_state>; 441 }; 442}; 443 444&i2c7 { 445 clock-frequency = <100000>; 446 447 pinctrl-names = "default"; 448 pinctrl-0 = <&aux_i2c_active_state>; 449 450 status = "okay"; 451 452 touchpad@15 { 453 compatible = "hid-over-i2c"; 454 reg = <0x15>; 455 hid-descr-addr = <0x1>; 456 457 interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>; 458 459 pinctrl-names = "default"; 460 pinctrl-0 = <&tp_int_active_state>; 461 462 vdd-supply = <&vdd_kb_tp_3v3>; 463 }; 464 465 keyboard@3a { 466 compatible = "hid-over-i2c"; 467 reg = <0x3a>; 468 hid-descr-addr = <0x1>; 469 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>; 470 471 pinctrl-names = "default"; 472 pinctrl-0 = <&kb_int_active_state>; 473 474 vdd-supply = <&vdd_kb_tp_3v3>; 475 }; 476}; 477 478&mdss { 479 status = "okay"; 480}; 481 482&mdss_dp0 { 483 status = "okay"; 484}; 485 486&mdss_dp0_out { 487 data-lanes = <0 1>; 488 remote-endpoint = <&usb_prim_qmpphy_dp_in>; 489}; 490 491&mdss_dp1 { 492 status = "okay"; 493}; 494 495&mdss_dp1_out { 496 data-lanes = <0 1>; 497 remote-endpoint = <&usb_sec_qmpphy_dp_in>; 498}; 499 500&mdss_edp { 501 data-lanes = <0 1 2 3>; 502 503 pinctrl-names = "default"; 504 pinctrl-0 = <&edp_hpd_active>; 505 506 status = "okay"; 507 508 aux-bus { 509 panel { 510 compatible = "edp-panel"; 511 512 backlight = <&backlight>; 513 514 port { 515 auo_b133han05_in: endpoint { 516 remote-endpoint = <&mdss_edp_out>; 517 }; 518 }; 519 }; 520 }; 521 522 ports { 523 port@1 { 524 reg = <1>; 525 mdss_edp_out: endpoint { 526 remote-endpoint = <&auo_b133han05_in>; 527 }; 528 }; 529 }; 530}; 531 532&pcie1 { 533 perst-gpio = <&tlmm 175 GPIO_ACTIVE_LOW>; 534 wake-gpio = <&tlmm 177 GPIO_ACTIVE_HIGH>; 535 pinctrl-names = "default"; 536 pinctrl-0 = <&pcie2_default_state>; 537 538 status = "okay"; 539}; 540 541&pcie1_phy { 542 vdda-phy-supply = <&vreg_l5e_0p88>; 543 vdda-pll-supply = <&vreg_l3c_1p2>; 544 545 status = "okay"; 546}; 547 548&pmc8180c_lpg { 549 status = "okay"; 550}; 551 552&qupv3_id_0 { 553 status = "okay"; 554}; 555 556&qupv3_id_1 { 557 status = "okay"; 558}; 559 560&qupv3_id_2 { 561 status = "okay"; 562}; 563 564&remoteproc_adsp { 565 memory-region = <&adsp_mem>; 566 firmware-name = "qcom/sc8180x/qcadsp8180.mbn"; 567 568 status = "okay"; 569}; 570 571&remoteproc_mpss { 572 memory-region = <&mpss_mem>; 573 firmware-name = "qcom/sc8180x/qcmpss8180.mbn"; 574 575 status = "okay"; 576}; 577 578&uart12 { 579 compatible = "qcom,geni-debug-uart"; 580 status = "okay"; 581}; 582 583&uart13 { 584 pinctrl-names = "default"; 585 pinctrl-0 = <&uart13_state>; 586 587 status = "okay"; 588 589 bluetooth { 590 compatible = "qcom,wcn3998-bt"; 591 592 vddio-supply = <&vreg_s4a_1p8>; 593 vddxo-supply = <&vreg_l7a_1p8>; 594 vddrf-supply = <&vreg_l9a_1p3>; 595 vddch0-supply = <&vreg_l11c_3p3>; 596 max-speed = <3200000>; 597 }; 598}; 599 600&ufs_mem_hc { 601 reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>; 602 603 vcc-supply = <&vreg_l10e_2p9>; 604 vcc-max-microamp = <155000>; 605 606 vccq2-supply = <&vreg_l7e_1p8>; 607 vccq2-max-microamp = <425000>; 608 609 status = "okay"; 610}; 611 612&ufs_mem_phy { 613 vdda-phy-supply = <&vreg_l5e_0p88>; 614 vdda-pll-supply = <&vreg_l3c_1p2>; 615 616 status = "okay"; 617}; 618 619&usb_prim_hsphy { 620 vdda-pll-supply = <&vreg_l5e_0p88>; 621 vdda18-supply = <&vreg_l12a_1p8>; 622 vdda33-supply = <&vreg_l16e_3p0>; 623 624 status = "okay"; 625}; 626 627&usb_prim_qmpphy { 628 vdda-phy-supply = <&vreg_l3c_1p2>; 629 vdda-pll-supply = <&vreg_l5e_0p88>; 630 631 orientation-switch; 632 633 status = "okay"; 634}; 635 636&usb_prim { 637 status = "okay"; 638}; 639 640&usb_prim_dwc3 { 641 dr_mode = "host"; 642}; 643 644&usb_prim_qmpphy_dp_in { 645 remote-endpoint = <&mdss_dp0_out>; 646}; 647 648&usb_prim_qmpphy_out { 649 remote-endpoint = <&pmic_glink_con0_ss>; 650}; 651 652&usb_prim_role_switch { 653 remote-endpoint = <&pmic_glink_con0_hs>; 654}; 655 656&usb_sec_hsphy { 657 vdda-pll-supply = <&vreg_l5e_0p88>; 658 vdda18-supply = <&vreg_l12a_1p8>; 659 vdda33-supply = <&vreg_l16e_3p0>; 660 661 status = "okay"; 662}; 663 664&usb_sec_qmpphy { 665 vdda-phy-supply = <&vreg_l3c_1p2>; 666 vdda-pll-supply = <&vreg_l5e_0p88>; 667 668 orientation-switch; 669 670 status = "okay"; 671}; 672 673&usb_sec_qmpphy_dp_in { 674 remote-endpoint = <&mdss_dp1_out>; 675}; 676 677&usb_sec_qmpphy_out { 678 remote-endpoint = <&pmic_glink_con1_ss>; 679}; 680 681&usb_sec_role_switch { 682 remote-endpoint = <&pmic_glink_con1_hs>; 683}; 684 685&usb_sec { 686 status = "okay"; 687}; 688 689&usb_sec_dwc3 { 690 dr_mode = "host"; 691}; 692 693&wifi { 694 memory-region = <&wlan_mem>; 695 696 vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>; 697 vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 698 vdd-1.3-rfa-supply = <&vreg_l9a_1p3>; 699 vdd-3.3-ch0-supply = <&vreg_l11c_3p3>; 700 vdd-3.3-ch1-supply = <&vreg_l10c_3p3>; 701 702 status = "okay"; 703}; 704 705&xo_board_clk { 706 clock-frequency = <38400000>; 707}; 708 709/* PINCTRL */ 710 711&pmc8180c_gpios { 712 bl_pwm_default: bl-pwm-default-state { 713 en-pins { 714 pins = "gpio8"; 715 function = "normal"; 716 }; 717 718 pwm-pins { 719 pins = "gpio10"; 720 function = "func1"; 721 }; 722 }; 723}; 724 725&tlmm { 726 gpio-reserved-ranges = <0 4>, <47 4>, <126 4>; 727 728 aux_i2c_active_state: aux-i2c-active-state { 729 pins = "gpio98", "gpio99"; 730 function = "qup7"; 731 732 bias-disable; 733 drive-strength = <16>; 734 }; 735 736 edp_hpd_active: epd-hpd-active-state { 737 pins = "gpio10"; 738 function = "edp_hot"; 739 }; 740 741 hall_int_active_state: hall-int-active-state { 742 pins = "gpio121"; 743 function = "gpio"; 744 745 bias-disable; 746 }; 747 748 kb_int_active_state: kb-int-active-state { 749 int-n-pins { 750 pins = "gpio37"; 751 function = "gpio"; 752 753 bias-pull-up; 754 }; 755 756 kp-disable-pins { 757 pins = "gpio135"; 758 function = "gpio"; 759 760 output-high; 761 }; 762 }; 763 764 kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state { 765 pins = "gpio4"; 766 function = "gpio"; 767 768 bias-disable; 769 }; 770 771 pcie2_default_state: pcie2-default-state { 772 clkreq-pins { 773 pins = "gpio176"; 774 function = "pci_e2"; 775 bias-pull-up; 776 }; 777 778 reset-n-pins { 779 pins = "gpio175"; 780 function = "gpio"; 781 782 drive-strength = <2>; 783 output-low; 784 bias-pull-down; 785 }; 786 787 wake-n-pins { 788 pins = "gpio177"; 789 function = "gpio"; 790 791 drive-strength = <2>; 792 bias-pull-up; 793 }; 794 }; 795 796 usbprim_sbu_default: usbprim-sbu-state { 797 oe-n-pins { 798 pins = "gpio152"; 799 function = "gpio"; 800 bias-disable; 801 drive-strength = <16>; 802 output-high; 803 }; 804 805 sel-pins { 806 pins = "gpio100"; 807 function = "gpio"; 808 bias-disable; 809 drive-strength = <16>; 810 }; 811 }; 812 813 usbsec_sbu_default: usbsec-sbu-state { 814 oe-n-pins { 815 pins = "gpio188"; 816 function = "gpio"; 817 bias-disable; 818 drive-strength = <16>; 819 output-high; 820 }; 821 822 sel-pins { 823 pins = "gpio187"; 824 function = "gpio"; 825 bias-disable; 826 drive-strength = <16>; 827 }; 828 }; 829 830 tp_int_active_state: tp-int-active-state { 831 tp-int-pins { 832 pins = "gpio24"; 833 function = "gpio"; 834 835 bias-disable; 836 }; 837 838 tp-close-n-pins { 839 pins = "gpio116"; 840 function = "gpio"; 841 842 bias-disable; 843 }; 844 }; 845 846 ts_active_state: ts-active-state { 847 int-n-pins { 848 pins = "gpio122"; 849 function = "gpio"; 850 851 bias-disable; 852 }; 853 854 reset-n-pins { 855 pins = "gpio54"; 856 function = "gpio"; 857 858 output-high; 859 }; 860 }; 861 862 ts_i2c_active_state: ts-i2c-active-state { 863 pins = "gpio114", "gpio115"; 864 function = "qup1"; 865 866 /* External pull up */ 867 bias-disable; 868 drive-strength = <2>; 869 }; 870 871 uart13_state: uart13-state { 872 cts-pins { 873 pins = "gpio43"; 874 function = "qup13"; 875 bias-pull-down; 876 }; 877 878 rts-tx-pins { 879 pins = "gpio44", "gpio45"; 880 function = "qup13"; 881 drive-strength = <2>; 882 bias-disable; 883 }; 884 885 rx-pins { 886 pins = "gpio46"; 887 function = "qup13"; 888 bias-pull-up; 889 }; 890 }; 891}; 892