1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6/dts-v1/; 7 8/* PM7250B is configured to use SID8/9 */ 9#define PM7250B_SID 8 10#define PM7250B_SID1 9 11 12#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 13#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14#include "sc7280.dtsi" 15#include "pm7250b.dtsi" 16#include "pm7325.dtsi" 17#include "pm8350c.dtsi" 18#include "pmk8350.dtsi" 19 20/delete-node/ &ipa_fw_mem; 21/delete-node/ &rmtfs_mem; 22/delete-node/ &adsp_mem; 23/delete-node/ &cdsp_mem; 24/delete-node/ &video_mem; 25/delete-node/ &wlan_ce_mem; 26/delete-node/ &wpss_mem; 27/delete-node/ &xbl_mem; 28 29/ { 30 model = "Qualcomm Technologies, Inc. Robotics RB3gen2"; 31 compatible = "qcom,qcs6490-rb3gen2", "qcom,qcm6490"; 32 chassis-type = "embedded"; 33 34 aliases { 35 serial0 = &uart5; 36 }; 37 38 chosen { 39 stdout-path = "serial0:115200n8"; 40 }; 41 42 dp-connector { 43 compatible = "dp-connector"; 44 label = "DP"; 45 type = "mini"; 46 47 hpd-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>; 48 49 port { 50 dp_connector_in: endpoint { 51 remote-endpoint = <&mdss_edp_out>; 52 }; 53 }; 54 }; 55 56 hdmi-connector { 57 compatible = "hdmi-connector"; 58 type = "a"; 59 60 port { 61 hdmi_con: endpoint { 62 remote-endpoint = <<9611_out>; 63 }; 64 }; 65 }; 66 67 lt9611_1v2: lt9611-vdd12-regulator { 68 compatible = "regulator-fixed"; 69 regulator-name = "LT9611_1V2"; 70 71 regulator-min-microvolt = <1200000>; 72 regulator-max-microvolt = <1200000>; 73 }; 74 75 reserved-memory { 76 xbl_mem: xbl@80700000 { 77 reg = <0x0 0x80700000 0x0 0x100000>; 78 no-map; 79 }; 80 81 cdsp_secure_heap_mem: cdsp-secure-heap@81800000 { 82 reg = <0x0 0x81800000 0x0 0x1e00000>; 83 no-map; 84 }; 85 86 camera_mem: camera@84300000 { 87 reg = <0x0 0x84300000 0x0 0x500000>; 88 no-map; 89 }; 90 91 wpss_mem: wpss@84800000 { 92 reg = <0x0 0x84800000 0x0 0x1900000>; 93 no-map; 94 }; 95 96 adsp_mem: adsp@86100000 { 97 reg = <0x0 0x86100000 0x0 0x2800000>; 98 no-map; 99 }; 100 101 cdsp_mem: cdsp@88900000 { 102 reg = <0x0 0x88900000 0x0 0x1e00000>; 103 no-map; 104 }; 105 106 video_mem: video@8a700000 { 107 reg = <0x0 0x8a700000 0x0 0x700000>; 108 no-map; 109 }; 110 111 cvp_mem: cvp@8ae00000 { 112 reg = <0x0 0x8ae00000 0x0 0x500000>; 113 no-map; 114 }; 115 116 ipa_fw_mem: ipa-fw@8b300000 { 117 reg = <0x0 0x8b300000 0x0 0x10000>; 118 no-map; 119 }; 120 121 ipa_gsi_mem: ipa-gsi@8b310000 { 122 reg = <0x0 0x8b310000 0x0 0xa000>; 123 no-map; 124 }; 125 126 gpu_microcode_mem: gpu-microcode@8b31a000 { 127 reg = <0x0 0x8b31a000 0x0 0x2000>; 128 no-map; 129 }; 130 131 tz_stat_mem: tz-stat@c0000000 { 132 reg = <0x0 0xc0000000 0x0 0x100000>; 133 no-map; 134 }; 135 136 tags_mem: tags@c0100000 { 137 reg = <0x0 0xc0100000 0x0 0x1200000>; 138 no-map; 139 }; 140 141 qtee_mem: qtee@c1300000 { 142 reg = <0x0 0xc1300000 0x0 0x500000>; 143 no-map; 144 }; 145 146 trusted_apps_mem: trusted-apps@c1800000 { 147 reg = <0x0 0xc1800000 0x0 0x1c00000>; 148 no-map; 149 }; 150 151 debug_vm_mem: debug-vm@d0600000 { 152 reg = <0x0 0xd0600000 0x0 0x100000>; 153 no-map; 154 }; 155 }; 156 157 gpio-keys { 158 compatible = "gpio-keys"; 159 160 pinctrl-0 = <&kypd_vol_up_n>; 161 pinctrl-names = "default"; 162 163 key-volume-up { 164 label = "Volume Up"; 165 gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>; 166 linux,code = <KEY_VOLUMEUP>; 167 linux,can-disable; 168 }; 169 }; 170 171 pmic-glink { 172 compatible = "qcom,qcm6490-pmic-glink", "qcom,pmic-glink"; 173 174 #address-cells = <1>; 175 #size-cells = <0>; 176 177 connector@0 { 178 compatible = "usb-c-connector"; 179 reg = <0>; 180 power-role = "dual"; 181 data-role = "dual"; 182 183 ports { 184 #address-cells = <1>; 185 #size-cells = <0>; 186 187 port@0 { 188 reg = <0>; 189 190 pmic_glink_hs_in: endpoint { 191 remote-endpoint = <&usb_1_dwc3_hs>; 192 }; 193 }; 194 195 port@1 { 196 reg = <1>; 197 198 pmic_glink_ss_in: endpoint { 199 remote-endpoint = <&redriver_usb_con_ss>; 200 }; 201 }; 202 203 port@2 { 204 reg = <2>; 205 206 pmic_glink_sbu_in: endpoint { 207 remote-endpoint = <&redriver_usb_con_sbu>; 208 }; 209 }; 210 }; 211 }; 212 }; 213 214 vph_pwr: vph-pwr-regulator { 215 compatible = "regulator-fixed"; 216 regulator-name = "vph_pwr"; 217 regulator-min-microvolt = <3700000>; 218 regulator-max-microvolt = <3700000>; 219 }; 220}; 221 222&apps_rsc { 223 regulators-0 { 224 compatible = "qcom,pm7325-rpmh-regulators"; 225 qcom,pmic-id = "b"; 226 227 vdd-s1-supply = <&vph_pwr>; 228 vdd-s2-supply = <&vph_pwr>; 229 vdd-s3-supply = <&vph_pwr>; 230 vdd-s4-supply = <&vph_pwr>; 231 vdd-s5-supply = <&vph_pwr>; 232 vdd-s6-supply = <&vph_pwr>; 233 vdd-s7-supply = <&vph_pwr>; 234 vdd-s8-supply = <&vph_pwr>; 235 vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p972>; 236 vdd-l2-l7-supply = <&vreg_bob_3p296>; 237 vdd-l3-supply = <&vreg_s2b_0p876>; 238 vdd-l5-supply = <&vreg_s2b_0p876>; 239 vdd-l6-l9-l10-supply = <&vreg_s8b_1p272>; 240 vdd-l8-supply = <&vreg_s7b_0p972>; 241 vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p872>; 242 vdd-l13-supply = <&vreg_s7b_0p972>; 243 vdd-l14-l16-supply = <&vreg_s8b_1p272>; 244 245 vreg_s1b_1p872: smps1 { 246 regulator-name = "vreg_s1b_1p872"; 247 regulator-min-microvolt = <1840000>; 248 regulator-max-microvolt = <2040000>; 249 }; 250 251 vreg_s2b_0p876: smps2 { 252 regulator-name = "vreg_s2b_0p876"; 253 regulator-min-microvolt = <570070>; 254 regulator-max-microvolt = <1050000>; 255 }; 256 257 vreg_s7b_0p972: smps7 { 258 regulator-name = "vreg_s7b_0p972"; 259 regulator-min-microvolt = <535000>; 260 regulator-max-microvolt = <1120000>; 261 }; 262 263 vreg_s8b_1p272: smps8 { 264 regulator-name = "vreg_s8b_1p272"; 265 regulator-min-microvolt = <1200000>; 266 regulator-max-microvolt = <1500000>; 267 regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>; 268 }; 269 270 vreg_l1b_0p912: ldo1 { 271 regulator-name = "vreg_l1b_0p912"; 272 regulator-min-microvolt = <825000>; 273 regulator-max-microvolt = <925000>; 274 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 275 }; 276 277 vreg_l2b_3p072: ldo2 { 278 regulator-name = "vreg_l2b_3p072"; 279 regulator-min-microvolt = <2700000>; 280 regulator-max-microvolt = <3544000>; 281 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 282 }; 283 284 vreg_l3b_0p504: ldo3 { 285 regulator-name = "vreg_l3b_0p504"; 286 regulator-min-microvolt = <312000>; 287 regulator-max-microvolt = <910000>; 288 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 289 }; 290 291 vreg_l4b_0p752: ldo4 { 292 regulator-name = "vreg_l4b_0p752"; 293 regulator-min-microvolt = <752000>; 294 regulator-max-microvolt = <820000>; 295 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 296 }; 297 298 reg_l5b_0p752: ldo5 { 299 regulator-name = "reg_l5b_0p752"; 300 regulator-min-microvolt = <552000>; 301 regulator-max-microvolt = <832000>; 302 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 303 }; 304 305 vreg_l6b_1p2: ldo6 { 306 regulator-name = "vreg_l6b_1p2"; 307 regulator-min-microvolt = <1140000>; 308 regulator-max-microvolt = <1260000>; 309 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 310 }; 311 312 vreg_l7b_2p952: ldo7 { 313 regulator-name = "vreg_l7b_2p952"; 314 regulator-min-microvolt = <2952000>; 315 regulator-max-microvolt = <2952000>; 316 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 317 }; 318 319 vreg_l8b_0p904: ldo8 { 320 regulator-name = "vreg_l8b_0p904"; 321 regulator-min-microvolt = <870000>; 322 regulator-max-microvolt = <970000>; 323 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 324 }; 325 326 vreg_l9b_1p2: ldo9 { 327 regulator-name = "vreg_l9b_1p2"; 328 regulator-min-microvolt = <1200000>; 329 regulator-max-microvolt = <1200000>; 330 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 331 regulator-allow-set-load; 332 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 333 RPMH_REGULATOR_MODE_HPM>; 334 }; 335 336 vreg_l11b_1p504: ldo11 { 337 regulator-name = "vreg_l11b_1p504"; 338 regulator-min-microvolt = <1504000>; 339 regulator-max-microvolt = <2000000>; 340 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 341 }; 342 343 vreg_l12b_0p751: ldo12 { 344 regulator-name = "vreg_l12b_0p751"; 345 regulator-min-microvolt = <751000>; 346 regulator-max-microvolt = <824000>; 347 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 348 }; 349 350 vreg_l13b_0p53: ldo13 { 351 regulator-name = "vreg_l13b_0p53"; 352 regulator-min-microvolt = <530000>; 353 regulator-max-microvolt = <824000>; 354 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 355 }; 356 357 vreg_l14b_1p08: ldo14 { 358 regulator-name = "vreg_l14b_1p08"; 359 regulator-min-microvolt = <1080000>; 360 regulator-max-microvolt = <1304000>; 361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 362 }; 363 364 vreg_l15b_0p765: ldo15 { 365 regulator-name = "vreg_l15b_0p765"; 366 regulator-min-microvolt = <765000>; 367 regulator-max-microvolt = <1020000>; 368 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 369 }; 370 371 vreg_l16b_1p1: ldo16 { 372 regulator-name = "vreg_l16b_1p1"; 373 regulator-min-microvolt = <1100000>; 374 regulator-max-microvolt = <1300000>; 375 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 376 }; 377 378 vreg_l17b_1p7: ldo17 { 379 regulator-name = "vreg_l17b_1p7"; 380 regulator-min-microvolt = <1700000>; 381 regulator-max-microvolt = <1900000>; 382 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 383 }; 384 385 vreg_l18b_1p8: ldo18 { 386 regulator-name = "vreg_l18b_1p8"; 387 regulator-min-microvolt = <1800000>; 388 regulator-max-microvolt = <2000000>; 389 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 390 }; 391 392 vreg_l19b_1p8: ldo19 { 393 regulator-name = "vreg_l19b_1p8"; 394 regulator-min-microvolt = <1800000>; 395 regulator-max-microvolt = <2000000>; 396 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 397 }; 398 }; 399 400 regulators-1 { 401 compatible = "qcom,pm8350c-rpmh-regulators"; 402 qcom,pmic-id = "c"; 403 404 vdd-s1-supply = <&vph_pwr>; 405 vdd-s2-supply = <&vph_pwr>; 406 vdd-s3-supply = <&vph_pwr>; 407 vdd-s4-supply = <&vph_pwr>; 408 vdd-s5-supply = <&vph_pwr>; 409 vdd-s6-supply = <&vph_pwr>; 410 vdd-s7-supply = <&vph_pwr>; 411 vdd-s8-supply = <&vph_pwr>; 412 vdd-s9-supply = <&vph_pwr>; 413 vdd-s10-supply = <&vph_pwr>; 414 vdd-l1-l12-supply = <&vreg_s1b_1p872>; 415 vdd-l2-l8-supply = <&vreg_s1b_1p872>; 416 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob_3p296>; 417 vdd-l6-l9-l11-supply = <&vreg_bob_3p296>; 418 vdd-l10-supply = <&vreg_s7b_0p972>; 419 vdd-bob-supply = <&vph_pwr>; 420 421 vreg_s1c_2p19: smps1 { 422 regulator-name = "vreg_s1c_2p19"; 423 regulator-min-microvolt = <2190000>; 424 regulator-max-microvolt = <2210000>; 425 }; 426 427 vreg_s2c_0p752: smps2 { 428 regulator-name = "vreg_s2c_0p752"; 429 regulator-min-microvolt = <750000>; 430 regulator-max-microvolt = <800000>; 431 }; 432 433 vreg_s5c_0p752: smps5 { 434 regulator-name = "vreg_s5c_0p752"; 435 regulator-min-microvolt = <465000>; 436 regulator-max-microvolt = <1050000>; 437 }; 438 439 vreg_s7c_0p752: smps7 { 440 regulator-name = "vreg_s7c_0p752"; 441 regulator-min-microvolt = <465000>; 442 regulator-max-microvolt = <800000>; 443 }; 444 445 vreg_s9c_1p084: smps9 { 446 regulator-name = "vreg_s9c_1p084"; 447 regulator-min-microvolt = <1010000>; 448 regulator-max-microvolt = <1170000>; 449 }; 450 451 vreg_l1c_1p8: ldo1 { 452 regulator-name = "vreg_l1c_1p8"; 453 regulator-min-microvolt = <1800000>; 454 regulator-max-microvolt = <1980000>; 455 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 456 }; 457 458 vreg_l2c_1p62: ldo2 { 459 regulator-name = "vreg_l2c_1p62"; 460 regulator-min-microvolt = <1620000>; 461 regulator-max-microvolt = <1980000>; 462 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 463 }; 464 465 vreg_l3c_2p8: ldo3 { 466 regulator-name = "vreg_l3c_2p8"; 467 regulator-min-microvolt = <2800000>; 468 regulator-max-microvolt = <3540000>; 469 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 470 }; 471 472 vreg_l4c_1p62: ldo4 { 473 regulator-name = "vreg_l4c_1p62"; 474 regulator-min-microvolt = <1620000>; 475 regulator-max-microvolt = <3300000>; 476 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 477 }; 478 479 vreg_l5c_1p62: ldo5 { 480 regulator-name = "vreg_l5c_1p62"; 481 regulator-min-microvolt = <1620000>; 482 regulator-max-microvolt = <3300000>; 483 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 484 }; 485 486 vreg_l6c_2p96: ldo6 { 487 regulator-name = "vreg_l6c_2p96"; 488 regulator-min-microvolt = <1650000>; 489 regulator-max-microvolt = <3544000>; 490 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 491 }; 492 493 vreg_l7c_3p0: ldo7 { 494 regulator-name = "vreg_l7c_3p0"; 495 regulator-min-microvolt = <3000000>; 496 regulator-max-microvolt = <3544000>; 497 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 498 }; 499 500 vreg_l8c_1p62: ldo8 { 501 regulator-name = "vreg_l8c_1p62"; 502 regulator-min-microvolt = <1620000>; 503 regulator-max-microvolt = <2000000>; 504 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 505 }; 506 507 vreg_l9c_2p96: ldo9 { 508 regulator-name = "vreg_l9c_2p96"; 509 regulator-min-microvolt = <2700000>; 510 regulator-max-microvolt = <35440000>; 511 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 512 }; 513 514 vreg_l10c_0p88: ldo10 { 515 regulator-name = "vreg_l10c_0p88"; 516 regulator-min-microvolt = <720000>; 517 regulator-max-microvolt = <1050000>; 518 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 519 }; 520 521 vreg_l11c_2p8: ldo11 { 522 regulator-name = "vreg_l11c_2p8"; 523 regulator-min-microvolt = <2800000>; 524 regulator-max-microvolt = <3544000>; 525 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 526 }; 527 528 vreg_l12c_1p65: ldo12 { 529 regulator-name = "vreg_l12c_1p65"; 530 regulator-min-microvolt = <1650000>; 531 regulator-max-microvolt = <2000000>; 532 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 533 }; 534 535 vreg_l13c_2p7: ldo13 { 536 regulator-name = "vreg_l13c_2p7"; 537 regulator-min-microvolt = <2700000>; 538 regulator-max-microvolt = <3544000>; 539 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 540 }; 541 542 vreg_bob_3p296: bob { 543 regulator-name = "vreg_bob_3p296"; 544 regulator-min-microvolt = <3008000>; 545 regulator-max-microvolt = <3960000>; 546 }; 547 }; 548}; 549 550&gcc { 551 protected-clocks = <GCC_CFG_NOC_LPASS_CLK>, 552 <GCC_MSS_CFG_AHB_CLK>, 553 <GCC_MSS_GPLL0_MAIN_DIV_CLK_SRC>, 554 <GCC_MSS_OFFLINE_AXI_CLK>, 555 <GCC_MSS_Q6SS_BOOT_CLK_SRC>, 556 <GCC_MSS_Q6_MEMNOC_AXI_CLK>, 557 <GCC_MSS_SNOC_AXI_CLK>, 558 <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, 559 <GCC_QSPI_CORE_CLK>, 560 <GCC_QSPI_CORE_CLK_SRC>, 561 <GCC_SEC_CTRL_CLK_SRC>, 562 <GCC_WPSS_AHB_BDG_MST_CLK>, 563 <GCC_WPSS_AHB_CLK>, 564 <GCC_WPSS_RSCP_CLK>; 565}; 566 567&gpi_dma0 { 568 status = "okay"; 569}; 570 571&gpi_dma1 { 572 status = "okay"; 573}; 574 575&gpu { 576 status = "okay"; 577}; 578 579&gpu_zap_shader { 580 firmware-name = "qcom/qcs6490/a660_zap.mbn"; 581}; 582 583&i2c0 { 584 clock-frequency = <400000>; 585 status = "okay"; 586 587 lt9611_codec: hdmi-bridge@2b { 588 compatible = "lontium,lt9611uxc"; 589 reg = <0x2b>; 590 591 interrupts-extended = <&tlmm 24 IRQ_TYPE_EDGE_FALLING>; 592 reset-gpios = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>; 593 594 vdd-supply = <<9611_1v2>; 595 vcc-supply = <&vreg_l11c_2p8>; 596 597 pinctrl-names = "default"; 598 pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; 599 600 ports { 601 #address-cells = <1>; 602 #size-cells = <0>; 603 604 port@0 { 605 reg = <0>; 606 607 lt9611_a: endpoint { 608 remote-endpoint = <&mdss_dsi0_out>; 609 }; 610 }; 611 612 port@2 { 613 reg = <2>; 614 615 lt9611_out: endpoint { 616 remote-endpoint = <&hdmi_con>; 617 }; 618 }; 619 }; 620 }; 621}; 622 623&i2c1 { 624 clock-frequency = <100000>; 625 status = "okay"; 626 627 typec-mux@1c { 628 compatible = "onnn,nb7vpq904m"; 629 reg = <0x1c>; 630 631 vcc-supply = <&vreg_l18b_1p8>; 632 633 retimer-switch; 634 orientation-switch; 635 636 ports { 637 #address-cells = <1>; 638 #size-cells = <0>; 639 640 port@0 { 641 reg = <0>; 642 643 redriver_usb_con_ss: endpoint { 644 remote-endpoint = <&pmic_glink_ss_in>; 645 }; 646 }; 647 648 port@1 { 649 reg = <1>; 650 651 redriver_phy_con_ss: endpoint { 652 remote-endpoint = <&usb_dp_qmpphy_out>; 653 data-lanes = <0 1 2 3>; 654 }; 655 }; 656 657 port@2 { 658 reg = <2>; 659 660 redriver_usb_con_sbu: endpoint { 661 remote-endpoint = <&pmic_glink_sbu_in>; 662 }; 663 }; 664 }; 665 }; 666}; 667 668&mdss { 669 status = "okay"; 670}; 671 672&mdss_dp { 673 status = "okay"; 674}; 675 676&mdss_dp_out { 677 data-lanes = <0 1>; 678 remote-endpoint = <&usb_dp_qmpphy_dp_in>; 679}; 680 681&mdss_dsi { 682 vdda-supply = <&vreg_l6b_1p2>; 683 status = "okay"; 684}; 685 686&mdss_dsi0_out { 687 remote-endpoint = <<9611_a>; 688 data-lanes = <0 1 2 3>; 689}; 690 691&mdss_dsi_phy { 692 vdds-supply = <&vreg_l10c_0p88>; 693 status = "okay"; 694}; 695 696&mdss_edp { 697 status = "okay"; 698}; 699 700&mdss_edp_out { 701 data-lanes = <0 1 2 3>; 702 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 703 704 remote-endpoint = <&dp_connector_in>; 705}; 706 707&mdss_edp_phy { 708 status = "okay"; 709}; 710 711&pcie1 { 712 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; 713 714 pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>; 715 pinctrl-names = "default"; 716 717 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, 718 <0x100 &apps_smmu 0x1c81 0x1>, 719 <0x208 &apps_smmu 0x1c84 0x1>, 720 <0x210 &apps_smmu 0x1c85 0x1>, 721 <0x218 &apps_smmu 0x1c86 0x1>, 722 <0x300 &apps_smmu 0x1c87 0x1>, 723 <0x400 &apps_smmu 0x1c88 0x1>, 724 <0x500 &apps_smmu 0x1c89 0x1>, 725 <0x501 &apps_smmu 0x1c90 0x1>; 726 727 status = "okay"; 728}; 729 730&pcie1_phy { 731 vdda-phy-supply = <&vreg_l10c_0p88>; 732 vdda-pll-supply = <&vreg_l6b_1p2>; 733 734 status = "okay"; 735}; 736 737&pm7325_gpios { 738 kypd_vol_up_n: kypd-vol-up-n-state { 739 pins = "gpio6"; 740 function = PMIC_GPIO_FUNC_NORMAL; 741 power-source = <1>; 742 bias-pull-up; 743 input-enable; 744 }; 745}; 746 747&pmk8350_rtc { 748 status = "okay"; 749}; 750 751&pon_pwrkey { 752 status = "okay"; 753}; 754 755&pon_resin { 756 linux,code = <KEY_VOLUMEDOWN>; 757 758 status = "okay"; 759}; 760 761&qupv3_id_0 { 762 status = "okay"; 763}; 764 765&qupv3_id_1 { 766 status = "okay"; 767}; 768 769&remoteproc_adsp { 770 firmware-name = "qcom/qcs6490/adsp.mbn"; 771 status = "okay"; 772}; 773 774&remoteproc_cdsp { 775 firmware-name = "qcom/qcs6490/cdsp.mbn"; 776 status = "okay"; 777}; 778 779&remoteproc_mpss { 780 firmware-name = "qcom/qcs6490/modem.mbn"; 781 status = "okay"; 782}; 783 784&remoteproc_wpss { 785 firmware-name = "qcom/qcs6490/wpss.mbn"; 786 status = "okay"; 787}; 788 789&sdhc_2 { 790 pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>, <&sd_cd>; 791 pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>, <&sd_cd>; 792 793 vmmc-supply = <&vreg_l9c_2p96>; 794 vqmmc-supply = <&vreg_l6c_2p96>; 795 796 cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>; 797 798 status = "okay"; 799}; 800 801&tlmm { 802 gpio-reserved-ranges = <32 2>, /* ADSP */ 803 <48 4>; /* NFC */ 804}; 805 806&uart5 { 807 status = "okay"; 808}; 809 810&usb_1 { 811 status = "okay"; 812}; 813 814&usb_1_dwc3 { 815 dr_mode = "otg"; 816 usb-role-switch; 817}; 818 819&usb_1_dwc3_hs { 820 remote-endpoint = <&pmic_glink_hs_in>; 821}; 822 823&usb_1_dwc3_ss { 824 remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; 825}; 826 827&usb_1_hsphy { 828 vdda-pll-supply = <&vreg_l10c_0p88>; 829 vdda33-supply = <&vreg_l2b_3p072>; 830 vdda18-supply = <&vreg_l1c_1p8>; 831 832 status = "okay"; 833}; 834 835&usb_1_qmpphy { 836 vdda-phy-supply = <&vreg_l6b_1p2>; 837 vdda-pll-supply = <&vreg_l1b_0p912>; 838 839 orientation-switch; 840 841 status = "okay"; 842}; 843 844&usb_dp_qmpphy_out { 845 remote-endpoint = <&redriver_phy_con_ss>; 846}; 847 848&usb_dp_qmpphy_usb_ss_in { 849 remote-endpoint = <&usb_1_dwc3_ss>; 850}; 851 852&usb_dp_qmpphy_dp_in { 853 remote-endpoint = <&mdss_dp_out>; 854}; 855 856&ufs_mem_hc { 857 reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; 858 vcc-supply = <&vreg_l7b_2p952>; 859 vcc-max-microamp = <800000>; 860 vccq-supply = <&vreg_l9b_1p2>; 861 vccq-max-microamp = <900000>; 862 vccq2-supply = <&vreg_l9b_1p2>; 863 vccq2-max-microamp = <900000>; 864 865 status = "okay"; 866}; 867 868&ufs_mem_phy { 869 vdda-phy-supply = <&vreg_l10c_0p88>; 870 vdda-pll-supply = <&vreg_l6b_1p2>; 871 872 status = "okay"; 873}; 874 875&venus { 876 status = "okay"; 877}; 878 879&wifi { 880 memory-region = <&wlan_fw_mem>; 881 qcom,ath11k-calibration-variant = "Qualcomm_rb3gen2"; 882 883 status = "okay"; 884}; 885 886/* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */ 887 888&edp_hot_plug_det { 889 function = "gpio"; 890 bias-disable; 891}; 892 893&pm7250b_gpios { 894 lt9611_rst_pin: lt9611-rst-state { 895 pins = "gpio2"; 896 function = "normal"; 897 898 output-high; 899 input-disable; 900 power-source = <0>; 901 }; 902}; 903 904&sdc2_clk { 905 bias-disable; 906 drive-strength = <16>; 907}; 908 909&sdc2_cmd { 910 bias-pull-up; 911 drive-strength = <10>; 912}; 913 914&sdc2_data { 915 bias-pull-up; 916 drive-strength = <10>; 917}; 918 919&tlmm { 920 lt9611_irq_pin: lt9611-irq-state { 921 pins = "gpio24"; 922 function = "gpio"; 923 drive-strength = <2>; 924 bias-disable; 925 }; 926 927 pcie1_reset_n: pcie1-reset-n-state { 928 pins = "gpio2"; 929 function = "gpio"; 930 drive-strength = <16>; 931 output-low; 932 bias-disable; 933 }; 934 935 pcie1_wake_n: pcie1-wake-n-state { 936 pins = "gpio3"; 937 function = "gpio"; 938 drive-strength = <2>; 939 bias-pull-up; 940 }; 941 942 sd_cd: sd-cd-state { 943 pins = "gpio91"; 944 function = "gpio"; 945 bias-pull-up; 946 }; 947}; 948