1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2021, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2022, Linaro Limited 5 */ 6 7/dts-v1/; 8 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 11#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 12#include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 13#include <dt-bindings/input/gpio-keys.h> 14#include <dt-bindings/input/input.h> 15#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 17#include "sc8280xp.dtsi" 18#include "sc8280xp-pmics.dtsi" 19 20/ { 21 model = "Lenovo ThinkPad X13s"; 22 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp"; 23 24 backlight { 25 compatible = "pwm-backlight"; 26 pwms = <&pmc8280c_lpg 3 1000000>; 27 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>; 28 power-supply = <&vreg_edp_bl>; 29 30 pinctrl-names = "default"; 31 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>; 32 }; 33 34 thermal-zones { 35 skin-temp-thermal { 36 polling-delay-passive = <250>; 37 polling-delay = <0>; 38 thermal-sensors = <&pmk8280_adc_tm 5>; 39 40 trips { 41 skin_temp_alert0: trip-point0 { 42 temperature = <55000>; 43 hysteresis = <1000>; 44 type = "passive"; 45 }; 46 47 skin_temp_alert1: trip-point1 { 48 temperature = <58000>; 49 hysteresis = <1000>; 50 type = "passive"; 51 }; 52 53 skin-temp-crit { 54 temperature = <73000>; 55 hysteresis = <1000>; 56 type = "critical"; 57 }; 58 }; 59 60 cooling-maps { 61 map0 { 62 trip = <&skin_temp_alert0>; 63 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 64 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 65 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 66 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 67 }; 68 69 map1 { 70 trip = <&skin_temp_alert1>; 71 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 72 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 73 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 74 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 75 }; 76 }; 77 }; 78 }; 79 80 gpio-keys { 81 compatible = "gpio-keys"; 82 83 pinctrl-names = "default"; 84 pinctrl-0 = <&hall_int_n_default>; 85 86 switch-lid { 87 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; 88 linux,input-type = <EV_SW>; 89 linux,code = <SW_LID>; 90 wakeup-source; 91 wakeup-event-action = <EV_ACT_DEASSERTED>; 92 }; 93 }; 94 95 vreg_edp_bl: regulator-edp-bl { 96 compatible = "regulator-fixed"; 97 98 regulator-name = "VBL9"; 99 regulator-min-microvolt = <3600000>; 100 regulator-max-microvolt = <3600000>; 101 102 gpio = <&pmc8280_1_gpios 9 GPIO_ACTIVE_HIGH>; 103 enable-active-high; 104 105 pinctrl-names = "default"; 106 pinctrl-0 = <&edp_bl_reg_en>; 107 108 regulator-boot-on; 109 }; 110 111 vreg_misc_3p3: regulator-misc-3p3 { 112 compatible = "regulator-fixed"; 113 114 regulator-name = "VCC3B"; 115 regulator-min-microvolt = <3300000>; 116 regulator-max-microvolt = <3300000>; 117 118 gpio = <&pmc8280_1_gpios 1 GPIO_ACTIVE_HIGH>; 119 enable-active-high; 120 121 pinctrl-names = "default"; 122 pinctrl-0 = <&misc_3p3_reg_en>; 123 124 regulator-boot-on; 125 regulator-always-on; 126 }; 127 128 vreg_nvme: regulator-nvme { 129 compatible = "regulator-fixed"; 130 131 regulator-name = "VCC3_SSD"; 132 regulator-min-microvolt = <3300000>; 133 regulator-max-microvolt = <3300000>; 134 135 gpio = <&tlmm 135 GPIO_ACTIVE_HIGH>; 136 enable-active-high; 137 138 pinctrl-names = "default"; 139 pinctrl-0 = <&nvme_reg_en>; 140 141 regulator-boot-on; 142 }; 143 144 vreg_wlan: regulator-wlan { 145 compatible = "regulator-fixed"; 146 147 regulator-name = "VCC_WLAN_3R9"; 148 regulator-min-microvolt = <3900000>; 149 regulator-max-microvolt = <3900000>; 150 151 gpio = <&pmr735a_gpios 1 GPIO_ACTIVE_HIGH>; 152 enable-active-high; 153 154 pinctrl-names = "default"; 155 pinctrl-0 = <&hastings_reg_en>; 156 157 regulator-boot-on; 158 }; 159 160 vreg_wwan: regulator-wwan { 161 compatible = "regulator-fixed"; 162 163 regulator-name = "VCC3B_WAN"; 164 regulator-min-microvolt = <3300000>; 165 regulator-max-microvolt = <3300000>; 166 167 gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>; 168 enable-active-high; 169 170 pinctrl-names = "default"; 171 pinctrl-0 = <&wwan_sw_en>; 172 173 regulator-boot-on; 174 }; 175}; 176 177&apps_rsc { 178 pmc8280-1-rpmh-regulators { 179 compatible = "qcom,pm8350-rpmh-regulators"; 180 qcom,pmic-id = "b"; 181 182 vdd-l3-l5-supply = <&vreg_s11b>; 183 184 vreg_s11b: smps11 { 185 regulator-name = "vreg_s11b"; 186 regulator-min-microvolt = <1272000>; 187 regulator-max-microvolt = <1272000>; 188 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 189 }; 190 191 vreg_l3b: ldo3 { 192 regulator-name = "vreg_l3b"; 193 regulator-min-microvolt = <1200000>; 194 regulator-max-microvolt = <1200000>; 195 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 196 regulator-boot-on; 197 }; 198 199 vreg_l4b: ldo4 { 200 regulator-name = "vreg_l4b"; 201 regulator-min-microvolt = <912000>; 202 regulator-max-microvolt = <912000>; 203 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 204 }; 205 206 vreg_l6b: ldo6 { 207 regulator-name = "vreg_l6b"; 208 regulator-min-microvolt = <880000>; 209 regulator-max-microvolt = <880000>; 210 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 211 regulator-boot-on; 212 regulator-always-on; /* FIXME: VDD_A_EDP_0_0P9 */ 213 }; 214 }; 215 216 pmc8280c-rpmh-regulators { 217 compatible = "qcom,pm8350c-rpmh-regulators"; 218 qcom,pmic-id = "c"; 219 220 vreg_l1c: ldo1 { 221 regulator-name = "vreg_l1c"; 222 regulator-min-microvolt = <1800000>; 223 regulator-max-microvolt = <1800000>; 224 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 225 }; 226 227 vreg_l12c: ldo12 { 228 regulator-name = "vreg_l12c"; 229 regulator-min-microvolt = <1800000>; 230 regulator-max-microvolt = <1800000>; 231 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 232 }; 233 234 vreg_l13c: ldo13 { 235 regulator-name = "vreg_l13c"; 236 regulator-min-microvolt = <3072000>; 237 regulator-max-microvolt = <3072000>; 238 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 239 }; 240 }; 241 242 pmc8280-2-rpmh-regulators { 243 compatible = "qcom,pm8350-rpmh-regulators"; 244 qcom,pmic-id = "d"; 245 246 vdd-l1-l4-supply = <&vreg_s11b>; 247 248 vreg_l3d: ldo3 { 249 regulator-name = "vreg_l3d"; 250 regulator-min-microvolt = <1200000>; 251 regulator-max-microvolt = <1200000>; 252 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 253 }; 254 255 vreg_l4d: ldo4 { 256 regulator-name = "vreg_l4d"; 257 regulator-min-microvolt = <1200000>; 258 regulator-max-microvolt = <1200000>; 259 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 260 }; 261 262 vreg_l6d: ldo6 { 263 regulator-name = "vreg_l6d"; 264 regulator-min-microvolt = <880000>; 265 regulator-max-microvolt = <880000>; 266 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 267 }; 268 269 vreg_l7d: ldo7 { 270 regulator-name = "vreg_l7d"; 271 regulator-min-microvolt = <3072000>; 272 regulator-max-microvolt = <3072000>; 273 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 274 }; 275 276 vreg_l9d: ldo9 { 277 regulator-name = "vreg_l9d"; 278 regulator-min-microvolt = <912000>; 279 regulator-max-microvolt = <912000>; 280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 281 }; 282 }; 283}; 284 285&pcie2a { 286 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; 287 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>; 288 289 vddpe-3v3-supply = <&vreg_nvme>; 290 291 pinctrl-names = "default"; 292 pinctrl-0 = <&pcie2a_default>; 293 294 status = "okay"; 295}; 296 297&pcie2a_phy { 298 vdda-phy-supply = <&vreg_l6d>; 299 vdda-pll-supply = <&vreg_l4d>; 300 301 status = "okay"; 302}; 303 304&pcie3a { 305 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>; 306 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 307 308 vddpe-3v3-supply = <&vreg_wwan>; 309 310 pinctrl-names = "default"; 311 pinctrl-0 = <&pcie3a_default>; 312 313 status = "okay"; 314}; 315 316&pcie3a_phy { 317 vdda-phy-supply = <&vreg_l6d>; 318 vdda-pll-supply = <&vreg_l4d>; 319 320 status = "okay"; 321}; 322 323&pcie4 { 324 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>; 325 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>; 326 327 vddpe-3v3-supply = <&vreg_wlan>; 328 329 pinctrl-names = "default"; 330 pinctrl-0 = <&pcie4_default>; 331 332 status = "okay"; 333}; 334 335&pcie4_phy { 336 vdda-phy-supply = <&vreg_l6d>; 337 vdda-pll-supply = <&vreg_l4d>; 338 339 status = "okay"; 340}; 341 342&pmc8280c_lpg { 343 status = "okay"; 344}; 345 346&pmk8280_adc_tm { 347 status = "okay"; 348 349 sys-therm@0 { 350 reg = <0>; 351 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>; 352 qcom,hw-settle-time-us = <200>; 353 qcom,avg-samples = <2>; 354 qcom,ratiometric; 355 }; 356 357 sys-therm@1 { 358 reg = <1>; 359 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>; 360 qcom,hw-settle-time-us = <200>; 361 qcom,avg-samples = <2>; 362 qcom,ratiometric; 363 }; 364 365 sys-therm@2 { 366 reg = <2>; 367 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>; 368 qcom,hw-settle-time-us = <200>; 369 qcom,avg-samples = <2>; 370 qcom,ratiometric; 371 }; 372 373 sys-therm@3 { 374 reg = <3>; 375 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>; 376 qcom,hw-settle-time-us = <200>; 377 qcom,avg-samples = <2>; 378 qcom,ratiometric; 379 }; 380 381 sys-therm@4 { 382 reg = <4>; 383 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(3)>; 384 qcom,hw-settle-time-us = <200>; 385 qcom,avg-samples = <2>; 386 qcom,ratiometric; 387 }; 388 389 sys-therm@5 { 390 reg = <5>; 391 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(3)>; 392 qcom,hw-settle-time-us = <200>; 393 qcom,avg-samples = <2>; 394 qcom,ratiometric; 395 }; 396 397 sys-therm@6 { 398 reg = <6>; 399 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(3)>; 400 qcom,hw-settle-time-us = <200>; 401 qcom,avg-samples = <2>; 402 qcom,ratiometric; 403 }; 404 405 sys-therm@7 { 406 reg = <7>; 407 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(3)>; 408 qcom,hw-settle-time-us = <200>; 409 qcom,avg-samples = <2>; 410 qcom,ratiometric; 411 }; 412}; 413 414&pmk8280_pon_pwrkey { 415 status = "okay"; 416}; 417 418&pmk8280_pon_resin { 419 status = "okay"; 420}; 421 422&pmk8280_vadc { 423 status = "okay"; 424 425 pmic-die-temp@3 { 426 reg = <PMK8350_ADC7_DIE_TEMP>; 427 qcom,pre-scaling = <1 1>; 428 }; 429 430 xo-therm@44 { 431 reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; 432 qcom,hw-settle-time = <200>; 433 qcom,ratiometric; 434 }; 435 436 pmic-die-temp@103 { 437 reg = <PM8350_ADC7_DIE_TEMP(1)>; 438 qcom,pre-scaling = <1 1>; 439 }; 440 441 sys-therm@144 { 442 reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>; 443 qcom,hw-settle-time = <200>; 444 qcom,ratiometric; 445 }; 446 447 sys-therm@145 { 448 reg = <PM8350_ADC7_AMUX_THM2_100K_PU(1)>; 449 qcom,hw-settle-time = <200>; 450 qcom,ratiometric; 451 }; 452 453 sys-therm@146 { 454 reg = <PM8350_ADC7_AMUX_THM3_100K_PU(1)>; 455 qcom,hw-settle-time = <200>; 456 qcom,ratiometric; 457 }; 458 459 sys-therm@147 { 460 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>; 461 qcom,hw-settle-time = <200>; 462 qcom,ratiometric; 463 }; 464 465 pmic-die-temp@303 { 466 reg = <PM8350_ADC7_DIE_TEMP(3)>; 467 qcom,pre-scaling = <1 1>; 468 }; 469 470 sys-therm@344 { 471 reg = <PM8350_ADC7_AMUX_THM1_100K_PU(3)>; 472 qcom,hw-settle-time = <200>; 473 qcom,ratiometric; 474 }; 475 476 sys-therm@345 { 477 reg = <PM8350_ADC7_AMUX_THM2_100K_PU(3)>; 478 qcom,hw-settle-time = <200>; 479 qcom,ratiometric; 480 }; 481 482 sys-therm@346 { 483 reg = <PM8350_ADC7_AMUX_THM3_100K_PU(3)>; 484 qcom,hw-settle-time = <200>; 485 qcom,ratiometric; 486 }; 487 488 sys-therm@347 { 489 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(3)>; 490 qcom,hw-settle-time = <200>; 491 qcom,ratiometric; 492 }; 493 494 pmic-die-temp@403 { 495 reg = <PMR735A_ADC7_DIE_TEMP>; 496 qcom,pre-scaling = <1 1>; 497 }; 498}; 499 500&qup0 { 501 status = "okay"; 502}; 503 504&qup0_i2c4 { 505 clock-frequency = <400000>; 506 507 pinctrl-names = "default"; 508 pinctrl-0 = <&qup0_i2c4_default>; 509 510 status = "okay"; 511 512 /* FIXME: verify */ 513 touchscreen@10 { 514 compatible = "hid-over-i2c"; 515 reg = <0x10>; 516 517 hid-descr-addr = <0x1>; 518 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>; 519 vdd-supply = <&vreg_misc_3p3>; 520 521 pinctrl-names = "default"; 522 pinctrl-0 = <&ts0_default>; 523 }; 524}; 525 526&qup1 { 527 status = "okay"; 528}; 529 530&qup2 { 531 status = "okay"; 532}; 533 534&qup2_i2c5 { 535 clock-frequency = <400000>; 536 537 pinctrl-names = "default"; 538 pinctrl-0 = <&qup2_i2c5_default>; 539 540 status = "okay"; 541 542 touchpad@15 { 543 compatible = "hid-over-i2c"; 544 reg = <0x15>; 545 546 hid-descr-addr = <0x1>; 547 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; 548 vdd-supply = <&vreg_misc_3p3>; 549 550 pinctrl-names = "default"; 551 pinctrl-0 = <&tpad_default>; 552 553 wakeup-source; 554 555 status = "disabled"; 556 }; 557 558 touchpad@2c { 559 compatible = "hid-over-i2c"; 560 reg = <0x2c>; 561 562 hid-descr-addr = <0x20>; 563 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; 564 vdd-supply = <&vreg_misc_3p3>; 565 566 pinctrl-names = "default"; 567 pinctrl-0 = <&tpad_default>; 568 569 wakeup-source; 570 }; 571 572 keyboard@68 { 573 compatible = "hid-over-i2c"; 574 reg = <0x68>; 575 576 hid-descr-addr = <0x1>; 577 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>; 578 vdd-supply = <&vreg_misc_3p3>; 579 580 pinctrl-names = "default"; 581 pinctrl-0 = <&kybd_default>; 582 583 wakeup-source; 584 }; 585}; 586 587&remoteproc_adsp { 588 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn"; 589 590 status = "okay"; 591}; 592 593&remoteproc_nsp0 { 594 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn"; 595 596 status = "okay"; 597}; 598 599&usb_0 { 600 status = "okay"; 601}; 602 603&usb_0_dwc3 { 604 /* TODO: Define USB-C connector properly */ 605 dr_mode = "host"; 606}; 607 608&usb_0_hsphy { 609 vdda-pll-supply = <&vreg_l9d>; 610 vdda18-supply = <&vreg_l1c>; 611 vdda33-supply = <&vreg_l7d>; 612 613 status = "okay"; 614}; 615 616&usb_0_qmpphy { 617 vdda-phy-supply = <&vreg_l9d>; 618 vdda-pll-supply = <&vreg_l4d>; 619 620 status = "okay"; 621}; 622 623&usb_1 { 624 status = "okay"; 625}; 626 627&usb_1_dwc3 { 628 /* TODO: Define USB-C connector properly */ 629 dr_mode = "host"; 630}; 631 632&usb_1_hsphy { 633 vdda-pll-supply = <&vreg_l4b>; 634 vdda18-supply = <&vreg_l1c>; 635 vdda33-supply = <&vreg_l13c>; 636 637 status = "okay"; 638}; 639 640&usb_1_qmpphy { 641 vdda-phy-supply = <&vreg_l4b>; 642 vdda-pll-supply = <&vreg_l3b>; 643 644 status = "okay"; 645}; 646 647&xo_board_clk { 648 clock-frequency = <38400000>; 649}; 650 651/* PINCTRL */ 652 653&pmc8280_1_gpios { 654 edp_bl_en: edp-bl-en-state { 655 pins = "gpio8"; 656 function = "normal"; 657 }; 658 659 edp_bl_reg_en: edp-bl-reg-en-state { 660 pins = "gpio9"; 661 function = "normal"; 662 }; 663 664 misc_3p3_reg_en: misc-3p3-reg-en-state { 665 pins = "gpio1"; 666 function = "normal"; 667 }; 668}; 669 670&pmc8280_2_gpios { 671 wwan_sw_en: wwan-sw-en-state { 672 pins = "gpio1"; 673 function = "normal"; 674 }; 675}; 676 677&pmc8280c_gpios { 678 edp_bl_pwm: edp-bl-pwm-state { 679 pins = "gpio8"; 680 function = "func1"; 681 }; 682}; 683 684&pmr735a_gpios { 685 hastings_reg_en: hastings-reg-en-state { 686 pins = "gpio1"; 687 function = "normal"; 688 }; 689}; 690 691&tlmm { 692 gpio-reserved-ranges = <70 2>, <74 6>, <83 4>, <125 2>, <128 2>, <154 7>; 693 694 hall_int_n_default: hall-int-n-state { 695 pins = "gpio107"; 696 function = "gpio"; 697 input-enable; 698 bias-disable; 699 }; 700 701 kybd_default: kybd-default-state { 702 disable-pins { 703 pins = "gpio102"; 704 function = "gpio"; 705 output-low; 706 }; 707 708 int-n-pins { 709 pins = "gpio104"; 710 function = "gpio"; 711 bias-disable; 712 }; 713 714 reset-pins { 715 pins = "gpio105"; 716 function = "gpio"; 717 bias-disable; 718 }; 719 }; 720 721 nvme_reg_en: nvme-reg-en-state { 722 pins = "gpio135"; 723 function = "gpio"; 724 drive-strength = <2>; 725 bias-disable; 726 }; 727 728 pcie2a_default: pcie2a-default-state { 729 clkreq-n-pins { 730 pins = "gpio142"; 731 function = "pcie2a_clkreq"; 732 drive-strength = <2>; 733 bias-pull-up; 734 }; 735 736 perst-n-pins { 737 pins = "gpio143"; 738 function = "gpio"; 739 drive-strength = <2>; 740 bias-pull-down; 741 }; 742 743 wake-n-pins { 744 pins = "gpio145"; 745 function = "gpio"; 746 drive-strength = <2>; 747 bias-pull-up; 748 }; 749 }; 750 751 pcie3a_default: pcie3a-default-state { 752 clkreq-n-pins { 753 pins = "gpio150"; 754 function = "pcie3a_clkreq"; 755 drive-strength = <2>; 756 bias-pull-up; 757 }; 758 759 perst-n-pins { 760 pins = "gpio151"; 761 function = "gpio"; 762 drive-strength = <2>; 763 bias-pull-down; 764 }; 765 766 wake-n-pins { 767 pins = "gpio148"; 768 function = "gpio"; 769 drive-strength = <2>; 770 bias-pull-up; 771 }; 772 }; 773 774 pcie4_default: pcie4-default-state { 775 clkreq-n-pins { 776 pins = "gpio140"; 777 function = "pcie4_clkreq"; 778 drive-strength = <2>; 779 bias-pull-up; 780 }; 781 782 perst-n-pins { 783 pins = "gpio141"; 784 function = "gpio"; 785 drive-strength = <2>; 786 bias-pull-down; 787 }; 788 789 wake-n-pins { 790 pins = "gpio139"; 791 function = "gpio"; 792 drive-strength = <2>; 793 bias-pull-up; 794 }; 795 }; 796 797 qup0_i2c4_default: qup0-i2c4-default-state { 798 pins = "gpio171", "gpio172"; 799 function = "qup4"; 800 bias-disable; 801 drive-strength = <16>; 802 }; 803 804 qup2_i2c5_default: qup2-i2c5-default-state { 805 pins = "gpio81", "gpio82"; 806 function = "qup21"; 807 bias-disable; 808 drive-strength = <16>; 809 }; 810 811 tpad_default: tpad-default-state { 812 int-n-pins { 813 pins = "gpio182"; 814 function = "gpio"; 815 bias-disable; 816 }; 817 }; 818 819 ts0_default: ts0-default-state { 820 int-n-pins { 821 pins = "gpio175"; 822 function = "gpio"; 823 bias-disable; 824 }; 825 826 reset-n-pins { 827 pins = "gpio99"; 828 function = "gpio"; 829 output-high; 830 drive-strength = <16>; 831 }; 832 }; 833}; 834