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/regulator/qcom,rpmh-regulator.h> 11 12#include "sc8280xp.dtsi" 13#include "sc8280xp-pmics.dtsi" 14 15/ { 16 model = "Qualcomm SC8280XP CRD"; 17 compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp"; 18 19 aliases { 20 i2c4 = &i2c4; 21 i2c21 = &i2c21; 22 serial0 = &uart17; 23 }; 24 25 backlight: backlight { 26 compatible = "pwm-backlight"; 27 pwms = <&pmc8280c_lpg 3 1000000>; 28 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>; 29 power-supply = <&vreg_edp_bl>; 30 31 pinctrl-names = "default"; 32 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>; 33 }; 34 35 chosen { 36 stdout-path = "serial0:115200n8"; 37 }; 38 39 pmic-glink { 40 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink"; 41 42 #address-cells = <1>; 43 #size-cells = <0>; 44 45 connector@0 { 46 compatible = "usb-c-connector"; 47 reg = <0>; 48 power-role = "dual"; 49 data-role = "dual"; 50 51 ports { 52 #address-cells = <1>; 53 #size-cells = <0>; 54 55 port@0 { 56 reg = <0>; 57 58 pmic_glink_con0_hs: endpoint { 59 remote-endpoint = <&usb_0_role_switch>; 60 }; 61 }; 62 63 port@1 { 64 reg = <1>; 65 66 pmic_glink_con0_ss: endpoint { 67 remote-endpoint = <&usb_0_qmpphy_out>; 68 }; 69 }; 70 71 port@2 { 72 reg = <2>; 73 74 pmic_glink_con0_sbu: endpoint { 75 remote-endpoint = <&usb0_sbu_mux>; 76 }; 77 }; 78 }; 79 }; 80 81 connector@1 { 82 compatible = "usb-c-connector"; 83 reg = <1>; 84 power-role = "dual"; 85 data-role = "dual"; 86 87 ports { 88 #address-cells = <1>; 89 #size-cells = <0>; 90 port@0 { 91 reg = <0>; 92 93 pmic_glink_con1_hs: endpoint { 94 remote-endpoint = <&usb_1_role_switch>; 95 }; 96 }; 97 98 port@1 { 99 reg = <1>; 100 101 pmic_glink_con1_ss: endpoint { 102 remote-endpoint = <&usb_1_qmpphy_out>; 103 }; 104 }; 105 106 port@2 { 107 reg = <2>; 108 109 pmic_glink_con1_sbu: endpoint { 110 remote-endpoint = <&usb1_sbu_mux>; 111 }; 112 }; 113 }; 114 }; 115 }; 116 117 vreg_edp_3p3: regulator-edp-3p3 { 118 compatible = "regulator-fixed"; 119 120 regulator-name = "VREG_EDP_3P3"; 121 regulator-min-microvolt = <3300000>; 122 regulator-max-microvolt = <3300000>; 123 124 gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>; 125 enable-active-high; 126 127 pinctrl-names = "default"; 128 pinctrl-0 = <&edp_reg_en>; 129 130 regulator-boot-on; 131 }; 132 133 vreg_edp_bl: regulator-edp-bl { 134 compatible = "regulator-fixed"; 135 136 regulator-name = "VBL9"; 137 regulator-min-microvolt = <3600000>; 138 regulator-max-microvolt = <3600000>; 139 140 gpio = <&pmc8280_1_gpios 9 GPIO_ACTIVE_HIGH>; 141 enable-active-high; 142 143 pinctrl-names = "default"; 144 pinctrl-0 = <&edp_bl_reg_en>; 145 146 regulator-boot-on; 147 }; 148 149 vreg_nvme: regulator-nvme { 150 compatible = "regulator-fixed"; 151 152 regulator-name = "VCC3_SSD"; 153 regulator-min-microvolt = <3300000>; 154 regulator-max-microvolt = <3300000>; 155 156 gpio = <&tlmm 135 GPIO_ACTIVE_HIGH>; 157 enable-active-high; 158 159 pinctrl-names = "default"; 160 pinctrl-0 = <&nvme_reg_en>; 161 }; 162 163 vreg_misc_3p3: regulator-misc-3p3 { 164 compatible = "regulator-fixed"; 165 166 regulator-name = "VCC3B"; 167 regulator-min-microvolt = <3300000>; 168 regulator-max-microvolt = <3300000>; 169 170 gpio = <&pmc8280_1_gpios 1 GPIO_ACTIVE_HIGH>; 171 enable-active-high; 172 173 pinctrl-names = "default"; 174 pinctrl-0 = <&misc_3p3_reg_en>; 175 176 regulator-boot-on; 177 regulator-always-on; 178 }; 179 180 vreg_wlan: regulator-wlan { 181 compatible = "regulator-fixed"; 182 183 regulator-name = "VCC_WLAN_3R9"; 184 regulator-min-microvolt = <3900000>; 185 regulator-max-microvolt = <3900000>; 186 187 gpio = <&pmr735a_gpios 1 GPIO_ACTIVE_HIGH>; 188 enable-active-high; 189 190 pinctrl-names = "default"; 191 pinctrl-0 = <&hastings_reg_en>; 192 193 regulator-boot-on; 194 }; 195 196 vreg_wwan: regulator-wwan { 197 compatible = "regulator-fixed"; 198 199 regulator-name = "VCC3B_WAN"; 200 regulator-min-microvolt = <3300000>; 201 regulator-max-microvolt = <3300000>; 202 203 gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>; 204 enable-active-high; 205 206 pinctrl-names = "default"; 207 pinctrl-0 = <&wwan_sw_en>; 208 209 regulator-boot-on; 210 }; 211 212 reserved-memory { 213 linux,cma { 214 compatible = "shared-dma-pool"; 215 size = <0x0 0x8000000>; 216 reusable; 217 linux,cma-default; 218 }; 219 }; 220 221 usb0-sbu-mux { 222 compatible = "pericom,pi3usb102", "gpio-sbu-mux"; 223 224 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>; 225 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>; 226 227 pinctrl-names = "default"; 228 pinctrl-0 = <&usb0_sbu_default>; 229 230 mode-switch; 231 orientation-switch; 232 svid = /bits/ 16 <0xff01>; 233 234 port { 235 usb0_sbu_mux: endpoint { 236 remote-endpoint = <&pmic_glink_con0_sbu>; 237 }; 238 }; 239 }; 240 241 usb1-sbu-mux { 242 compatible = "pericom,pi3usb102", "gpio-sbu-mux"; 243 244 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>; 245 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>; 246 247 pinctrl-names = "default"; 248 pinctrl-0 = <&usb1_sbu_default>; 249 250 mode-switch; 251 orientation-switch; 252 svid = /bits/ 16 <0xff01>; 253 254 port { 255 usb1_sbu_mux: endpoint { 256 remote-endpoint = <&pmic_glink_con1_sbu>; 257 }; 258 }; 259 }; 260}; 261 262&apps_rsc { 263 regulators-0 { 264 compatible = "qcom,pm8350-rpmh-regulators"; 265 qcom,pmic-id = "b"; 266 267 vdd-l3-l5-supply = <&vreg_s11b>; 268 269 vreg_s11b: smps11 { 270 regulator-name = "vreg_s11b"; 271 regulator-min-microvolt = <1272000>; 272 regulator-max-microvolt = <1272000>; 273 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 274 }; 275 276 vreg_l3b: ldo3 { 277 regulator-name = "vreg_l3b"; 278 regulator-min-microvolt = <1200000>; 279 regulator-max-microvolt = <1200000>; 280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 281 regulator-boot-on; 282 }; 283 284 vreg_l4b: ldo4 { 285 regulator-name = "vreg_l4b"; 286 regulator-min-microvolt = <912000>; 287 regulator-max-microvolt = <912000>; 288 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 289 }; 290 291 vreg_l6b: ldo6 { 292 regulator-name = "vreg_l6b"; 293 regulator-min-microvolt = <880000>; 294 regulator-max-microvolt = <880000>; 295 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 296 regulator-boot-on; 297 }; 298 }; 299 300 regulators-1 { 301 compatible = "qcom,pm8350c-rpmh-regulators"; 302 qcom,pmic-id = "c"; 303 304 vreg_l1c: ldo1 { 305 regulator-name = "vreg_l1c"; 306 regulator-min-microvolt = <1800000>; 307 regulator-max-microvolt = <1800000>; 308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 309 }; 310 311 vreg_l6c: ldo6 { 312 regulator-name = "vreg_l6c"; 313 regulator-min-microvolt = <1800000>; 314 regulator-max-microvolt = <2960000>; 315 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 316 }; 317 318 vreg_l7c: ldo7 { 319 regulator-name = "vreg_l7c"; 320 regulator-min-microvolt = <2504000>; 321 regulator-max-microvolt = <2504000>; 322 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 323 regulator-allow-set-load; 324 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 325 RPMH_REGULATOR_MODE_HPM>; 326 }; 327 328 vreg_l9c: ldo9 { 329 regulator-name = "vreg_l9c"; 330 regulator-min-microvolt = <2960000>; 331 regulator-max-microvolt = <2960000>; 332 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 333 }; 334 335 vreg_l13c: ldo13 { 336 regulator-name = "vreg_l13c"; 337 regulator-min-microvolt = <3072000>; 338 regulator-max-microvolt = <3072000>; 339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 340 }; 341 }; 342 343 regulators-2 { 344 compatible = "qcom,pm8350-rpmh-regulators"; 345 qcom,pmic-id = "d"; 346 347 vdd-l1-l4-supply = <&vreg_s11b>; 348 349 vreg_l3d: ldo3 { 350 regulator-name = "vreg_l3d"; 351 regulator-min-microvolt = <1200000>; 352 regulator-max-microvolt = <1200000>; 353 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 354 regulator-allow-set-load; 355 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 356 RPMH_REGULATOR_MODE_HPM>; 357 }; 358 359 vreg_l4d: ldo4 { 360 regulator-name = "vreg_l4d"; 361 regulator-min-microvolt = <1200000>; 362 regulator-max-microvolt = <1200000>; 363 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 364 }; 365 366 vreg_l6d: ldo6 { 367 regulator-name = "vreg_l6d"; 368 regulator-min-microvolt = <880000>; 369 regulator-max-microvolt = <880000>; 370 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 371 }; 372 373 vreg_l7d: ldo7 { 374 regulator-name = "vreg_l7d"; 375 regulator-min-microvolt = <3072000>; 376 regulator-max-microvolt = <3072000>; 377 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 378 }; 379 380 vreg_l9d: ldo9 { 381 regulator-name = "vreg_l9d"; 382 regulator-min-microvolt = <912000>; 383 regulator-max-microvolt = <912000>; 384 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 385 }; 386 }; 387}; 388 389&dispcc0 { 390 status = "okay"; 391}; 392 393&mdss0 { 394 status = "okay"; 395}; 396 397&mdss0_dp0 { 398 status = "okay"; 399}; 400 401&mdss0_dp0_out { 402 data-lanes = <0 1>; 403 remote-endpoint = <&usb_0_qmpphy_dp_in>; 404}; 405 406&mdss0_dp1 { 407 status = "okay"; 408}; 409 410&mdss0_dp1_out { 411 data-lanes = <0 1>; 412 remote-endpoint = <&usb_1_qmpphy_dp_in>; 413}; 414 415&mdss0_dp3 { 416 compatible = "qcom,sc8280xp-edp"; 417 /delete-property/ #sound-dai-cells; 418 419 data-lanes = <0 1 2 3>; 420 421 status = "okay"; 422 423 aux-bus { 424 panel { 425 compatible = "edp-panel"; 426 power-supply = <&vreg_edp_3p3>; 427 428 backlight = <&backlight>; 429 430 port { 431 edp_panel_in: endpoint { 432 remote-endpoint = <&mdss0_dp3_out>; 433 }; 434 }; 435 }; 436 }; 437 438 ports { 439 port@1 { 440 reg = <1>; 441 mdss0_dp3_out: endpoint { 442 remote-endpoint = <&edp_panel_in>; 443 }; 444 }; 445 }; 446}; 447 448&mdss0_dp3_phy { 449 vdda-phy-supply = <&vreg_l6b>; 450 vdda-pll-supply = <&vreg_l3b>; 451 452 status = "okay"; 453}; 454 455&i2c4 { 456 clock-frequency = <400000>; 457 458 pinctrl-names = "default"; 459 pinctrl-0 = <&i2c4_default>; 460 461 status = "okay"; 462 463 touchscreen@10 { 464 compatible = "hid-over-i2c"; 465 reg = <0x10>; 466 467 hid-descr-addr = <0x1>; 468 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>; 469 vdd-supply = <&vreg_misc_3p3>; 470 471 pinctrl-names = "default"; 472 pinctrl-0 = <&ts0_default>; 473 }; 474}; 475 476&i2c21 { 477 clock-frequency = <400000>; 478 479 pinctrl-names = "default"; 480 pinctrl-0 = <&i2c21_default>; 481 482 status = "okay"; 483 484 touchpad@15 { 485 compatible = "hid-over-i2c"; 486 reg = <0x15>; 487 488 hid-descr-addr = <0x1>; 489 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; 490 vdd-supply = <&vreg_misc_3p3>; 491 492 pinctrl-names = "default"; 493 pinctrl-0 = <&tpad_default>; 494 495 wakeup-source; 496 }; 497 498 keyboard@68 { 499 compatible = "hid-over-i2c"; 500 reg = <0x68>; 501 502 hid-descr-addr = <0x1>; 503 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>; 504 vdd-supply = <&vreg_misc_3p3>; 505 506 pinctrl-names = "default"; 507 pinctrl-0 = <&kybd_default>; 508 509 wakeup-source; 510 }; 511}; 512 513&pcie2a { 514 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; 515 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>; 516 517 vddpe-3v3-supply = <&vreg_nvme>; 518 519 pinctrl-names = "default"; 520 pinctrl-0 = <&pcie2a_default>; 521 522 status = "okay"; 523}; 524 525&pcie2a_phy { 526 vdda-phy-supply = <&vreg_l6d>; 527 vdda-pll-supply = <&vreg_l4d>; 528 529 status = "okay"; 530}; 531 532&pcie3a { 533 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>; 534 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 535 536 vddpe-3v3-supply = <&vreg_wwan>; 537 538 pinctrl-names = "default"; 539 pinctrl-0 = <&pcie3a_default>; 540 541 status = "okay"; 542}; 543 544&pcie3a_phy { 545 vdda-phy-supply = <&vreg_l6d>; 546 vdda-pll-supply = <&vreg_l4d>; 547 548 status = "okay"; 549}; 550 551&pcie4 { 552 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>; 553 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>; 554 555 vddpe-3v3-supply = <&vreg_wlan>; 556 557 pinctrl-names = "default"; 558 pinctrl-0 = <&pcie4_default>; 559 560 status = "okay"; 561}; 562 563&pcie4_phy { 564 vdda-phy-supply = <&vreg_l6d>; 565 vdda-pll-supply = <&vreg_l4d>; 566 567 status = "okay"; 568}; 569 570&pmc8280c_lpg { 571 status = "okay"; 572}; 573 574&pmk8280_pon_pwrkey { 575 status = "okay"; 576}; 577 578&pmk8280_rtc { 579 nvmem-cells = <&rtc_offset>; 580 nvmem-cell-names = "offset"; 581 582 status = "okay"; 583}; 584 585&pmk8280_sdam_6 { 586 status = "okay"; 587 588 rtc_offset: rtc-offset@bc { 589 reg = <0xbc 0x4>; 590 }; 591}; 592 593&qup0 { 594 status = "okay"; 595}; 596 597&qup1 { 598 status = "okay"; 599}; 600 601&qup2 { 602 status = "okay"; 603}; 604 605&remoteproc_adsp { 606 firmware-name = "qcom/sc8280xp/qcadsp8280.mbn"; 607 608 status = "okay"; 609}; 610 611&remoteproc_nsp0 { 612 firmware-name = "qcom/sc8280xp/qccdsp8280.mbn"; 613 614 status = "okay"; 615}; 616 617&sdc2 { 618 pinctrl-0 = <&sdc2_default_state>; 619 pinctrl-1 = <&sdc2_sleep_state>; 620 pinctrl-names = "default", "sleep"; 621 622 vmmc-supply = <&vreg_l9c>; 623 vqmmc-supply = <&vreg_l6c>; 624 625 cd-gpios = <&tlmm 131 GPIO_ACTIVE_LOW>; 626 627 status = "okay"; 628}; 629 630&uart17 { 631 compatible = "qcom,geni-debug-uart"; 632 633 status = "okay"; 634}; 635 636&ufs_mem_hc { 637 reset-gpios = <&tlmm 228 GPIO_ACTIVE_LOW>; 638 639 vcc-supply = <&vreg_l7c>; 640 vcc-max-microamp = <800000>; 641 vccq-supply = <&vreg_l3d>; 642 vccq-max-microamp = <900000>; 643 644 status = "okay"; 645}; 646 647&ufs_mem_phy { 648 vdda-phy-supply = <&vreg_l6b>; 649 vdda-pll-supply = <&vreg_l3b>; 650 651 status = "okay"; 652}; 653 654&usb_0 { 655 status = "okay"; 656}; 657 658&usb_0_dwc3 { 659 dr_mode = "host"; 660}; 661 662&usb_0_hsphy { 663 vdda-pll-supply = <&vreg_l9d>; 664 vdda18-supply = <&vreg_l1c>; 665 vdda33-supply = <&vreg_l7d>; 666 667 status = "okay"; 668}; 669 670&usb_0_qmpphy { 671 vdda-phy-supply = <&vreg_l9d>; 672 vdda-pll-supply = <&vreg_l4d>; 673 674 orientation-switch; 675 676 status = "okay"; 677}; 678 679&usb_0_qmpphy_dp_in { 680 remote-endpoint = <&mdss0_dp0_out>; 681}; 682 683&usb_0_qmpphy_out { 684 remote-endpoint = <&pmic_glink_con0_ss>; 685}; 686 687&usb_0_role_switch { 688 remote-endpoint = <&pmic_glink_con0_hs>; 689}; 690 691&usb_1 { 692 status = "okay"; 693}; 694 695&usb_1_dwc3 { 696 dr_mode = "host"; 697}; 698 699&usb_1_hsphy { 700 vdda-pll-supply = <&vreg_l4b>; 701 vdda18-supply = <&vreg_l1c>; 702 vdda33-supply = <&vreg_l13c>; 703 704 status = "okay"; 705}; 706 707&usb_1_qmpphy { 708 vdda-phy-supply = <&vreg_l4b>; 709 vdda-pll-supply = <&vreg_l3b>; 710 711 orientation-switch; 712 713 status = "okay"; 714}; 715 716&usb_1_qmpphy_dp_in { 717 remote-endpoint = <&mdss0_dp1_out>; 718}; 719 720&usb_1_qmpphy_out { 721 remote-endpoint = <&pmic_glink_con1_ss>; 722}; 723 724&usb_1_role_switch { 725 remote-endpoint = <&pmic_glink_con1_hs>; 726}; 727 728&xo_board_clk { 729 clock-frequency = <38400000>; 730}; 731 732/* PINCTRL - additions to nodes defined in sc8280xp.dtsi */ 733 734&pmc8280_1_gpios { 735 edp_bl_en: edp-bl-en-state { 736 pins = "gpio8"; 737 function = "normal"; 738 }; 739 740 edp_bl_reg_en: edp-bl-reg-en-state { 741 pins = "gpio9"; 742 function = "normal"; 743 }; 744 745 misc_3p3_reg_en: misc-3p3-reg-en-state { 746 pins = "gpio1"; 747 function = "normal"; 748 }; 749}; 750 751&pmc8280_2_gpios { 752 wwan_sw_en: wwan-sw-en-state { 753 pins = "gpio1"; 754 function = "normal"; 755 }; 756}; 757 758&pmc8280c_gpios { 759 edp_bl_pwm: edp-bl-pwm-state { 760 pins = "gpio8"; 761 function = "func1"; 762 }; 763}; 764 765&pmr735a_gpios { 766 hastings_reg_en: hastings-reg-en-state { 767 pins = "gpio1"; 768 function = "normal"; 769 }; 770}; 771 772&tlmm { 773 gpio-reserved-ranges = <74 6>, <83 4>, <125 2>, <128 2>, <154 7>; 774 775 edp_reg_en: edp-reg-en-state { 776 pins = "gpio25"; 777 function = "gpio"; 778 drive-strength = <16>; 779 bias-disable; 780 }; 781 782 i2c4_default: i2c4-default-state { 783 pins = "gpio171", "gpio172"; 784 function = "qup4"; 785 drive-strength = <16>; 786 bias-disable; 787 }; 788 789 i2c21_default: i2c21-default-state { 790 pins = "gpio81", "gpio82"; 791 function = "qup21"; 792 drive-strength = <16>; 793 bias-disable; 794 }; 795 796 kybd_default: kybd-default-state { 797 disable-pins { 798 pins = "gpio102"; 799 function = "gpio"; 800 output-low; 801 }; 802 803 int-n-pins { 804 pins = "gpio104"; 805 function = "gpio"; 806 bias-disable; 807 }; 808 809 reset-pins { 810 pins = "gpio105"; 811 function = "gpio"; 812 bias-disable; 813 }; 814 }; 815 816 nvme_reg_en: nvme-reg-en-state { 817 pins = "gpio135"; 818 function = "gpio"; 819 drive-strength = <2>; 820 bias-disable; 821 }; 822 823 pcie2a_default: pcie2a-default-state { 824 clkreq-n-pins { 825 pins = "gpio142"; 826 function = "pcie2a_clkreq"; 827 drive-strength = <2>; 828 bias-pull-up; 829 }; 830 831 perst-n-pins { 832 pins = "gpio143"; 833 function = "gpio"; 834 drive-strength = <2>; 835 bias-pull-down; 836 }; 837 838 wake-n-pins { 839 pins = "gpio145"; 840 function = "gpio"; 841 drive-strength = <2>; 842 bias-pull-up; 843 }; 844 }; 845 846 pcie3a_default: pcie3a-default-state { 847 clkreq-n-pins { 848 pins = "gpio150"; 849 function = "pcie3a_clkreq"; 850 drive-strength = <2>; 851 bias-pull-up; 852 }; 853 854 perst-n-pins { 855 pins = "gpio151"; 856 function = "gpio"; 857 drive-strength = <2>; 858 bias-pull-down; 859 }; 860 861 wake-n-pins { 862 pins = "gpio148"; 863 function = "gpio"; 864 drive-strength = <2>; 865 bias-pull-up; 866 }; 867 }; 868 869 pcie4_default: pcie4-default-state { 870 clkreq-n-pins { 871 pins = "gpio140"; 872 function = "pcie4_clkreq"; 873 drive-strength = <2>; 874 bias-pull-up; 875 }; 876 877 perst-n-pins { 878 pins = "gpio141"; 879 function = "gpio"; 880 drive-strength = <2>; 881 bias-pull-down; 882 }; 883 884 wake-n-pins { 885 pins = "gpio139"; 886 function = "gpio"; 887 drive-strength = <2>; 888 bias-pull-up; 889 }; 890 }; 891 892 sdc2_default_state: sdc2-default-state { 893 clk-pins { 894 pins = "sdc2_clk"; 895 drive-strength = <16>; 896 bias-disable; 897 }; 898 899 cmd-pins { 900 pins = "sdc2_cmd"; 901 drive-strength = <16>; 902 bias-pull-up; 903 }; 904 905 data-pins { 906 pins = "sdc2_data"; 907 drive-strength = <16>; 908 bias-pull-up; 909 }; 910 911 card-detect-pins { 912 pins = "gpio131"; 913 function = "gpio"; 914 drive-strength = <2>; 915 bias-disable; 916 }; 917 }; 918 919 sdc2_sleep_state: sdc2-sleep-state { 920 clk-pins { 921 pins = "sdc2_clk"; 922 drive-strength = <2>; 923 bias-disable; 924 }; 925 926 cmd-pins { 927 pins = "sdc2_cmd"; 928 drive-strength = <2>; 929 bias-pull-up; 930 }; 931 932 data-pins { 933 pins = "sdc2_data"; 934 drive-strength = <2>; 935 bias-pull-up; 936 }; 937 938 card-detect-pins { 939 pins = "gpio131"; 940 function = "gpio"; 941 drive-strength = <2>; 942 bias-disable; 943 }; 944 }; 945 946 tpad_default: tpad-default-state { 947 int-n-pins { 948 pins = "gpio182"; 949 function = "gpio"; 950 bias-disable; 951 }; 952 }; 953 954 ts0_default: ts0-default-state { 955 int-n-pins { 956 pins = "gpio175"; 957 function = "gpio"; 958 bias-disable; 959 }; 960 961 reset-n-pins { 962 pins = "gpio99"; 963 function = "gpio"; 964 output-high; 965 drive-strength = <16>; 966 }; 967 }; 968 969 usb0_sbu_default: usb0-sbu-state { 970 oe-n-pins { 971 pins = "gpio101"; 972 function = "gpio"; 973 bias-disable; 974 drive-strength = <16>; 975 output-high; 976 }; 977 978 sel-pins { 979 pins = "gpio164"; 980 function = "gpio"; 981 bias-disable; 982 drive-strength = <16>; 983 }; 984 985 mode-pins { 986 pins = "gpio167"; 987 function = "gpio"; 988 bias-disable; 989 drive-strength = <16>; 990 output-high; 991 }; 992 }; 993 994 usb1_sbu_default: usb1-sbu-state { 995 oe-n-pins { 996 pins = "gpio48"; 997 function = "gpio"; 998 bias-disable; 999 drive-strength = <16>; 1000 output-high; 1001 }; 1002 1003 sel-pins { 1004 pins = "gpio47"; 1005 function = "gpio"; 1006 bias-disable; 1007 drive-strength = <16>; 1008 }; 1009 1010 mode-pins { 1011 pins = "gpio50"; 1012 function = "gpio"; 1013 bias-disable; 1014 drive-strength = <16>; 1015 output-high; 1016 }; 1017 }; 1018}; 1019