1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2024-2025, Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6/dts-v1/; 7 8#include <dt-bindings/gpio/gpio.h> 9#include <dt-bindings/pwm/pwm.h> 10#include <dt-bindings/sound/qcom,q6afe.h> 11#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 13#include "lemans.dtsi" 14#include "lemans-pmics.dtsi" 15 16/ { 17 model = "Qualcomm Technologies, Inc. Lemans EVK"; 18 compatible = "qcom,lemans-evk", "qcom,qcs9100", "qcom,sa8775p"; 19 20 aliases { 21 ethernet0 = ðernet0; 22 mmc1 = &sdhc; 23 serial0 = &uart10; 24 serial2 = &uart0; 25 }; 26 27 dmic: audio-codec-0 { 28 compatible = "dmic-codec"; 29 #sound-dai-cells = <0>; 30 num-channels = <1>; 31 }; 32 33 max98357a: audio-codec-1 { 34 compatible = "maxim,max98357a"; 35 #sound-dai-cells = <0>; 36 }; 37 38 chosen { 39 stdout-path = "serial0:115200n8"; 40 }; 41 42 connector-0 { 43 compatible = "usb-c-connector"; 44 label = "USB0-Type-C"; 45 data-role = "dual"; 46 power-role = "dual"; 47 48 vbus-supply = <&usb0_vbus>; 49 50 ports { 51 #address-cells = <1>; 52 #size-cells = <0>; 53 54 port@0 { 55 reg = <0>; 56 57 usb0_con_hs_ep: endpoint { 58 remote-endpoint = <&usb_0_dwc3_hs>; 59 }; 60 }; 61 62 port@1 { 63 reg = <1>; 64 65 usb0_con_ss_ep: endpoint { 66 remote-endpoint = <&hd3ss3220_in_ep>; 67 }; 68 }; 69 }; 70 }; 71 72 connector-2 { 73 compatible = "gpio-usb-b-connector", "usb-b-connector"; 74 label = "micro-USB"; 75 type = "micro"; 76 77 id-gpios = <&pmm8654au_2_gpios 11 GPIO_ACTIVE_HIGH>; 78 vbus-gpios = <&expander3 3 GPIO_ACTIVE_HIGH>; 79 vbus-supply = <&usb2_vbus>; 80 81 pinctrl-0 = <&usb2_id>; 82 pinctrl-names = "default"; 83 84 port { 85 usb2_con_hs_ep: endpoint { 86 remote-endpoint = <&usb_2_dwc3_hs>; 87 }; 88 }; 89 }; 90 91 edp0-connector { 92 compatible = "dp-connector"; 93 label = "EDP0"; 94 type = "mini"; 95 96 port { 97 edp0_connector_in: endpoint { 98 remote-endpoint = <&mdss0_dp0_out>; 99 }; 100 }; 101 }; 102 103 edp1-connector { 104 compatible = "dp-connector"; 105 label = "EDP1"; 106 type = "mini"; 107 108 port { 109 edp1_connector_in: endpoint { 110 remote-endpoint = <&mdss0_dp1_out>; 111 }; 112 }; 113 }; 114 115 sound { 116 compatible = "qcom,qcs9100-sndcard"; 117 model = "LEMANS-EVK"; 118 119 pinctrl-0 = <&hs0_mi2s_active>, <&hs2_mi2s_active>; 120 pinctrl-names = "default"; 121 122 hs0-mi2s-playback-dai-link { 123 link-name = "HS0 MI2S Playback"; 124 125 codec { 126 sound-dai = <&max98357a>; 127 }; 128 129 cpu { 130 sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>; 131 }; 132 133 platform { 134 sound-dai = <&q6apm>; 135 }; 136 }; 137 138 hs2-mi2s-capture-dai-link { 139 link-name = "HS2 MI2S Capture"; 140 141 codec { 142 sound-dai = <&dmic>; 143 }; 144 145 cpu { 146 sound-dai = <&q6apmbedai TERTIARY_MI2S_TX>; 147 }; 148 149 platform { 150 sound-dai = <&q6apm>; 151 }; 152 }; 153 }; 154 155 usb0_vbus: regulator-usb0-vbus { 156 compatible = "regulator-fixed"; 157 regulator-name = "usb0_vbus"; 158 gpio = <&expander1 2 GPIO_ACTIVE_HIGH>; 159 regulator-min-microvolt = <5000000>; 160 regulator-max-microvolt = <5000000>; 161 enable-active-high; 162 }; 163 164 usb2_vbus: regulator-usb2-vbus { 165 compatible = "regulator-fixed"; 166 regulator-name = "usb2_vbus"; 167 gpio = <&pmm8654au_1_gpios 9 GPIO_ACTIVE_HIGH>; 168 regulator-min-microvolt = <5000000>; 169 regulator-max-microvolt = <5000000>; 170 enable-active-high; 171 }; 172 173 vmmc_sdc: regulator-vmmc-sdc { 174 compatible = "regulator-fixed"; 175 176 regulator-name = "vmmc_sdc"; 177 regulator-min-microvolt = <2950000>; 178 regulator-max-microvolt = <2950000>; 179 }; 180 181 vreg_sdc: regulator-vreg-sdc { 182 compatible = "regulator-gpio"; 183 184 regulator-name = "vreg_sdc"; 185 regulator-type = "voltage"; 186 regulator-min-microvolt = <1800000>; 187 regulator-max-microvolt = <2950000>; 188 189 gpios = <&expander1 7 GPIO_ACTIVE_HIGH>; 190 states = <1800000 1>, <2950000 0>; 191 192 startup-delay-us = <100>; 193 }; 194}; 195 196&apps_rsc { 197 regulators-0 { 198 compatible = "qcom,pmm8654au-rpmh-regulators"; 199 qcom,pmic-id = "a"; 200 201 vreg_s4a: smps4 { 202 regulator-name = "vreg_s4a"; 203 regulator-min-microvolt = <1800000>; 204 regulator-max-microvolt = <1816000>; 205 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 206 }; 207 208 vreg_s5a: smps5 { 209 regulator-name = "vreg_s5a"; 210 regulator-min-microvolt = <1850000>; 211 regulator-max-microvolt = <1996000>; 212 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 213 }; 214 215 vreg_s9a: smps9 { 216 regulator-name = "vreg_s9a"; 217 regulator-min-microvolt = <535000>; 218 regulator-max-microvolt = <1120000>; 219 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 220 }; 221 222 vreg_l4a: ldo4 { 223 regulator-name = "vreg_l4a"; 224 regulator-min-microvolt = <788000>; 225 regulator-max-microvolt = <1050000>; 226 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 227 regulator-allow-set-load; 228 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 229 RPMH_REGULATOR_MODE_HPM>; 230 }; 231 232 vreg_l5a: ldo5 { 233 regulator-name = "vreg_l5a"; 234 regulator-min-microvolt = <870000>; 235 regulator-max-microvolt = <950000>; 236 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 237 regulator-allow-set-load; 238 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 239 RPMH_REGULATOR_MODE_HPM>; 240 }; 241 242 vreg_l6a: ldo6 { 243 regulator-name = "vreg_l6a"; 244 regulator-min-microvolt = <870000>; 245 regulator-max-microvolt = <970000>; 246 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 247 regulator-allow-set-load; 248 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 249 RPMH_REGULATOR_MODE_HPM>; 250 }; 251 252 vreg_l7a: ldo7 { 253 regulator-name = "vreg_l7a"; 254 regulator-min-microvolt = <720000>; 255 regulator-max-microvolt = <950000>; 256 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 257 regulator-allow-set-load; 258 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 259 RPMH_REGULATOR_MODE_HPM>; 260 }; 261 262 vreg_l8a: ldo8 { 263 regulator-name = "vreg_l8a"; 264 regulator-min-microvolt = <2504000>; 265 regulator-max-microvolt = <3300000>; 266 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 267 regulator-allow-set-load; 268 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 269 RPMH_REGULATOR_MODE_HPM>; 270 }; 271 272 vreg_l9a: ldo9 { 273 regulator-name = "vreg_l9a"; 274 regulator-min-microvolt = <2970000>; 275 regulator-max-microvolt = <3544000>; 276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 277 regulator-allow-set-load; 278 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 279 RPMH_REGULATOR_MODE_HPM>; 280 }; 281 }; 282 283 regulators-1 { 284 compatible = "qcom,pmm8654au-rpmh-regulators"; 285 qcom,pmic-id = "c"; 286 287 vreg_l1c: ldo1 { 288 regulator-name = "vreg_l1c"; 289 regulator-min-microvolt = <1140000>; 290 regulator-max-microvolt = <1260000>; 291 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 292 regulator-allow-set-load; 293 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 294 RPMH_REGULATOR_MODE_HPM>; 295 }; 296 297 vreg_l2c: ldo2 { 298 regulator-name = "vreg_l2c"; 299 regulator-min-microvolt = <900000>; 300 regulator-max-microvolt = <1100000>; 301 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 302 regulator-allow-set-load; 303 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 304 RPMH_REGULATOR_MODE_HPM>; 305 }; 306 307 vreg_l3c: ldo3 { 308 regulator-name = "vreg_l3c"; 309 regulator-min-microvolt = <1100000>; 310 regulator-max-microvolt = <1300000>; 311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 312 regulator-allow-set-load; 313 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 314 RPMH_REGULATOR_MODE_HPM>; 315 }; 316 317 vreg_l4c: ldo4 { 318 regulator-name = "vreg_l4c"; 319 regulator-min-microvolt = <1200000>; 320 regulator-max-microvolt = <1200000>; 321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 322 regulator-allow-set-load; 323 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 324 RPMH_REGULATOR_MODE_HPM>; 325 }; 326 327 vreg_l5c: ldo5 { 328 regulator-name = "vreg_l5c"; 329 regulator-min-microvolt = <1100000>; 330 regulator-max-microvolt = <1300000>; 331 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 332 regulator-allow-set-load; 333 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 334 RPMH_REGULATOR_MODE_HPM>; 335 }; 336 337 vreg_l6c: ldo6 { 338 regulator-name = "vreg_l6c"; 339 regulator-min-microvolt = <1620000>; 340 regulator-max-microvolt = <1980000>; 341 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 342 regulator-allow-set-load; 343 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 344 RPMH_REGULATOR_MODE_HPM>; 345 }; 346 347 vreg_l7c: ldo7 { 348 regulator-name = "vreg_l7c"; 349 regulator-min-microvolt = <1620000>; 350 regulator-max-microvolt = <2000000>; 351 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 352 regulator-allow-set-load; 353 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 354 RPMH_REGULATOR_MODE_HPM>; 355 }; 356 357 vreg_l8c: ldo8 { 358 regulator-name = "vreg_l8c"; 359 regulator-min-microvolt = <2400000>; 360 regulator-max-microvolt = <3300000>; 361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 362 regulator-allow-set-load; 363 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 364 RPMH_REGULATOR_MODE_HPM>; 365 }; 366 367 vreg_l9c: ldo9 { 368 regulator-name = "vreg_l9c"; 369 regulator-min-microvolt = <1650000>; 370 regulator-max-microvolt = <2700000>; 371 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 372 regulator-allow-set-load; 373 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 374 RPMH_REGULATOR_MODE_HPM>; 375 }; 376 }; 377 378 regulators-2 { 379 compatible = "qcom,pmm8654au-rpmh-regulators"; 380 qcom,pmic-id = "e"; 381 382 vreg_s4e: smps4 { 383 regulator-name = "vreg_s4e"; 384 regulator-min-microvolt = <970000>; 385 regulator-max-microvolt = <1520000>; 386 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 387 }; 388 389 vreg_s7e: smps7 { 390 regulator-name = "vreg_s7e"; 391 regulator-min-microvolt = <1010000>; 392 regulator-max-microvolt = <1170000>; 393 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 394 }; 395 396 vreg_s9e: smps9 { 397 regulator-name = "vreg_s9e"; 398 regulator-min-microvolt = <300000>; 399 regulator-max-microvolt = <570000>; 400 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 401 }; 402 403 vreg_l6e: ldo6 { 404 regulator-name = "vreg_l6e"; 405 regulator-min-microvolt = <1280000>; 406 regulator-max-microvolt = <1450000>; 407 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 408 regulator-allow-set-load; 409 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 410 RPMH_REGULATOR_MODE_HPM>; 411 }; 412 413 vreg_l8e: ldo8 { 414 regulator-name = "vreg_l8e"; 415 regulator-min-microvolt = <1800000>; 416 regulator-max-microvolt = <1950000>; 417 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 418 regulator-allow-set-load; 419 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 420 RPMH_REGULATOR_MODE_HPM>; 421 }; 422 }; 423}; 424 425ðernet0 { 426 phy-handle = <&hsgmii_phy0>; 427 phy-mode = "2500base-x"; 428 429 pinctrl-0 = <ðernet0_default>; 430 pinctrl-names = "default"; 431 432 snps,mtl-rx-config = <&mtl_rx_setup>; 433 snps,mtl-tx-config = <&mtl_tx_setup>; 434 435 nvmem-cells = <&mac_addr0>; 436 nvmem-cell-names = "mac-address"; 437 438 status = "okay"; 439 440 mdio { 441 compatible = "snps,dwmac-mdio"; 442 #address-cells = <1>; 443 #size-cells = <0>; 444 445 hsgmii_phy0: ethernet-phy@1c { 446 compatible = "ethernet-phy-id004d.d101"; 447 reg = <0x1c>; 448 reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>; 449 reset-assert-us = <11000>; 450 reset-deassert-us = <70000>; 451 }; 452 }; 453 454 mtl_rx_setup: rx-queues-config { 455 snps,rx-queues-to-use = <4>; 456 snps,rx-sched-sp; 457 458 queue0 { 459 snps,dcb-algorithm; 460 snps,map-to-dma-channel = <0x0>; 461 snps,route-up; 462 snps,priority = <0x1>; 463 }; 464 465 queue1 { 466 snps,dcb-algorithm; 467 snps,map-to-dma-channel = <0x1>; 468 snps,route-ptp; 469 }; 470 471 queue2 { 472 snps,avb-algorithm; 473 snps,map-to-dma-channel = <0x2>; 474 snps,route-avcp; 475 }; 476 477 queue3 { 478 snps,avb-algorithm; 479 snps,map-to-dma-channel = <0x3>; 480 snps,priority = <0xc>; 481 }; 482 }; 483 484 mtl_tx_setup: tx-queues-config { 485 snps,tx-queues-to-use = <4>; 486 487 queue0 { 488 snps,dcb-algorithm; 489 }; 490 491 queue1 { 492 snps,dcb-algorithm; 493 }; 494 495 queue2 { 496 snps,avb-algorithm; 497 snps,send_slope = <0x1000>; 498 snps,idle_slope = <0x1000>; 499 snps,high_credit = <0x3e800>; 500 snps,low_credit = <0xffc18000>; 501 }; 502 503 queue3 { 504 snps,avb-algorithm; 505 snps,send_slope = <0x1000>; 506 snps,idle_slope = <0x1000>; 507 snps,high_credit = <0x3e800>; 508 snps,low_credit = <0xffc18000>; 509 }; 510 }; 511}; 512 513&gpi_dma0 { 514 status = "okay"; 515}; 516 517&gpi_dma1 { 518 status = "okay"; 519}; 520 521&gpi_dma2 { 522 status = "okay"; 523}; 524 525&gpu { 526 status = "okay"; 527}; 528 529&gpu_zap_shader { 530 firmware-name = "qcom/sa8775p/a663_zap.mbn"; 531}; 532 533&i2c11 { 534 status = "okay"; 535 536 usb-typec@67 { 537 compatible = "ti,hd3ss3220"; 538 reg = <0x67>; 539 540 interrupts-extended = <&pmm8654au_2_gpios 5 IRQ_TYPE_EDGE_FALLING>; 541 542 id-gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>; 543 544 pinctrl-0 = <&usb_id>, <&usb0_intr_state>; 545 pinctrl-names = "default"; 546 547 ports { 548 #address-cells = <1>; 549 #size-cells = <0>; 550 551 port@0 { 552 reg = <0>; 553 554 hd3ss3220_in_ep: endpoint { 555 remote-endpoint = <&usb0_con_ss_ep>; 556 }; 557 }; 558 559 port@1 { 560 reg = <1>; 561 562 hd3ss3220_out_ep: endpoint { 563 remote-endpoint = <&usb_0_dwc3_ss>; 564 }; 565 }; 566 }; 567 }; 568}; 569 570&i2c18 { 571 status = "okay"; 572 573 expander0: gpio@38 { 574 compatible = "ti,tca9538"; 575 reg = <0x38>; 576 #gpio-cells = <2>; 577 gpio-controller; 578 #interrupt-cells = <2>; 579 interrupt-controller; 580 interrupts-extended = <&tlmm 138 IRQ_TYPE_LEVEL_LOW>; 581 pinctrl-0 = <&expander0_int>; 582 pinctrl-names = "default"; 583 }; 584 585 expander1: gpio@39 { 586 compatible = "ti,tca9538"; 587 reg = <0x39>; 588 #gpio-cells = <2>; 589 gpio-controller; 590 #interrupt-cells = <2>; 591 interrupt-controller; 592 interrupts-extended = <&tlmm 19 IRQ_TYPE_LEVEL_LOW>; 593 pinctrl-0 = <&expander1_int>; 594 pinctrl-names = "default"; 595 }; 596 597 expander2: gpio@3a { 598 compatible = "ti,tca9538"; 599 reg = <0x3a>; 600 #gpio-cells = <2>; 601 gpio-controller; 602 #interrupt-cells = <2>; 603 interrupt-controller; 604 interrupts-extended = <&tlmm 139 IRQ_TYPE_LEVEL_LOW>; 605 pinctrl-0 = <&expander2_int>; 606 pinctrl-names = "default"; 607 }; 608 609 expander3: gpio@3b { 610 compatible = "ti,tca9538"; 611 reg = <0x3b>; 612 #gpio-cells = <2>; 613 gpio-controller; 614 #interrupt-cells = <2>; 615 interrupt-controller; 616 interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>; 617 pinctrl-0 = <&expander3_int>; 618 pinctrl-names = "default"; 619 620 rtss-can-sel-hog { 621 gpio-hog; 622 gpios = <4 GPIO_ACTIVE_HIGH>; 623 output-high; 624 line-name = "rtss-can-sel"; 625 }; 626 }; 627 628 eeprom@50 { 629 compatible = "giantec,gt24c256c", "atmel,24c256"; 630 reg = <0x50>; 631 pagesize = <64>; 632 633 nvmem-layout { 634 compatible = "fixed-layout"; 635 #address-cells = <1>; 636 #size-cells = <1>; 637 638 mac_addr0: mac-addr@0 { 639 reg = <0x0 0x6>; 640 }; 641 }; 642 }; 643}; 644 645&i2c19 { 646 status = "okay"; 647 648 fan_controller: fan@18 { 649 compatible = "ti,amc6821"; 650 reg = <0x18>; 651 #pwm-cells = <2>; 652 653 fan { 654 pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>; 655 }; 656 }; 657}; 658 659&iris { 660 firmware-name = "qcom/vpu/vpu30_p4_s6_16mb.mbn"; 661 662 status = "okay"; 663}; 664 665&mdss0 { 666 status = "okay"; 667}; 668 669&mdss0_dp0 { 670 pinctrl-0 = <&dp0_hot_plug_det>; 671 pinctrl-names = "default"; 672 673 status = "okay"; 674}; 675 676&mdss0_dp0_out { 677 data-lanes = <0 1 2 3>; 678 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 679 680 remote-endpoint = <&edp0_connector_in>; 681}; 682 683&mdss0_dp0_phy { 684 vdda-phy-supply = <&vreg_l1c>; 685 vdda-pll-supply = <&vreg_l4a>; 686 687 status = "okay"; 688}; 689 690&mdss0_dp1 { 691 pinctrl-0 = <&dp1_hot_plug_det>; 692 pinctrl-names = "default"; 693 694 status = "okay"; 695}; 696 697&mdss0_dp1_out { 698 data-lanes = <0 1 2 3>; 699 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 700 701 remote-endpoint = <&edp1_connector_in>; 702}; 703 704&mdss0_dp1_phy { 705 vdda-phy-supply = <&vreg_l1c>; 706 vdda-pll-supply = <&vreg_l4a>; 707 708 status = "okay"; 709}; 710 711&pcie0 { 712 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; 713 wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>; 714 715 pinctrl-0 = <&pcie0_default_state>; 716 pinctrl-names = "default"; 717 718 status = "okay"; 719}; 720 721&pcie0_phy { 722 vdda-phy-supply = <&vreg_l5a>; 723 vdda-pll-supply = <&vreg_l1c>; 724 725 status = "okay"; 726}; 727 728&pcie1 { 729 perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; 730 wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>; 731 732 pinctrl-0 = <&pcie1_default_state>; 733 pinctrl-names = "default"; 734 735 status = "okay"; 736}; 737 738&pcie1_phy { 739 vdda-phy-supply = <&vreg_l5a>; 740 vdda-pll-supply = <&vreg_l1c>; 741 742 status = "okay"; 743}; 744 745&pmm8654au_0_pon_resin { 746 linux,code = <KEY_VOLUMEDOWN>; 747 status = "okay"; 748}; 749 750&pmm8654au_2_gpios { 751 usb0_intr_state: usb0-intr-state { 752 pins = "gpio5"; 753 function = "normal"; 754 input-enable; 755 bias-pull-up; 756 power-source = <0>; 757 }; 758 759 usb2_id: usb2-id-state { 760 pins = "gpio11"; 761 function = "normal"; 762 input-enable; 763 bias-pull-up; 764 power-source = <0>; 765 }; 766}; 767 768&qup_i2c19_default { 769 drive-strength = <2>; 770 bias-pull-up; 771}; 772 773&qupv3_id_0 { 774 firmware-name = "qcom/sa8775p/qupv3fw.elf"; 775 status = "okay"; 776}; 777 778&qupv3_id_1 { 779 firmware-name = "qcom/sa8775p/qupv3fw.elf"; 780 status = "okay"; 781}; 782 783&qupv3_id_2 { 784 firmware-name = "qcom/sa8775p/qupv3fw.elf"; 785 status = "okay"; 786}; 787 788&remoteproc_adsp { 789 firmware-name = "qcom/sa8775p/adsp.mbn"; 790 791 status = "okay"; 792}; 793 794&remoteproc_cdsp0 { 795 firmware-name = "qcom/sa8775p/cdsp0.mbn"; 796 797 status = "okay"; 798}; 799 800&remoteproc_cdsp1 { 801 firmware-name = "qcom/sa8775p/cdsp1.mbn"; 802 803 status = "okay"; 804}; 805 806&remoteproc_gpdsp0 { 807 firmware-name = "qcom/sa8775p/gpdsp0.mbn"; 808 809 status = "okay"; 810}; 811 812&remoteproc_gpdsp1 { 813 firmware-name = "qcom/sa8775p/gpdsp1.mbn"; 814 815 status = "okay"; 816}; 817 818&sdhc { 819 vmmc-supply = <&vmmc_sdc>; 820 vqmmc-supply = <&vreg_sdc>; 821 822 pinctrl-0 = <&sdc_default>, <&sd_cd>; 823 pinctrl-1 = <&sdc_sleep>, <&sd_cd>; 824 pinctrl-names = "default", "sleep"; 825 826 bus-width = <4>; 827 cd-gpios = <&tlmm 36 GPIO_ACTIVE_LOW>; 828 no-mmc; 829 no-sdio; 830 831 status = "okay"; 832}; 833 834&serdes0 { 835 phy-supply = <&vreg_l5a>; 836 837 status = "okay"; 838}; 839 840&sleep_clk { 841 clock-frequency = <32768>; 842}; 843 844&spi16 { 845 status = "okay"; 846 847 tpm@0 { 848 compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi"; 849 reg = <0>; 850 spi-max-frequency = <20000000>; 851 }; 852}; 853 854&tlmm { 855 ethernet0_default: ethernet0-default-state { 856 ethernet0_mdc: ethernet0-mdc-pins { 857 pins = "gpio8"; 858 function = "emac0_mdc"; 859 drive-strength = <16>; 860 bias-pull-up; 861 }; 862 863 ethernet0_mdio: ethernet0-mdio-pins { 864 pins = "gpio9"; 865 function = "emac0_mdio"; 866 drive-strength = <16>; 867 bias-pull-up; 868 }; 869 }; 870 871 expander0_int: expander0-int-state { 872 pins = "gpio138"; 873 function = "gpio"; 874 bias-pull-up; 875 }; 876 877 expander1_int: expander1-int-state { 878 pins = "gpio19"; 879 function = "gpio"; 880 bias-pull-up; 881 }; 882 883 expander2_int: expander2-int-state { 884 pins = "gpio139"; 885 function = "gpio"; 886 bias-pull-up; 887 }; 888 889 expander3_int: expander3-int-state { 890 pins = "gpio39"; 891 function = "gpio"; 892 bias-pull-up; 893 }; 894 895 pcie0_default_state: pcie0-default-state { 896 clkreq-pins { 897 pins = "gpio1"; 898 function = "pcie0_clkreq"; 899 drive-strength = <2>; 900 bias-pull-up; 901 }; 902 903 perst-pins { 904 pins = "gpio2"; 905 function = "gpio"; 906 drive-strength = <2>; 907 bias-pull-up; 908 }; 909 910 wake-pins { 911 pins = "gpio0"; 912 function = "gpio"; 913 drive-strength = <2>; 914 bias-pull-up; 915 }; 916 }; 917 918 pcie1_default_state: pcie1-default-state { 919 clkreq-pins { 920 pins = "gpio3"; 921 function = "pcie1_clkreq"; 922 drive-strength = <2>; 923 bias-pull-up; 924 }; 925 926 perst-pins { 927 pins = "gpio4"; 928 function = "gpio"; 929 drive-strength = <2>; 930 bias-pull-up; 931 }; 932 933 wake-pins { 934 pins = "gpio5"; 935 function = "gpio"; 936 drive-strength = <2>; 937 bias-pull-up; 938 }; 939 }; 940 941 qup_i2c11_default: qup-i2c11-state { 942 pins = "gpio48", "gpio49"; 943 function = "qup1_se4"; 944 drive-strength = <2>; 945 bias-pull-up; 946 }; 947 948 sd_cd: sd-cd-state { 949 pins = "gpio36"; 950 function = "gpio"; 951 bias-pull-up; 952 }; 953 954 usb_id: usb-id-state { 955 pins = "gpio50"; 956 function = "gpio"; 957 bias-pull-up; 958 }; 959}; 960 961&uart0 { 962 status = "okay"; 963}; 964 965&uart10 { 966 compatible = "qcom,geni-debug-uart"; 967 pinctrl-0 = <&qup_uart10_default>; 968 pinctrl-names = "default"; 969 970 status = "okay"; 971}; 972 973&ufs_mem_hc { 974 reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>; 975 vcc-supply = <&vreg_l8a>; 976 vcc-max-microamp = <1100000>; 977 vccq-supply = <&vreg_l4c>; 978 vccq-max-microamp = <1200000>; 979 980 status = "okay"; 981}; 982 983&ufs_mem_phy { 984 vdda-phy-supply = <&vreg_l4a>; 985 vdda-pll-supply = <&vreg_l1c>; 986 987 status = "okay"; 988}; 989 990&usb_0 { 991 status = "okay"; 992}; 993 994&usb_0_dwc3_hs { 995 remote-endpoint = <&usb0_con_hs_ep>; 996}; 997 998&usb_0_dwc3_ss { 999 remote-endpoint = <&hd3ss3220_out_ep>; 1000}; 1001 1002&usb_0_hsphy { 1003 vdda-pll-supply = <&vreg_l7a>; 1004 vdda18-supply = <&vreg_l6c>; 1005 vdda33-supply = <&vreg_l9a>; 1006 1007 status = "okay"; 1008}; 1009 1010&usb_0_qmpphy { 1011 vdda-phy-supply = <&vreg_l1c>; 1012 vdda-pll-supply = <&vreg_l7a>; 1013 1014 status = "okay"; 1015}; 1016 1017&usb_2 { 1018 status = "okay"; 1019}; 1020 1021&usb_2_dwc3_hs { 1022 remote-endpoint = <&usb2_con_hs_ep>; 1023}; 1024 1025&usb_2_hsphy { 1026 vdda-pll-supply = <&vreg_l7a>; 1027 vdda18-supply = <&vreg_l6c>; 1028 vdda33-supply = <&vreg_l9a>; 1029 1030 status = "okay"; 1031}; 1032 1033&xo_board_clk { 1034 clock-frequency = <38400000>; 1035}; 1036