1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2024 Aleksandrs Vinarskis <alex.vinarskis@gmail.com> 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/leds/common.h> 13#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 15#include "x1e80100.dtsi" 16#include "x1e80100-pmics.dtsi" 17 18/ { 19 model = "Dell XPS 13 9345"; 20 compatible = "dell,xps13-9345", "qcom,x1e80100"; 21 chassis-type = "laptop"; 22 23 aliases { 24 serial0 = &uart21; 25 }; 26 27 gpio-keys { 28 compatible = "gpio-keys"; 29 30 pinctrl-0 = <&hall_int_n_default>; 31 pinctrl-names = "default"; 32 33 switch-lid { 34 gpios = <&tlmm 92 GPIO_ACTIVE_LOW>; 35 linux,input-type = <EV_SW>; 36 linux,code = <SW_LID>; 37 wakeup-source; 38 wakeup-event-action = <EV_ACT_DEASSERTED>; 39 }; 40 }; 41 42 leds { 43 compatible = "gpio-leds"; 44 45 pinctrl-names = "default"; 46 pinctrl-0 = <&cam_indicator_en>; 47 48 led-camera-indicator { 49 label = "white:camera-indicator"; 50 function = LED_FUNCTION_INDICATOR; 51 color = <LED_COLOR_ID_WHITE>; 52 gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; 53 linux,default-trigger = "none"; 54 default-state = "off"; 55 /* Reuse as a panic indicator until we get a "camera on" trigger */ 56 panic-indicator; 57 }; 58 }; 59 60 pmic-glink { 61 compatible = "qcom,x1e80100-pmic-glink", 62 "qcom,sm8550-pmic-glink", 63 "qcom,pmic-glink"; 64 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>, 65 <&tlmm 123 GPIO_ACTIVE_HIGH>; 66 #address-cells = <1>; 67 #size-cells = <0>; 68 69 /* Right-side USB Type-C port */ 70 connector@0 { 71 compatible = "usb-c-connector"; 72 reg = <0>; 73 power-role = "dual"; 74 data-role = "dual"; 75 76 ports { 77 #address-cells = <1>; 78 #size-cells = <0>; 79 80 port@0 { 81 reg = <0>; 82 83 pmic_glink_ss0_hs_in: endpoint { 84 remote-endpoint = <&usb_1_ss0_dwc3_hs>; 85 }; 86 }; 87 88 port@1 { 89 reg = <1>; 90 91 pmic_glink_ss0_ss_in: endpoint { 92 remote-endpoint = <&usb_1_ss0_qmpphy_out>; 93 }; 94 }; 95 }; 96 }; 97 98 /* Left-side USB Type-C port */ 99 connector@1 { 100 compatible = "usb-c-connector"; 101 reg = <1>; 102 power-role = "dual"; 103 data-role = "dual"; 104 105 ports { 106 #address-cells = <1>; 107 #size-cells = <0>; 108 109 port@0 { 110 reg = <0>; 111 112 pmic_glink_ss1_hs_in: endpoint { 113 remote-endpoint = <&usb_1_ss1_dwc3_hs>; 114 }; 115 }; 116 117 port@1 { 118 reg = <1>; 119 120 pmic_glink_ss1_ss_in: endpoint { 121 remote-endpoint = <&usb_1_ss1_qmpphy_out>; 122 }; 123 }; 124 }; 125 }; 126 }; 127 128 reserved-memory { 129 linux,cma { 130 compatible = "shared-dma-pool"; 131 size = <0x0 0x8000000>; 132 reusable; 133 linux,cma-default; 134 }; 135 }; 136 137 vreg_edp_3p3: regulator-edp-3p3 { 138 compatible = "regulator-fixed"; 139 140 regulator-name = "VREG_EDP_3P3"; 141 regulator-min-microvolt = <3300000>; 142 regulator-max-microvolt = <3300000>; 143 144 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 145 enable-active-high; 146 147 pinctrl-0 = <&edp_reg_en>; 148 pinctrl-names = "default"; 149 150 regulator-boot-on; 151 }; 152 153 vreg_nvme: regulator-nvme { 154 compatible = "regulator-fixed"; 155 156 regulator-name = "VREG_NVME_3P3"; 157 regulator-min-microvolt = <3300000>; 158 regulator-max-microvolt = <3300000>; 159 160 gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; 161 enable-active-high; 162 163 pinctrl-0 = <&nvme_reg_en>; 164 pinctrl-names = "default"; 165 166 regulator-boot-on; 167 }; 168 169 vreg_vph_pwr: regulator-vph-pwr { 170 compatible = "regulator-fixed"; 171 172 regulator-name = "vph_pwr"; 173 regulator-min-microvolt = <3700000>; 174 regulator-max-microvolt = <3700000>; 175 176 regulator-always-on; 177 regulator-boot-on; 178 }; 179}; 180 181&apps_rsc { 182 regulators-0 { 183 compatible = "qcom,pm8550-rpmh-regulators"; 184 qcom,pmic-id = "b"; 185 vdd-bob1-supply = <&vreg_vph_pwr>; 186 vdd-bob2-supply = <&vreg_vph_pwr>; 187 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; 188 vdd-l2-l13-l14-supply = <&vreg_bob1>; 189 vdd-l5-l16-supply = <&vreg_bob1>; 190 vdd-l6-l7-supply = <&vreg_bob2>; 191 vdd-l8-l9-supply = <&vreg_bob1>; 192 vdd-l12-supply = <&vreg_s5j_1p2>; 193 vdd-l15-supply = <&vreg_s4c_1p8>; 194 vdd-l17-supply = <&vreg_bob2>; 195 196 vreg_bob1: bob1 { 197 regulator-name = "vreg_bob1"; 198 regulator-min-microvolt = <3008000>; 199 regulator-max-microvolt = <3960000>; 200 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 201 }; 202 203 vreg_bob2: bob2 { 204 regulator-name = "vreg_bob2"; 205 regulator-min-microvolt = <2504000>; 206 regulator-max-microvolt = <3008000>; 207 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 208 }; 209 210 vreg_l2b_3p0: ldo2 { 211 regulator-name = "vreg_l2b_3p0"; 212 regulator-min-microvolt = <3072000>; 213 regulator-max-microvolt = <3072000>; 214 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 215 }; 216 217 vreg_l4b_1p8: ldo4 { 218 regulator-name = "vreg_l4b_1p8"; 219 regulator-min-microvolt = <1800000>; 220 regulator-max-microvolt = <1800000>; 221 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 222 }; 223 224 vreg_l6b_1p8: ldo6 { 225 regulator-name = "vreg_l6b_1p8"; 226 regulator-min-microvolt = <1800000>; 227 regulator-max-microvolt = <2960000>; 228 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 229 }; 230 231 vreg_l8b_3p0: ldo8 { 232 regulator-name = "vreg_l8b_3p0"; 233 regulator-min-microvolt = <3072000>; 234 regulator-max-microvolt = <3072000>; 235 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 236 }; 237 238 vreg_l9b_2p9: ldo9 { 239 regulator-name = "vreg_l9b_2p9"; 240 regulator-min-microvolt = <2960000>; 241 regulator-max-microvolt = <2960000>; 242 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 243 }; 244 245 vreg_l12b_1p2: ldo12 { 246 regulator-name = "vreg_l12b_1p2"; 247 regulator-min-microvolt = <1200000>; 248 regulator-max-microvolt = <1200000>; 249 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 250 }; 251 252 vreg_l13b_3p0: ldo13 { 253 regulator-name = "vreg_l13b_3p0"; 254 regulator-min-microvolt = <3072000>; 255 regulator-max-microvolt = <3072000>; 256 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 257 }; 258 259 vreg_l14b_3p0: ldo14 { 260 regulator-name = "vreg_l14b_3p0"; 261 regulator-min-microvolt = <3072000>; 262 regulator-max-microvolt = <3072000>; 263 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 264 }; 265 266 vreg_l15b_1p8: ldo15 { 267 regulator-name = "vreg_l15b_1p8"; 268 regulator-min-microvolt = <1800000>; 269 regulator-max-microvolt = <1800000>; 270 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 271 }; 272 273 vreg_l17b_2p5: ldo17 { 274 regulator-name = "vreg_l17b_2p5"; 275 regulator-min-microvolt = <2504000>; 276 regulator-max-microvolt = <2504000>; 277 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 278 }; 279 }; 280 281 regulators-1 { 282 compatible = "qcom,pm8550ve-rpmh-regulators"; 283 qcom,pmic-id = "c"; 284 vdd-l1-supply = <&vreg_s5j_1p2>; 285 vdd-l2-supply = <&vreg_s1f_0p7>; 286 vdd-l3-supply = <&vreg_s1f_0p7>; 287 288 vreg_s4c_1p8: smps4 { 289 regulator-name = "vreg_s4c_1p8"; 290 regulator-min-microvolt = <1856000>; 291 regulator-max-microvolt = <2000000>; 292 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 293 }; 294 295 vreg_l1c_1p2: ldo1 { 296 regulator-name = "vreg_l1c_1p2"; 297 regulator-min-microvolt = <1200000>; 298 regulator-max-microvolt = <1200000>; 299 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 300 }; 301 302 vreg_l2c_0p8: ldo2 { 303 regulator-name = "vreg_l2c_0p8"; 304 regulator-min-microvolt = <880000>; 305 regulator-max-microvolt = <880000>; 306 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 307 }; 308 309 vreg_l3c_0p9: ldo3 { 310 regulator-name = "vreg_l3c_0p9"; 311 regulator-min-microvolt = <920000>; 312 regulator-max-microvolt = <920000>; 313 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 314 }; 315 }; 316 317 regulators-2 { 318 compatible = "qcom,pmc8380-rpmh-regulators"; 319 qcom,pmic-id = "d"; 320 vdd-l1-supply = <&vreg_s1f_0p7>; 321 vdd-l2-supply = <&vreg_s1f_0p7>; 322 vdd-l3-supply = <&vreg_s4c_1p8>; 323 vdd-s1-supply = <&vreg_vph_pwr>; 324 325 vreg_l1d_0p8: ldo1 { 326 regulator-name = "vreg_l1d_0p8"; 327 regulator-min-microvolt = <880000>; 328 regulator-max-microvolt = <880000>; 329 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 330 }; 331 332 vreg_l2d_0p9: ldo2 { 333 regulator-name = "vreg_l2d_0p9"; 334 regulator-min-microvolt = <912000>; 335 regulator-max-microvolt = <912000>; 336 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 337 }; 338 339 vreg_l3d_1p8: ldo3 { 340 regulator-name = "vreg_l3d_1p8"; 341 regulator-min-microvolt = <1800000>; 342 regulator-max-microvolt = <1800000>; 343 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 344 }; 345 }; 346 347 regulators-3 { 348 compatible = "qcom,pmc8380-rpmh-regulators"; 349 qcom,pmic-id = "e"; 350 vdd-l2-supply = <&vreg_s1f_0p7>; 351 vdd-l3-supply = <&vreg_s5j_1p2>; 352 353 vreg_l2e_0p8: ldo2 { 354 regulator-name = "vreg_l2e_0p8"; 355 regulator-min-microvolt = <880000>; 356 regulator-max-microvolt = <880000>; 357 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 358 }; 359 360 vreg_l3e_1p2: ldo3 { 361 regulator-name = "vreg_l3e_1p2"; 362 regulator-min-microvolt = <1200000>; 363 regulator-max-microvolt = <1200000>; 364 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 365 }; 366 }; 367 368 regulators-4 { 369 compatible = "qcom,pmc8380-rpmh-regulators"; 370 qcom,pmic-id = "f"; 371 vdd-l1-supply = <&vreg_s5j_1p2>; 372 vdd-l2-supply = <&vreg_s5j_1p2>; 373 vdd-l3-supply = <&vreg_s5j_1p2>; 374 vdd-s1-supply = <&vreg_vph_pwr>; 375 376 vreg_s1f_0p7: smps1 { 377 regulator-name = "vreg_s1f_0p7"; 378 regulator-min-microvolt = <700000>; 379 regulator-max-microvolt = <1100000>; 380 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 381 }; 382 }; 383 384 regulators-6 { 385 compatible = "qcom,pm8550ve-rpmh-regulators"; 386 qcom,pmic-id = "i"; 387 vdd-l1-supply = <&vreg_s4c_1p8>; 388 vdd-l2-supply = <&vreg_s5j_1p2>; 389 vdd-l3-supply = <&vreg_s1f_0p7>; 390 vdd-s1-supply = <&vreg_vph_pwr>; 391 vdd-s2-supply = <&vreg_vph_pwr>; 392 393 vreg_s1i_0p9: smps1 { 394 regulator-name = "vreg_s1i_0p9"; 395 regulator-min-microvolt = <900000>; 396 regulator-max-microvolt = <920000>; 397 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 398 }; 399 400 vreg_s2i_1p0: smps2 { 401 regulator-name = "vreg_s2i_1p0"; 402 regulator-min-microvolt = <1000000>; 403 regulator-max-microvolt = <1100000>; 404 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 405 }; 406 407 vreg_l1i_1p8: ldo1 { 408 regulator-name = "vreg_l1i_1p8"; 409 regulator-min-microvolt = <1800000>; 410 regulator-max-microvolt = <1800000>; 411 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 412 }; 413 414 vreg_l2i_1p2: ldo2 { 415 regulator-name = "vreg_l2i_1p2"; 416 regulator-min-microvolt = <1200000>; 417 regulator-max-microvolt = <1200000>; 418 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 419 }; 420 421 vreg_l3i_0p8: ldo3 { 422 regulator-name = "vreg_l3i_0p8"; 423 regulator-min-microvolt = <880000>; 424 regulator-max-microvolt = <880000>; 425 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 426 }; 427 }; 428 429 regulators-7 { 430 compatible = "qcom,pm8550ve-rpmh-regulators"; 431 qcom,pmic-id = "j"; 432 vdd-l1-supply = <&vreg_s1f_0p7>; 433 vdd-l2-supply = <&vreg_s5j_1p2>; 434 vdd-l3-supply = <&vreg_s1f_0p7>; 435 vdd-s5-supply = <&vreg_vph_pwr>; 436 437 vreg_s5j_1p2: smps5 { 438 regulator-name = "vreg_s5j_1p2"; 439 regulator-min-microvolt = <1256000>; 440 regulator-max-microvolt = <1304000>; 441 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 442 }; 443 444 vreg_l1j_0p9: ldo1 { 445 regulator-name = "vreg_l1j_0p9"; 446 regulator-min-microvolt = <912000>; 447 regulator-max-microvolt = <912000>; 448 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 449 }; 450 451 vreg_l2j_1p2: ldo2 { 452 regulator-name = "vreg_l2j_1p2"; 453 regulator-min-microvolt = <1256000>; 454 regulator-max-microvolt = <1256000>; 455 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 456 }; 457 458 vreg_l3j_0p8: ldo3 { 459 regulator-name = "vreg_l3j_0p8"; 460 regulator-min-microvolt = <880000>; 461 regulator-max-microvolt = <880000>; 462 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 463 }; 464 }; 465}; 466 467&gpu { 468 status = "okay"; 469 470 zap-shader { 471 firmware-name = "qcom/x1e80100/dell/xps13-9345/qcdxkmsuc8380.mbn"; 472 }; 473}; 474 475&i2c0 { 476 clock-frequency = <400000>; 477 status = "okay"; 478 479 keyboard@5 { 480 compatible = "hid-over-i2c"; 481 reg = <0x5>; 482 483 hid-descr-addr = <0x20>; 484 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; 485 486 pinctrl-0 = <&kybd_default>; 487 pinctrl-names = "default"; 488 489 wakeup-source; 490 }; 491}; 492 493&i2c3 { 494 clock-frequency = <400000>; 495 status = "disabled"; 496 /* PS8830 Retimer @0x8 */ 497 /* Unknown device @0x9 */ 498}; 499 500&i2c5 { 501 clock-frequency = <100000>; 502 status = "disabled"; 503 /* EC @0x3b */ 504}; 505 506&i2c7 { 507 clock-frequency = <400000>; 508 status = "disabled"; 509 /* PS8830 Retimer @0x8 */ 510 /* Unknown device @0x9 */ 511}; 512 513&i2c8 { 514 clock-frequency = <400000>; 515 516 status = "okay"; 517 518 touchscreen@10 { 519 compatible = "hid-over-i2c"; 520 reg = <0x10>; 521 522 hid-descr-addr = <0x1>; 523 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; 524 525 pinctrl-0 = <&ts0_default>; 526 pinctrl-names = "default"; 527 }; 528}; 529 530&i2c9 { 531 clock-frequency = <400000>; 532 status = "disabled"; 533 /* USB3 retimer device @0x4f */ 534}; 535 536&i2c17 { 537 clock-frequency = <400000>; 538 status = "okay"; 539 540 touchpad@2c { 541 compatible = "hid-over-i2c"; 542 reg = <0x2c>; 543 544 hid-descr-addr = <0x20>; 545 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; 546 547 pinctrl-0 = <&tpad_default>; 548 pinctrl-names = "default"; 549 550 wakeup-source; 551 }; 552}; 553 554&mdss { 555 status = "okay"; 556}; 557 558&mdss_dp3 { 559 /delete-property/ #sound-dai-cells; 560 561 status = "okay"; 562 563 aux-bus { 564 panel { 565 compatible = "edp-panel"; 566 enable-gpios = <&tlmm 74 GPIO_ACTIVE_HIGH>; 567 power-supply = <&vreg_edp_3p3>; 568 569 pinctrl-0 = <&edp_bl_en>; 570 pinctrl-names = "default"; 571 572 port { 573 edp_panel_in: endpoint { 574 remote-endpoint = <&mdss_dp3_out>; 575 }; 576 }; 577 }; 578 }; 579 580 ports { 581 port@1 { 582 reg = <1>; 583 584 mdss_dp3_out: endpoint { 585 data-lanes = <0 1 2 3>; 586 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 587 588 remote-endpoint = <&edp_panel_in>; 589 }; 590 }; 591 }; 592}; 593 594&mdss_dp3_phy { 595 vdda-phy-supply = <&vreg_l3j_0p8>; 596 vdda-pll-supply = <&vreg_l2j_1p2>; 597 598 status = "okay"; 599}; 600 601&pcie4 { 602 perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; 603 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 604 605 pinctrl-0 = <&pcie4_default>; 606 pinctrl-names = "default"; 607 608 status = "okay"; 609}; 610 611&pcie4_phy { 612 vdda-phy-supply = <&vreg_l3i_0p8>; 613 vdda-pll-supply = <&vreg_l3e_1p2>; 614 615 status = "okay"; 616}; 617 618&pcie6a { 619 perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 620 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; 621 622 vddpe-3v3-supply = <&vreg_nvme>; 623 624 pinctrl-0 = <&pcie6a_default>; 625 pinctrl-names = "default"; 626 627 status = "okay"; 628}; 629 630&pcie6a_phy { 631 vdda-phy-supply = <&vreg_l1d_0p8>; 632 vdda-pll-supply = <&vreg_l2j_1p2>; 633 634 status = "okay"; 635}; 636 637&qupv3_0 { 638 status = "okay"; 639}; 640 641&qupv3_1 { 642 status = "okay"; 643}; 644 645&qupv3_2 { 646 status = "okay"; 647}; 648 649&remoteproc_adsp { 650 firmware-name = "qcom/x1e80100/dell/xps13-9345/qcadsp8380.mbn", 651 "qcom/x1e80100/dell/xps13-9345/adsp_dtbs.elf"; 652 653 status = "okay"; 654}; 655 656&remoteproc_cdsp { 657 firmware-name = "qcom/x1e80100/dell/xps13-9345/qccdsp8380.mbn", 658 "qcom/x1e80100/dell/xps13-9345/cdsp_dtbs.elf"; 659 660 status = "okay"; 661}; 662 663&smb2360_0_eusb2_repeater { 664 vdd18-supply = <&vreg_l3d_1p8>; 665 vdd3-supply = <&vreg_l2b_3p0>; 666}; 667 668&smb2360_1_eusb2_repeater { 669 vdd18-supply = <&vreg_l3d_1p8>; 670 vdd3-supply = <&vreg_l14b_3p0>; 671}; 672 673&tlmm { 674 gpio-reserved-ranges = <44 4>, /* SPI11 (TPM) */ 675 <76 4>, /* SPI19 (TZ Protected) */ 676 <238 1>; /* UFS Reset */ 677 678 cam_indicator_en: cam-indicator-en-state { 679 pins = "gpio110"; 680 function = "gpio"; 681 drive-strength = <2>; 682 bias-disable; 683 }; 684 685 edp_bl_en: edp-bl-en-state { 686 pins = "gpio74"; 687 function = "gpio"; 688 drive-strength = <2>; 689 bias-disable; 690 }; 691 692 edp_reg_en: edp-reg-en-state { 693 pins = "gpio70"; 694 function = "gpio"; 695 drive-strength = <16>; 696 bias-disable; 697 }; 698 699 hall_int_n_default: hall-int-n-state { 700 pins = "gpio92"; 701 function = "gpio"; 702 703 bias-disable; 704 }; 705 706 kybd_default: kybd-default-state { 707 pins = "gpio67"; 708 function = "gpio"; 709 bias-pull-up; 710 }; 711 712 nvme_reg_en: nvme-reg-en-state { 713 pins = "gpio18"; 714 function = "gpio"; 715 drive-strength = <2>; 716 bias-disable; 717 }; 718 719 pcie4_default: pcie4-default-state { 720 clkreq-n-pins { 721 pins = "gpio147"; 722 function = "pcie4_clk"; 723 drive-strength = <2>; 724 bias-pull-up; 725 }; 726 727 perst-n-pins { 728 pins = "gpio146"; 729 function = "gpio"; 730 drive-strength = <2>; 731 bias-disable; 732 }; 733 734 wake-n-pins { 735 pins = "gpio148"; 736 function = "gpio"; 737 drive-strength = <2>; 738 bias-pull-up; 739 }; 740 }; 741 742 pcie6a_default: pcie6a-default-state { 743 clkreq-n-pins { 744 pins = "gpio153"; 745 function = "pcie6a_clk"; 746 drive-strength = <2>; 747 bias-pull-up; 748 }; 749 750 perst-n-pins { 751 pins = "gpio152"; 752 function = "gpio"; 753 drive-strength = <2>; 754 bias-disable; 755 }; 756 757 wake-n-pins { 758 pins = "gpio154"; 759 function = "gpio"; 760 drive-strength = <2>; 761 bias-pull-up; 762 }; 763 }; 764 765 tpad_default: tpad-default-state { 766 disable-pins { 767 pins = "gpio38"; 768 function = "gpio"; 769 output-high; 770 }; 771 772 int-n-pins { 773 pins = "gpio3"; 774 function = "gpio"; 775 bias-pull-up; 776 }; 777 778 reset-n-pins { 779 pins = "gpio52"; 780 function = "gpio"; 781 bias-disable; 782 }; 783 }; 784 785 ts0_default: ts0-default-state { 786 disable-pins { 787 pins = "gpio75"; 788 function = "gpio"; 789 output-high; 790 }; 791 792 int-n-pins { 793 pins = "gpio51"; 794 function = "gpio"; 795 bias-pull-up; 796 }; 797 798 reset-n-pins { 799 /* Technically should be High-Z input */ 800 pins = "gpio48"; 801 function = "gpio"; 802 output-low; 803 drive-strength = <2>; 804 }; 805 }; 806}; 807 808&uart21 { 809 compatible = "qcom,geni-debug-uart"; 810 status = "okay"; 811}; 812 813&usb_1_ss0_hsphy { 814 vdd-supply = <&vreg_l3j_0p8>; 815 vdda12-supply = <&vreg_l2j_1p2>; 816 817 phys = <&smb2360_0_eusb2_repeater>; 818 819 status = "okay"; 820}; 821 822&usb_1_ss0_qmpphy { 823 vdda-phy-supply = <&vreg_l3e_1p2>; 824 vdda-pll-supply = <&vreg_l1j_0p9>; 825 826 status = "okay"; 827}; 828 829&usb_1_ss0 { 830 status = "okay"; 831}; 832 833&usb_1_ss0_dwc3 { 834 dr_mode = "host"; 835}; 836 837&usb_1_ss0_dwc3_hs { 838 remote-endpoint = <&pmic_glink_ss0_hs_in>; 839}; 840 841&usb_1_ss0_qmpphy_out { 842 remote-endpoint = <&pmic_glink_ss0_ss_in>; 843}; 844 845&usb_1_ss1_hsphy { 846 vdd-supply = <&vreg_l3j_0p8>; 847 vdda12-supply = <&vreg_l2j_1p2>; 848 849 phys = <&smb2360_1_eusb2_repeater>; 850 851 status = "okay"; 852}; 853 854&usb_1_ss1_qmpphy { 855 vdda-phy-supply = <&vreg_l3e_1p2>; 856 vdda-pll-supply = <&vreg_l2d_0p9>; 857 858 status = "okay"; 859}; 860 861&usb_1_ss1 { 862 status = "okay"; 863}; 864 865&usb_1_ss1_dwc3 { 866 dr_mode = "host"; 867}; 868 869&usb_1_ss1_dwc3_hs { 870 remote-endpoint = <&pmic_glink_ss1_hs_in>; 871}; 872 873&usb_1_ss1_qmpphy_out { 874 remote-endpoint = <&pmic_glink_ss1_ss_in>; 875}; 876