1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2024, Eugene Lepshy <fekz115@gmail.com> 4 * Copyright (c) 2024, Danila Tikhonov <danila@jiaxyga.com> 5 */ 6 7/dts-v1/; 8 9#include <dt-bindings/arm/qcom,ids.h> 10#include <dt-bindings/gpio/gpio.h> 11#include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h> 12#include <dt-bindings/iio/qcom,spmi-adc7-pm8350b.h> 13#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 14#include <dt-bindings/leds/common.h> 15#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17#include <dt-bindings/sound/qcom,q6afe.h> 18#include <dt-bindings/sound/qcom,q6asm.h> 19 20#include "sm7325.dtsi" 21#include "pm7325.dtsi" 22#include "pm8350b.dtsi" /* PM7325B */ 23#include "pm8350c.dtsi" /* PM7350C */ 24#include "pmk8350.dtsi" /* PMK7325 */ 25 26/delete-node/ &rmtfs_mem; 27 28/ { 29 model = "Nothing Phone (1)"; 30 compatible = "nothing,spacewar", "qcom,sm7325"; 31 chassis-type = "handset"; 32 33 aliases { 34 bluetooth0 = &bluetooth; 35 serial0 = &uart5; 36 serial1 = &uart7; 37 wifi0 = &wifi; 38 }; 39 40 chosen { 41 #address-cells = <2>; 42 #size-cells = <2>; 43 ranges; 44 45 stdout-path = "serial0:115200n8"; 46 47 framebuffer0: framebuffer@e1000000 { 48 compatible = "simple-framebuffer"; 49 reg = <0x0 0xe1000000 0x0 (1080 * 2400 * 4)>; 50 width = <1080>; 51 height = <2400>; 52 stride = <(1080 * 4)>; 53 format = "a8r8g8b8"; 54 55 clocks = <&gcc GCC_DISP_HF_AXI_CLK>, 56 <&dispcc DISP_CC_MDSS_MDP_CLK>, 57 <&dispcc DISP_CC_MDSS_BYTE0_CLK>, 58 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, 59 <&dispcc DISP_CC_MDSS_PCLK0_CLK>, 60 <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 61 power-domains = <&dispcc DISP_CC_MDSS_CORE_GDSC>; 62 }; 63 }; 64 65 gpio-keys { 66 compatible = "gpio-keys"; 67 68 pinctrl-0 = <&kypd_volp_n>; 69 pinctrl-names = "default"; 70 71 key-volume-up { 72 label = "Volume up"; 73 gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>; 74 linux,code = <KEY_VOLUMEUP>; 75 }; 76 }; 77 78 pmic-glink { 79 compatible = "qcom,sm7325-pmic-glink", 80 "qcom,qcm6490-pmic-glink", 81 "qcom,pmic-glink"; 82 83 #address-cells = <1>; 84 #size-cells = <0>; 85 86 orientation-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>; 87 88 connector@0 { 89 compatible = "usb-c-connector"; 90 reg = <0>; 91 power-role = "dual"; 92 data-role = "dual"; 93 94 ports { 95 #address-cells = <1>; 96 #size-cells = <0>; 97 98 port@0 { 99 reg = <0>; 100 101 pmic_glink_hs_in: endpoint { 102 remote-endpoint = <&usb_1_dwc3_hs>; 103 }; 104 }; 105 106 port@1 { 107 reg = <1>; 108 109 pmic_glink_sbu: endpoint { 110 remote-endpoint = <&fsa4480_sbu_mux>; 111 }; 112 }; 113 }; 114 }; 115 }; 116 117 reserved-memory { 118 #address-cells = <2>; 119 #size-cells = <2>; 120 ranges; 121 122 ramoops_mem: ramoops@83a00000 { 123 compatible = "ramoops"; 124 reg = <0x0 0x83a00000 0x0 0x400000>; 125 pmsg-size = <0x200000>; 126 mem-type = <2>; 127 console-size = <0x200000>; 128 }; 129 130 cdsp_mem: cdsp@88f00000 { 131 reg = <0x0 0x88f00000 0x0 0x1e00000>; 132 no-map; 133 }; 134 135 removed_mem: removed@c0000000 { 136 reg = <0x0 0xc0000000 0x0 0x5100000>; 137 no-map; 138 }; 139 140 cont_splash_mem: cont-splash@e1000000 { 141 reg = <0x0 0xe1000000 0x0 (1080 * 2400 * 4)>; 142 no-map; 143 }; 144 145 rmtfs_mem: rmtfs@f8500000 { 146 compatible = "qcom,rmtfs-mem"; 147 reg = <0x0 0xf8500000 0x0 0x600000>; 148 no-map; 149 150 qcom,client-id = <1>; 151 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>, 152 <QCOM_SCM_VMID_NAV>; 153 }; 154 }; 155 156 thermal-zones { 157 camera-thermal { 158 polling-delay-passive = <0>; 159 thermal-sensors = <&pmk8350_adc_tm 2>; 160 161 trips { 162 active-config0 { 163 temperature = <125000>; 164 hysteresis = <1000>; 165 type = "passive"; 166 }; 167 }; 168 }; 169 170 chg-skin-thermal { 171 polling-delay-passive = <0>; 172 thermal-sensors = <&pmk8350_adc_tm 6>; 173 174 trips { 175 active-config0 { 176 temperature = <125000>; 177 hysteresis = <1000>; 178 type = "passive"; 179 }; 180 }; 181 }; 182 183 conn-thermal { 184 polling-delay-passive = <0>; 185 thermal-sensors = <&pmk8350_adc_tm 5>; 186 187 trips { 188 active-config0 { 189 temperature = <125000>; 190 hysteresis = <1000>; 191 type = "passive"; 192 }; 193 }; 194 }; 195 196 quiet-thermal { 197 polling-delay-passive = <0>; 198 thermal-sensors = <&pmk8350_adc_tm 1>; 199 200 trips { 201 active-config0 { 202 temperature = <125000>; 203 hysteresis = <1000>; 204 type = "passive"; 205 }; 206 }; 207 }; 208 209 rear-cam-thermal { 210 polling-delay-passive = <0>; 211 thermal-sensors = <&pmk8350_adc_tm 4>; 212 213 trips { 214 active-config0 { 215 temperature = <125000>; 216 hysteresis = <1000>; 217 type = "passive"; 218 }; 219 }; 220 }; 221 222 sdm-skin-thermal { 223 polling-delay-passive = <0>; 224 thermal-sensors = <&pmk8350_adc_tm 3>; 225 226 trips { 227 active-config0 { 228 temperature = <125000>; 229 hysteresis = <1000>; 230 type = "passive"; 231 }; 232 }; 233 }; 234 235 xo-thermal { 236 polling-delay-passive = <0>; 237 thermal-sensors = <&pmk8350_adc_tm 0>; 238 239 trips { 240 active-config0 { 241 temperature = <125000>; 242 hysteresis = <1000>; 243 type = "passive"; 244 }; 245 }; 246 }; 247 }; 248 249 vph_pwr: vph-pwr-regulator { 250 compatible = "regulator-fixed"; 251 regulator-name = "vph_pwr"; 252 regulator-min-microvolt = <3700000>; 253 regulator-max-microvolt = <3700000>; 254 }; 255 256 vreg_cam_vio_1p8: regulator-cam-vio { 257 compatible = "regulator-fixed"; 258 regulator-name = "vreg_cam_vio_1p8"; 259 260 regulator-min-microvolt = <1800000>; 261 regulator-max-microvolt = <1800000>; 262 263 gpio = <&tlmm 49 GPIO_ACTIVE_HIGH>; 264 enable-active-high; 265 /* Always-on prevents CCI bus timeouts */ 266 regulator-always-on; 267 268 vin-supply = <&vreg_bob>; 269 }; 270 271 vreg_camf_vana_2p8: regulator-camf-vana { 272 compatible = "regulator-fixed"; 273 regulator-name = "vreg_camf_vana_2p8"; 274 275 regulator-min-microvolt = <2800000>; 276 regulator-max-microvolt = <2800000>; 277 278 gpio = <&tlmm 43 GPIO_ACTIVE_HIGH>; 279 enable-active-high; 280 281 vin-supply = <&vreg_bob>; 282 }; 283 284 vreg_camf_vdig_1p1: regulator-camf-vdig { 285 compatible = "regulator-fixed"; 286 regulator-name = "vreg_camf_vdig_1p1"; 287 288 regulator-min-microvolt = <1100000>; 289 regulator-max-microvolt = <1100000>; 290 291 gpio = <&tlmm 35 GPIO_ACTIVE_HIGH>; 292 enable-active-high; 293 294 vin-supply = <&vreg_s8b_1p256>; 295 }; 296 297 vreg_camu_vaf_1p8: regulator-camu-vaf { 298 compatible = "regulator-fixed"; 299 regulator-name = "vreg_camu_vaf_1p8"; 300 301 regulator-min-microvolt = <1800000>; 302 regulator-max-microvolt = <1800000>; 303 304 gpio = <&tlmm 71 GPIO_ACTIVE_HIGH>; 305 enable-active-high; 306 307 vin-supply = <&vreg_bob>; 308 }; 309 310 vreg_camu_vana_2p8: regulator-camu-vana { 311 compatible = "regulator-fixed"; 312 regulator-name = "vreg_camu_vana_2p8"; 313 314 regulator-min-microvolt = <2800000>; 315 regulator-max-microvolt = <2800000>; 316 gpio = <&tlmm 68 GPIO_ACTIVE_HIGH>; 317 enable-active-high; 318 319 vin-supply = <&vreg_bob>; 320 }; 321 322 vreg_camu_vdig_1p1: regulator-camu-vdig { 323 compatible = "regulator-fixed"; 324 regulator-name = "vreg_camu_vdig_1p1"; 325 326 regulator-min-microvolt = <1100000>; 327 regulator-max-microvolt = <1100000>; 328 329 gpio = <&tlmm 50 GPIO_ACTIVE_HIGH>; 330 enable-active-high; 331 332 vin-supply = <&vreg_s8b_1p256>; 333 }; 334 335 vreg_camw_vaf_1p8: regulator-camw-vaf { 336 compatible = "regulator-fixed"; 337 regulator-name = "vreg_camw_vaf_1p8"; 338 339 regulator-min-microvolt = <1800000>; 340 regulator-max-microvolt = <1800000>; 341 342 gpio = <&tlmm 96 GPIO_ACTIVE_HIGH>; 343 enable-active-high; 344 345 vin-supply = <&vreg_bob>; 346 }; 347 348 vreg_camw_vana_2p8: regulator-camw-vana { 349 compatible = "regulator-fixed"; 350 regulator-name = "vreg_camw_vana_2p8"; 351 352 regulator-min-microvolt = <2800000>; 353 regulator-max-microvolt = <2800000>; 354 355 gpio = <&tlmm 79 GPIO_ACTIVE_HIGH>; 356 enable-active-high; 357 358 vin-supply = <&vreg_bob>; 359 }; 360 361 vreg_camw_vdig_1p1: regulator-camw-vdig { 362 compatible = "regulator-fixed"; 363 regulator-name = "vreg_camw_vdig_1p1"; 364 365 regulator-min-microvolt = <1100000>; 366 regulator-max-microvolt = <1100000>; 367 368 gpio = <&tlmm 108 GPIO_ACTIVE_HIGH>; 369 enable-active-high; 370 371 vin-supply = <&vreg_s8b_1p256>; 372 }; 373 374 // S2B is really ebi.lvl but it's there for supply map completeness sake. 375 vreg_s2b_0p7: smpa3-regulator { 376 compatible = "regulator-fixed"; 377 regulator-name = "vreg_s2b_0p7"; 378 379 regulator-min-microvolt = <65535>; 380 regulator-max-microvolt = <65535>; 381 regulator-always-on; 382 vin-supply = <&vph_pwr>; 383 }; 384}; 385 386&apps_rsc { 387 regulators-0 { 388 compatible = "qcom,pm7325-rpmh-regulators"; 389 qcom,pmic-id = "b"; 390 391 vdd-s1-supply = <&vph_pwr>; 392 vdd-s2-supply = <&vph_pwr>; 393 vdd-s7-supply = <&vph_pwr>; 394 vdd-s8-supply = <&vph_pwr>; 395 396 vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p952>; 397 vdd-l2-l7-supply = <&vreg_bob>; 398 vdd-l3-supply = <&vreg_s2b_0p7>; 399 vdd-l5-supply = <&vreg_s2b_0p7>; 400 vdd-l6-l9-l10-supply = <&vreg_s8b_1p256>; 401 vdd-l8-supply = <&vreg_s7b_0p952>; 402 vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p856>; 403 vdd-l13-supply = <&vreg_s7b_0p952>; 404 vdd-l14-l16-supply = <&vreg_s8b_1p256>; 405 406 /* 407 * S2, L4-L5 are ARCs: 408 * S2 - ebi.lvl, 409 * L4 - lmx.lvl, 410 * l5 - lcx.lvl. 411 * 412 * L10 are unused. 413 */ 414 415 vdd19_pmu_rfa_i: 416 vreg_s1b_1p856: smps1 { 417 regulator-name = "vreg_s1b_1p856"; 418 regulator-min-microvolt = <1840000>; 419 regulator-max-microvolt = <2040000>; 420 }; 421 422 vdd_pmu_aon_i: 423 vdd09_pmu_rfa_i: 424 vdd095_mx_pmu: 425 vdd095_pmu_1: 426 vdd095_pmu_2: 427 vreg_s7b_0p952: smps7 { 428 regulator-name = "vreg_s7b_0p952"; 429 regulator-min-microvolt = <535000>; 430 regulator-max-microvolt = <1120000>; 431 }; 432 433 vdd13_pmu_rfa_i: 434 vreg_s8b_1p256: smps8 { 435 regulator-name = "vreg_s8b_1p256"; 436 regulator-min-microvolt = <1200000>; 437 regulator-max-microvolt = <1500000>; 438 regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>; 439 }; 440 441 vreg_l1b_0p912: ldo1 { 442 regulator-name = "vreg_l1b_0p912"; 443 regulator-min-microvolt = <825000>; 444 regulator-max-microvolt = <925000>; 445 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 446 }; 447 448 vdd_a_usbhs_3p1: 449 vreg_l2b_3p072: ldo2 { 450 regulator-name = "vreg_l2b_3p072"; 451 regulator-min-microvolt = <2700000>; 452 regulator-max-microvolt = <3544000>; 453 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 454 }; 455 456 vdd_io_ebi0_1: 457 vdd_io_ebi0_2: 458 vdd_io_ebi0_3: 459 vdd_io_ebi0_4: 460 vdd_io_ebi1_1: 461 vdd_io_ebi1_2: 462 vdd_io_ebi1_3: 463 vdd_io_ebi1_4: 464 vreg_l3b_0p6: ldo3 { 465 regulator-name = "vreg_l3b_0p6"; 466 regulator-min-microvolt = <312000>; 467 regulator-max-microvolt = <910000>; 468 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 469 }; 470 471 vdd_a_csi_01_1p2: 472 vdd_a_csi_23_1p2: 473 vdd_a_csi_4_1p2: 474 vdd_a_dsi_0_1p2: 475 vdd_a_qlink_0_1p2_ck: 476 vdd_a_qlink_1_1p2: 477 vdd_a_ufs_0_1p2: 478 vdd_vref_1p2_1: 479 vdd_vref_1p2_2: 480 vreg_l6b_1p2: ldo6 { 481 regulator-name = "vreg_l6b_1p2"; 482 regulator-min-microvolt = <1140000>; 483 regulator-max-microvolt = <1260000>; 484 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 485 regulator-allow-set-load; 486 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 487 RPMH_REGULATOR_MODE_HPM>; 488 }; 489 490 vreg_l7b_2p96: ldo7 { 491 regulator-name = "vreg_l7b_2p96"; 492 regulator-min-microvolt = <2400000>; 493 regulator-max-microvolt = <3544000>; 494 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 495 regulator-allow-set-load; 496 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 497 RPMH_REGULATOR_MODE_HPM>; 498 }; 499 500 vreg_l8b_0p904: ldo8 { 501 regulator-name = "vreg_l8b_0p904"; 502 regulator-min-microvolt = <870000>; 503 regulator-max-microvolt = <970000>; 504 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 505 }; 506 507 vdd_px10: 508 vreg_l9b_1p2: ldo9 { 509 regulator-name = "vreg_l9b_1p2"; 510 regulator-min-microvolt = <1200000>; 511 regulator-max-microvolt = <1304000>; 512 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 513 regulator-allow-set-load; 514 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 515 RPMH_REGULATOR_MODE_HPM>; 516 }; 517 518 vddah_0: 519 vddah_1: 520 vddah_fbrx: 521 vddah_tx0: 522 vddah_tx0_1: 523 vddah_tx1: 524 vddah_tx1_1: 525 vreg_l11b_1p776: ldo11 { 526 regulator-name = "vreg_l11b_1p776"; 527 regulator-min-microvolt = <1504000>; 528 regulator-max-microvolt = <2000000>; 529 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 530 }; 531 532 vddal_dig0: 533 vddal_dig_1: 534 vddal_dig_2: 535 vddal_dig_xo: 536 vddal_gps_l1: 537 vddal_gps_l5: 538 vddal_icon: 539 vddal_rx: 540 vddal_rx0: 541 vddal_rx1: 542 vddal_rx2: 543 vddal_tx0: 544 vddal_tx0_1: 545 vddal_tx1: 546 vddal_tx1_2: 547 vreg_l12b_0p8: ldo12 { 548 regulator-name = "vreg_l12b_0p8"; 549 regulator-min-microvolt = <751000>; 550 regulator-max-microvolt = <824000>; 551 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 552 }; 553 554 vdd_cx1: 555 vdd_cx2: 556 vreg_l13b_0p8: ldo13 { 557 regulator-name = "vreg_l13b_0p8"; 558 regulator-min-microvolt = <530000>; 559 regulator-max-microvolt = <824000>; 560 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 561 }; 562 563 vdd_1p2: 564 vdd_lna: 565 vddam_fbrx: 566 vddam_rx_0: 567 vddam_rx_1: 568 vddam_rx0: 569 vddam_rx1: 570 vddam_rx2: 571 vddam_rxe_a: 572 vddam_rxe_b: 573 vddam_rxe_c: 574 vddam_rxe_d: 575 vddam_rxe_e: 576 vddam_tx0: 577 vddam_tx0_1: 578 vddam_tx1: 579 vddam_tx1_1: 580 vddam_xo: 581 vreg_l14b_1p2: ldo14 { 582 regulator-name = "vreg_l14b_1p2"; 583 regulator-min-microvolt = <1080000>; 584 regulator-max-microvolt = <1304000>; 585 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 586 }; 587 588 vdd_mx: 589 vddmx_tx: 590 vdd_phy: 591 vreg_l15b_0p88: ldo15 { 592 regulator-name = "vreg_l15b_0p88"; 593 regulator-min-microvolt = <765000>; 594 regulator-max-microvolt = <1020000>; 595 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 596 }; 597 598 vreg_l16b_1p2: ldo16 { 599 regulator-name = "vreg_l16b_1p2"; 600 regulator-min-microvolt = <1100000>; 601 regulator-max-microvolt = <1300000>; 602 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 603 }; 604 605 vdd_buck: 606 vreg_l17b_1p8: ldo17 { 607 regulator-name = "vreg_l17b_1p8"; 608 regulator-min-microvolt = <1700000>; 609 regulator-max-microvolt = <1900000>; 610 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 611 }; 612 613 vdd_px_wcd9385: 614 vdd_txrx: 615 vdd_px0: 616 vdd_px3: 617 vdd_px7: 618 vreg_l18b_1p8: ldo18 { 619 regulator-name = "vreg_l18b_1p8"; 620 regulator-min-microvolt = <1800000>; 621 regulator-max-microvolt = <2000000>; 622 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 623 }; 624 625 vdd_1p8: 626 vdd_px_sdr735: 627 vdd_pxm: 628 vddio_px_1: 629 vddio_px_2: 630 vddio_px_3: 631 vdd18_io: 632 vddpx_ts: 633 vddpx_wl4otp: 634 vreg_l19b_1p8: ldo19 { 635 regulator-name = "vreg_l19b_1p8"; 636 regulator-min-microvolt = <1800000>; 637 regulator-max-microvolt = <2000000>; 638 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 639 }; 640 }; 641 642 regulators-1 { 643 compatible = "qcom,pm8350c-rpmh-regulators"; 644 qcom,pmic-id = "c"; 645 646 vdd-s1-supply = <&vph_pwr>; 647 vdd-s2-supply = <&vph_pwr>; 648 vdd-s5-supply = <&vph_pwr>; 649 vdd-s7-supply = <&vph_pwr>; 650 vdd-s9-supply = <&vph_pwr>; 651 vdd-s10-supply = <&vph_pwr>; 652 653 vdd-l1-l12-supply = <&vreg_s1b_1p856>; 654 vdd-l2-l8-supply = <&vreg_s1b_1p856>; 655 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>; 656 vdd-l6-l9-l11-supply = <&vreg_bob>; 657 vdd-l10-supply = <&vreg_s7b_0p952>; 658 659 vdd-bob-supply = <&vph_pwr>; 660 661 /* 662 * S2, S5, S7, S10 are ARCs: 663 * S2 - cx.lvl, 664 * S5 - mss.lvl, 665 * S7 - gfx.lvl, 666 * S10 - mx.lvl. 667 */ 668 669 vdd22_wlbtpa_ch0: 670 vdd22_wlbtpa_ch1: 671 vdd22_wlbtppa_ch0: 672 vdd22_wlbtppa_ch1: 673 vdd22_wlpa5g_ch0: 674 vdd22_wlpa5g_ch1: 675 vdd22_wlppa5g_ch0: 676 vdd22_wlppa5g_ch1: 677 vreg_s1c_2p2: smps1 { 678 regulator-name = "vreg_s1c_2p2"; 679 regulator-min-microvolt = <2190000>; 680 regulator-max-microvolt = <2210000>; 681 }; 682 683 vdd_px1: 684 vreg_s9c_0p676: smps9 { 685 regulator-name = "vreg_s9c_0p676"; 686 regulator-min-microvolt = <1010000>; 687 regulator-max-microvolt = <1170000>; 688 }; 689 690 vdd_a_apc_cs_1p8: 691 vdd_a_cxo_1p8: 692 vdd_a_gfx_cs_1p8: 693 vdd_a_qrefs_1p8: 694 vdd_a_turing_q6_cs_1p8: 695 vdd_a_usbhs_1p8: 696 vdd_qfprom: 697 vreg_l1c_1p8: ldo1 { 698 regulator-name = "vreg_l1c_1p8"; 699 regulator-min-microvolt = <1800000>; 700 regulator-max-microvolt = <1980000>; 701 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 702 }; 703 704 vreg_l2c_1p8: ldo2 { 705 regulator-name = "vreg_l2c_1p8"; 706 regulator-min-microvolt = <1620000>; 707 regulator-max-microvolt = <1980000>; 708 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 709 }; 710 711 vdd_ts: 712 vreg_l3c_3p0: ldo3 { 713 regulator-name = "vreg_l3c_3p0"; 714 regulator-min-microvolt = <2800000>; 715 regulator-max-microvolt = <3540000>; 716 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 717 }; 718 719 vdd_px5: 720 vreg_l4c_1p8_3p0: ldo4 { 721 regulator-name = "vreg_l4c_1p8_3p0"; 722 regulator-min-microvolt = <1620000>; 723 regulator-max-microvolt = <3300000>; 724 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 725 }; 726 727 vdd_px6: 728 vreg_l5c_1p8_3p0: ldo5 { 729 regulator-name = "vreg_l5c_1p8_3p0"; 730 regulator-min-microvolt = <1620000>; 731 regulator-max-microvolt = <3300000>; 732 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 733 }; 734 735 vdd_px2: 736 vreg_l6c_2p96: ldo6 { 737 regulator-name = "vreg_l6c_2p96"; 738 regulator-min-microvolt = <1650000>; 739 regulator-max-microvolt = <3544000>; 740 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 741 }; 742 743 vdd_sensor_3p3: 744 vreg_l7c_3p0: ldo7 { 745 regulator-name = "vreg_l7c_3p0"; 746 regulator-min-microvolt = <3000000>; 747 regulator-max-microvolt = <3544000>; 748 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 749 }; 750 751 vdd_sensor_1p8: 752 vreg_l8c_1p8: ldo8 { 753 regulator-name = "vreg_l8c_1p8"; 754 regulator-min-microvolt = <1620000>; 755 regulator-max-microvolt = <2000000>; 756 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 757 }; 758 759 vreg_l9c_2p96: ldo9 { 760 regulator-name = "vreg_l9c_2p96"; 761 regulator-min-microvolt = <2700000>; 762 regulator-max-microvolt = <3544000>; 763 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 764 }; 765 766 vdd_a_csi_01_0p9: 767 vdd_a_csi_23_0p9: 768 vdd_a_csi_4_0p9: 769 vdd_a_dsi_0_0p9: 770 vdd_a_dsi_0_pll_0p9: 771 vdd_a_gnss_0p9: 772 vdd_a_qlink_0_0p9: 773 vdd_a_qlink_0_0p9_ck: 774 vdd_a_qlink_1_0p9: 775 vdd_a_qlink_1_0p9_ck: 776 vdd_a_qrefs_0p875_1: 777 vdd_a_qrefs_0p875_2: 778 vdd_a_qrefs_0p875_3: 779 vdd_a_qrefs_0p875_4: 780 vdd_a_qrefs_0p875_5: 781 vdd_a_qrefs_0p875_6: 782 vdd_a_qrefs_0p875_7: 783 vdd_a_qrefs_0p875_8: 784 vdd_a_qrefs_0p875_9: 785 vdd_a_ufs_0_core: 786 vdd_a_usbhs_core: 787 vdd_vref_0p9: 788 vreg_l10c_0p88: ldo10 { 789 regulator-name = "vreg_l10c_0p88"; 790 regulator-min-microvolt = <720000>; 791 regulator-max-microvolt = <1050000>; 792 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 793 regulator-allow-set-load; 794 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 795 RPMH_REGULATOR_MODE_HPM>; 796 }; 797 798 vdd_fm: 799 vdd_wlan_fem: 800 vreg_l11c_2p8: ldo11 { 801 regulator-name = "vreg_l11c_2p8"; 802 regulator-min-microvolt = <2800000>; 803 regulator-max-microvolt = <3544000>; 804 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 805 }; 806 807 vdd_io_oled: 808 vreg_l12c_1p8: ldo12 { 809 regulator-name = "vreg_l12c_1p8"; 810 regulator-min-microvolt = <1650000>; 811 regulator-max-microvolt = <2000000>; 812 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 813 }; 814 815 vdd_oled: 816 vreg_l13c_3p0: ldo13 { 817 regulator-name = "vreg_l13c_3p0"; 818 regulator-min-microvolt = <2700000>; 819 regulator-max-microvolt = <3544000>; 820 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 821 }; 822 823 vdd_flash: 824 vdd_mic_bias: 825 vreg_bob: bob { 826 regulator-name = "vreg_bob"; 827 regulator-min-microvolt = <3008000>; 828 regulator-max-microvolt = <3960000>; 829 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 830 }; 831 }; 832}; 833 834&cci0 { 835 /* 836 * cci0_i2c1 bus is unused and GPIO 71&72 are repurposed. 837 * So set only cci0_i2c0 pinctrl here. 838 */ 839 pinctrl-0 = <&cci0_default>; 840 pinctrl-1 = <&cci0_sleep>; 841 842 status = "okay"; 843}; 844 845&cci0_i2c0 { 846 /* D-PHY sony,imx471 (Front) @ 0x1a */ 847 848 camf_p24c64f: eeprom@52 { 849 compatible = "puya,p24c64f", 850 "atmel,24c64"; 851 reg = <0x52>; 852 vcc-supply = <&vreg_cam_vio_1p8>; 853 read-only; 854 }; 855}; 856 857&cci1 { 858 status = "okay"; 859}; 860 861&cci1_i2c0 { 862 /* actuator (For Ultra Wide sensor) @ 0xc */ 863 /* D-PHY samsung,s5kjn1 (Ultra Wide) @ 0x2d */ 864 865 camu_gt24p128e: eeprom@51 { 866 compatible = "giantec,gt24p128e", 867 "atmel,24c128"; 868 reg = <0x51>; 869 vcc-supply = <&vreg_cam_vio_1p8>; 870 read-only; 871 }; 872}; 873 874&cci1_i2c1 { 875 /* actuator (For Wide sensor) @ 0xc */ 876 /* C-PHY sony,imx766 (Wide) @ 0x10 */ 877 878 camw_gt24p128e: eeprom@50 { 879 compatible = "giantec,gt24p128e", 880 "atmel,24c128"; 881 reg = <0x50>; 882 vcc-supply = <&vreg_cam_vio_1p8>; 883 read-only; 884 }; 885}; 886 887&gcc { 888 protected-clocks = <GCC_CFG_NOC_LPASS_CLK>, 889 <GCC_MSS_CFG_AHB_CLK>, 890 <GCC_MSS_OFFLINE_AXI_CLK>, 891 <GCC_MSS_Q6SS_BOOT_CLK_SRC>, 892 <GCC_MSS_Q6_MEMNOC_AXI_CLK>, 893 <GCC_MSS_SNOC_AXI_CLK>, 894 <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, 895 <GCC_QSPI_CORE_CLK>, 896 <GCC_QSPI_CORE_CLK_SRC>, 897 <GCC_SEC_CTRL_CLK_SRC>, 898 <GCC_WPSS_AHB_BDG_MST_CLK>, 899 <GCC_WPSS_AHB_CLK>, 900 <GCC_WPSS_RSCP_CLK>; 901}; 902 903&gpi_dma0 { 904 status = "okay"; 905}; 906 907&gpi_dma1 { 908 status = "okay"; 909}; 910 911&gpu { 912 status = "okay"; 913}; 914 915&gpu_zap_shader { 916 firmware-name = "qcom/sm7325/nothing/spacewar/a660_zap.mbn"; 917}; 918 919&i2c1 { 920 clock-frequency = <100000>; 921 status = "okay"; 922 923 /* awinic,aw21018 (Glyph LED) @ 20 */ 924 925 typec-mux@42 { 926 compatible = "fcs,fsa4480"; 927 reg = <0x42>; 928 929 vcc-supply = <&vreg_bob>; 930 931 mode-switch; 932 orientation-switch; 933 934 port { 935 fsa4480_sbu_mux: endpoint { 936 remote-endpoint = <&pmic_glink_sbu>; 937 }; 938 }; 939 }; 940}; 941 942&i2c2 { 943 clock-frequency = <100000>; 944 status = "okay"; 945 946 /* nxp,tfa9873 (EAR speaker codec) @ 34 */ 947 /* nxp,tfa9873 (Main speaker codec) @ 35 */ 948}; 949 950&i2c9 { 951 clock-frequency = <1000000>; 952 status = "okay"; 953 954 nfc@28 { 955 compatible = "nxp,pn553", 956 "nxp,nxp-nci-i2c"; 957 reg = <0x28>; 958 959 interrupt-parent = <&tlmm>; 960 interrupts = <41 IRQ_TYPE_EDGE_RISING>; 961 962 enable-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>; 963 firmware-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>; 964 965 pinctrl-0 = <&nfc_en>, 966 <&nfc_clk_req>, 967 <&nfc_dwl_req>, 968 <&nfc_int_req>; 969 pinctrl-names = "default"; 970 }; 971}; 972 973&ipa { 974 qcom,gsi-loader = "self"; 975 memory-region = <&ipa_fw_mem>; 976 firmware-name = "qcom/sm7325/nothing/spacewar/ipa_fws.mbn"; 977 978 status = "okay"; 979}; 980 981&mdss { 982 status = "okay"; 983}; 984 985&mdss_dsi { 986 vdda-supply = <&vdd_a_dsi_0_1p2>; 987 status = "okay"; 988 989 panel: panel@0 { 990 compatible = "nothing,rm692e5-spacewar", 991 "visionox,rm692e5"; 992 reg = <0>; 993 994 reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>; 995 996 vdd-supply = <&vdd_oled>; 997 vddio-supply = <&vdd_io_oled>; 998 999 pinctrl-0 = <&lcd_reset_n>, 1000 <&mdp_vsync_p>; 1001 pinctrl-names = "default"; 1002 1003 port { 1004 panel_in: endpoint { 1005 remote-endpoint = <&mdss_dsi0_out>; 1006 }; 1007 }; 1008 }; 1009}; 1010 1011&mdss_dsi0_out { 1012 data-lanes = <0 1 2 3>; 1013 remote-endpoint = <&panel_in>; 1014}; 1015 1016&mdss_dsi_phy { 1017 vdds-supply = <&vdd_a_dsi_0_0p9>; 1018 status = "okay"; 1019}; 1020 1021&pm7325_gpios { 1022 gpio-line-names = "NC", /* GPIO_1 */ 1023 "PA_THERM3", 1024 "PA_THERM4", 1025 "NC", 1026 "NC", 1027 "KYPD_VOLP_N", 1028 "NC", 1029 "NC", 1030 "NC", 1031 "NC"; /* GPIO_10 */ 1032 1033 kypd_volp_n: kypd-volp-n-state { 1034 pins = "gpio6"; 1035 function = PMIC_GPIO_FUNC_NORMAL; 1036 bias-pull-up; 1037 input-enable; 1038 power-source = <1>; 1039 }; 1040}; 1041 1042&pm8350c_flash { 1043 status = "okay"; 1044 1045 led-0 { 1046 function = LED_FUNCTION_FLASH; 1047 color = <LED_COLOR_ID_WHITE>; 1048 led-sources = <1>, <4>; 1049 led-max-microamp = <500000>; 1050 flash-max-microamp = <1500000>; 1051 flash-max-timeout-us = <1280000>; 1052 }; 1053}; 1054 1055&pmk8350_adc_tm { 1056 status = "okay"; 1057 1058 /* PMK8350 */ 1059 xo-therm@0 { 1060 reg = <0>; 1061 io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>; 1062 qcom,ratiometric; 1063 qcom,hw-settle-time-us = <200>; 1064 }; 1065 1066 /* PM7325 */ 1067 quiet-therm@1 { 1068 reg = <1>; 1069 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM1_100K_PU>; 1070 qcom,ratiometric; 1071 qcom,hw-settle-time-us = <200>; 1072 }; 1073 1074 cam-flash-therm@2 { 1075 reg = <2>; 1076 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM2_100K_PU>; 1077 qcom,ratiometric; 1078 qcom,hw-settle-time-us = <200>; 1079 }; 1080 1081 sdm-skin-therm@3 { 1082 reg = <3>; 1083 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM3_100K_PU>; 1084 qcom,ratiometric; 1085 qcom,hw-settle-time-us = <200>; 1086 }; 1087 1088 wide-rfc-therm@4 { 1089 reg = <4>; 1090 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM4_100K_PU>; 1091 qcom,ratiometric; 1092 qcom,hw-settle-time-us = <200>; 1093 }; 1094 1095 /* PM8350B */ 1096 usb-conn-therm@5 { 1097 reg = <5>; 1098 io-channels = <&pmk8350_vadc PM8350B_ADC7_AMUX_THM4_100K_PU>; 1099 qcom,ratiometric; 1100 qcom,hw-settle-time-us = <200>; 1101 }; 1102 1103 chg-skin-therm@6 { 1104 reg = <6>; 1105 io-channels = <&pmk8350_vadc PM8350B_ADC7_GPIO2_100K_PU>; 1106 qcom,ratiometric; 1107 qcom,hw-settle-time-us = <200>; 1108 }; 1109}; 1110 1111&pmk8350_rtc { 1112 status = "okay"; 1113}; 1114 1115&pmk8350_vadc { 1116 /* PMK8350 */ 1117 channel@44 { 1118 reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; 1119 qcom,ratiometric; 1120 qcom,hw-settle-time = <200>; 1121 qcom,pre-scaling = <1 1>; 1122 label = "pmk8350_xo_therm"; 1123 }; 1124 1125 /* PM7325 */ 1126 channel@144 { 1127 reg = <PM7325_ADC7_AMUX_THM1_100K_PU>; 1128 qcom,ratiometric; 1129 qcom,hw-settle-time = <200>; 1130 qcom,pre-scaling = <1 1>; 1131 label = "pm7325_quiet_therm"; 1132 }; 1133 1134 channel@145 { 1135 reg = <PM7325_ADC7_AMUX_THM2_100K_PU>; 1136 qcom,ratiometric; 1137 qcom,hw-settle-time = <200>; 1138 qcom,pre-scaling = <1 1>; 1139 label = "pm7325_cam_flash_therm"; 1140 }; 1141 1142 channel@146 { 1143 reg = <PM7325_ADC7_AMUX_THM3_100K_PU>; 1144 qcom,ratiometric; 1145 qcom,hw-settle-time = <200>; 1146 qcom,pre-scaling = <1 1>; 1147 label = "pm7325_sdm_skin_therm"; 1148 }; 1149 1150 channel@147 { 1151 reg = <PM7325_ADC7_AMUX_THM4_100K_PU>; 1152 qcom,ratiometric; 1153 qcom,hw-settle-time = <200>; 1154 qcom,pre-scaling = <1 1>; 1155 label = "pm7325_wide_rfc_therm"; 1156 }; 1157 1158 channel@14a { 1159 reg = <PM7325_ADC7_GPIO1_100K_PU>; 1160 qcom,ratiometric; 1161 qcom,hw-settle-time = <200>; 1162 qcom,pre-scaling = <1 1>; 1163 label = "pm7325_pa3_therm"; 1164 }; 1165 1166 channel@14b { 1167 reg = <PM7325_ADC7_GPIO2_100K_PU>; 1168 qcom,ratiometric; 1169 qcom,hw-settle-time = <200>; 1170 qcom,pre-scaling = <1 1>; 1171 label = "pm7325_pa4_therm"; 1172 }; 1173 1174 /* PM8350B */ 1175 channel@344 { 1176 reg = <PM8350B_ADC7_AMUX_THM1_100K_PU>; 1177 qcom,ratiometric; 1178 qcom,hw-settle-time = <200>; 1179 qcom,pre-scaling = <1 1>; 1180 label = "pm8350b_batt_therm"; 1181 }; 1182 1183 channel@347 { 1184 reg = <PM8350B_ADC7_AMUX_THM4_100K_PU>; 1185 qcom,ratiometric; 1186 qcom,hw-settle-time = <200>; 1187 qcom,pre-scaling = <1 1>; 1188 label = "pm8350b_usb_conn_therm"; 1189 }; 1190 1191 channel@34b { 1192 reg = <PM8350B_ADC7_GPIO2_100K_PU>; 1193 qcom,ratiometric; 1194 qcom,hw-settle-time = <200>; 1195 qcom,pre-scaling = <1 1>; 1196 label = "pm8350b_chg_skin_therm"; 1197 }; 1198 1199 channel@34c { 1200 reg = <PM8350B_ADC7_GPIO3_100K_PU>; 1201 qcom,ratiometric; 1202 qcom,hw-settle-time = <200>; 1203 qcom,pre-scaling = <1 1>; 1204 label = "pm8350b_usb_therm2"; 1205 }; 1206}; 1207 1208&pon_pwrkey { 1209 status = "okay"; 1210}; 1211 1212&pon_resin { 1213 linux,code = <KEY_VOLUMEDOWN>; 1214 status = "okay"; 1215}; 1216 1217&q6afedai { 1218 dai@16 { 1219 reg = <PRIMARY_MI2S_RX>; 1220 qcom,sd-lines = <1>; 1221 }; 1222}; 1223 1224&q6asmdai { 1225 dai@0 { 1226 reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>; 1227 }; 1228}; 1229 1230&qfprom { 1231 vcc-supply = <&vdd_qfprom>; 1232}; 1233 1234&qup_uart5_rx { 1235 drive-strength = <2>; 1236 bias-disable; 1237}; 1238 1239&qup_uart5_tx { 1240 drive-strength = <2>; 1241 bias-disable; 1242}; 1243 1244&qupv3_id_0 { 1245 status = "okay"; 1246}; 1247 1248&qupv3_id_1 { 1249 status = "okay"; 1250}; 1251 1252&remoteproc_adsp { 1253 firmware-name = "qcom/sm7325/nothing/spacewar/adsp.mbn"; 1254 status = "okay"; 1255}; 1256 1257&remoteproc_cdsp { 1258 firmware-name = "qcom/sm7325/nothing/spacewar/cdsp.mbn"; 1259 status = "okay"; 1260}; 1261 1262&remoteproc_mpss { 1263 firmware-name = "qcom/sm7325/nothing/spacewar/modem.mbn"; 1264 status = "okay"; 1265}; 1266 1267&remoteproc_wpss { 1268 firmware-name = "qcom/sm7325/nothing/spacewar/wpss.mbn"; 1269 status = "okay"; 1270}; 1271 1272&spi13 { 1273 status = "okay"; 1274 1275 /* focaltech,ft3680 (Touchscreen) @ 0 */ 1276}; 1277 1278&tlmm { 1279 /* 56-59: Fingerprint reader (SPI) */ 1280 gpio-reserved-ranges = <56 4>; 1281 1282 bt_uart_sleep_cts: bt-uart-sleep-cts-state { 1283 pins = "gpio28"; 1284 function = "gpio"; 1285 bias-bus-hold; 1286 }; 1287 1288 bt_uart_sleep_rts: bt-uart-sleep-rts-state { 1289 pins = "gpio29"; 1290 function = "gpio"; 1291 bias-pull-down; 1292 }; 1293 1294 bt_uart_sleep_txd: bt-uart-sleep-txd-state { 1295 pins = "gpio30"; 1296 function = "gpio"; 1297 bias-pull-up; 1298 }; 1299 1300 bt_uart_sleep_rxd: bt-uart-sleep-rxd-state { 1301 pins = "gpio31"; 1302 function = "gpio"; 1303 bias-pull-up; 1304 }; 1305 1306 nfc_en: nfc-en-state { 1307 pins = "gpio38"; 1308 function = "gpio"; 1309 drive-strength = <2>; 1310 bias-disable; 1311 }; 1312 1313 nfc_clk_req: nfc-clk-req-state { 1314 pins = "gpio39"; 1315 function = "gpio"; 1316 drive-strength = <2>; 1317 bias-disable; 1318 }; 1319 1320 nfc_dwl_req: nfc-dwl-req-state { 1321 pins = "gpio40"; 1322 function = "gpio"; 1323 drive-strength = <2>; 1324 bias-disable; 1325 }; 1326 1327 nfc_int_req: nfc-int-req-state { 1328 pins = "gpio41"; 1329 function = "gpio"; 1330 drive-strength = <2>; 1331 bias-pull-down; 1332 }; 1333 1334 lcd_reset_n: lcd-reset-n-state { 1335 pins = "gpio44"; 1336 function = "gpio"; 1337 drive-strength = <8>; 1338 bias-disable; 1339 }; 1340 1341 mdp_vsync_p: mdp-vsync-p-state { 1342 pins = "gpio80"; 1343 function = "mdp_vsync"; 1344 drive-strength = <2>; 1345 bias-pull-down; 1346 }; 1347 1348 hst_bt_en: hst-bt-en-state { 1349 pins = "gpio85"; 1350 function = "gpio"; 1351 output-low; 1352 bias-disable; 1353 }; 1354 1355 hst_sw_ctrl: hst-sw-ctrl-state { 1356 pins = "gpio86"; 1357 function = "gpio"; 1358 bias-pull-down; 1359 }; 1360}; 1361 1362&uart5 { 1363 status = "okay"; 1364}; 1365 1366&uart7 { 1367 /delete-property/interrupts; 1368 interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>, 1369 <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; 1370 1371 pinctrl-1 = <&bt_uart_sleep_cts>, 1372 <&bt_uart_sleep_rts>, 1373 <&bt_uart_sleep_txd>, 1374 <&bt_uart_sleep_rxd>; 1375 pinctrl-names = "default", "sleep"; 1376 1377 status = "okay"; 1378 1379 bluetooth: bluetooth { 1380 compatible = "qcom,wcn6750-bt"; 1381 1382 pinctrl-0 = <&hst_bt_en>, 1383 <&hst_sw_ctrl>; 1384 pinctrl-names = "default"; 1385 1386 enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; 1387 swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>; 1388 1389 vddio-supply = <&vreg_l19b_1p8>; 1390 vddaon-supply = <&vreg_s7b_0p952>; 1391 vddbtcxmx-supply = <&vreg_s7b_0p952>; 1392 vddrfacmn-supply = <&vreg_s7b_0p952>; 1393 vddrfa0p8-supply = <&vreg_s7b_0p952>; 1394 vddrfa1p7-supply = <&vdd19_pmu_rfa_i>; 1395 vddrfa1p2-supply = <&vdd13_pmu_rfa_i>; 1396 vddrfa2p2-supply = <&vreg_s1c_2p2>; 1397 vddasd-supply = <&vreg_l11c_2p8>; 1398 max-speed = <3200000>; 1399 1400 qcom,local-bd-address-broken; 1401 }; 1402}; 1403 1404&ufs_mem_hc { 1405 reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; 1406 1407 vcc-supply = <&vreg_l7b_2p96>; 1408 vcc-max-microamp = <800000>; 1409 /* 1410 * Technically l9b enables an eLDO (supplied by s1b) which then powers 1411 * VCCQ2 of the UFS. 1412 */ 1413 vccq-supply = <&vreg_l9b_1p2>; 1414 vccq-max-microamp = <900000>; 1415 1416 status = "okay"; 1417}; 1418 1419&ufs_mem_phy { 1420 vdda-phy-supply = <&vdd_a_ufs_0_core>; 1421 vdda-pll-supply = <&vdd_a_ufs_0_1p2>; 1422 status = "okay"; 1423}; 1424 1425&usb_1 { 1426 /* USB 2.0 only */ 1427 qcom,select-utmi-as-pipe-clk; 1428 status = "okay"; 1429}; 1430 1431&usb_1_dwc3 { 1432 dr_mode = "otg"; 1433 usb-role-switch; 1434 maximum-speed = "high-speed"; 1435 /* Remove USB3 phy */ 1436 phys = <&usb_1_hsphy>; 1437 phy-names = "usb2-phy"; 1438}; 1439 1440&usb_1_dwc3_hs { 1441 remote-endpoint = <&pmic_glink_hs_in>; 1442}; 1443 1444&usb_1_hsphy { 1445 vdda-pll-supply = <&vdd_a_usbhs_core>; 1446 vdda18-supply = <&vdd_a_usbhs_1p8>; 1447 vdda33-supply = <&vdd_a_usbhs_3p1>; 1448 status = "okay"; 1449}; 1450 1451&venus { 1452 firmware-name = "qcom/sm7325/nothing/spacewar/vpu20_1v.mbn"; 1453 status = "okay"; 1454}; 1455 1456&wifi { 1457 status = "okay"; 1458}; 1459