1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2022, Konrad Dybcio <konrad.dybcio@somainline.org> 4 */ 5 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 8 #include "sm8450.dtsi" 9 #include "pm8350.dtsi" 10 #include "pm8350b.dtsi" 11 #include "pm8350c.dtsi" 12 #include "pm8450.dtsi" 13 #include "pmk8350.dtsi" 14 #include "pmr735a.dtsi" 15 16 /delete-node/ &adsp_mem; 17 /delete-node/ &rmtfs_mem; 18 /delete-node/ &video_mem; 19 20 / { 21 chassis-type = "handset"; 22 23 aliases { 24 serial0 = &uart7; 25 }; 26 27 chosen { 28 stdout-path = "serial0:115200n8"; 29 }; 30 31 gpio-keys { 32 compatible = "gpio-keys"; 33 label = "gpio-keys"; 34 35 pinctrl-names = "default"; 36 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n>; 37 38 key-camera-focus { 39 label = "Camera Focus"; 40 linux,code = <KEY_CAMERA_FOCUS>; 41 gpios = <&pm8350b_gpios 8 GPIO_ACTIVE_LOW>; 42 debounce-interval = <15>; 43 linux,can-disable; 44 wakeup-source; 45 }; 46 47 key-camera-snapshot { 48 label = "Camera Snapshot"; 49 linux,code = <KEY_CAMERA>; 50 gpios = <&pm8350b_gpios 5 GPIO_ACTIVE_LOW>; 51 debounce-interval = <15>; 52 linux,can-disable; 53 wakeup-source; 54 }; 55 56 key-volume-down { 57 label = "Volume Down"; 58 linux,code = <KEY_VOLUMEDOWN>; 59 gpios = <&pm8350_gpios 6 GPIO_ACTIVE_LOW>; 60 debounce-interval = <15>; 61 linux,can-disable; 62 wakeup-source; 63 }; 64 }; 65 66 reserved-memory { 67 adsp_mem: memory@85700000 { 68 reg = <0x0 0x85700000 0x0 0x2800000>; 69 no-map; 70 }; 71 72 video_mem: memory@9fd00000 { 73 reg = <0x0 0x9fd00000 0x0 0x700000>; 74 no-map; 75 }; 76 77 rmtfs_mem: memory@f3300000 { 78 compatible = "qcom,rmtfs-mem"; 79 reg = <0x0 0xf3300000 0x0 0x280000>; 80 no-map; 81 82 qcom,client-id = <1>; 83 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>; 84 }; 85 86 ramoops@ffc00000 { 87 compatible = "ramoops"; 88 reg = <0 0xffc00000 0 0x200000>; 89 console-size = <0x40000>; 90 record-size = <0x1000>; 91 ecc-size = <16>; 92 no-map; 93 }; 94 }; 95 96 /* Sadly, the voltages for these GPIO regulators are unknown. */ 97 imx650_vana_regulator: imx650-vana-regulator { 98 compatible = "regulator-fixed"; 99 regulator-name = "imx650_vana_regulator"; 100 gpio = <&tlmm 23 GPIO_ACTIVE_HIGH>; 101 enable-active-high; 102 103 pinctrl-names = "default"; 104 pinctrl-0 = <&telec_pwr_en>; 105 }; 106 107 vph_pwr: vph-pwr-regulator { 108 compatible = "regulator-fixed"; 109 regulator-name = "vph_pwr"; 110 regulator-min-microvolt = <3700000>; 111 regulator-max-microvolt = <3700000>; 112 113 regulator-always-on; 114 regulator-boot-on; 115 }; 116 }; 117 118 &apps_rsc { 119 regulators-0 { 120 compatible = "qcom,pm8350-rpmh-regulators"; 121 qcom,pmic-id = "b"; 122 123 vdd-s1-supply = <&vph_pwr>; 124 vdd-s2-supply = <&vph_pwr>; 125 vdd-s3-supply = <&vph_pwr>; 126 vdd-s4-supply = <&vph_pwr>; 127 vdd-s5-supply = <&vph_pwr>; 128 vdd-s6-supply = <&vph_pwr>; 129 vdd-s7-supply = <&vph_pwr>; 130 vdd-s8-supply = <&vph_pwr>; 131 vdd-s9-supply = <&vph_pwr>; 132 vdd-s10-supply = <&vph_pwr>; 133 vdd-s11-supply = <&vph_pwr>; 134 vdd-s12-supply = <&vph_pwr>; 135 136 vdd-l1-l4-supply = <&pm8350_s11>; 137 vdd-l2-l7-supply = <&vreg_bob>; 138 vdd-l3-l5-supply = <&vreg_bob>; 139 vdd-l6-l9-l10-supply = <&pm8350_s12>; 140 141 /* 142 * ARC regulators: 143 * s5 - gfx.lvl 144 * l8 - lcx.lvl 145 */ 146 147 pm8350_s10: smps10 { 148 regulator-name = "pm8350_s10"; 149 regulator-min-microvolt = <1800000>; 150 regulator-max-microvolt = <1800000>; 151 }; 152 153 pm8350_s11: smps11 { 154 regulator-name = "pm8350_s11"; 155 regulator-min-microvolt = <848000>; 156 regulator-max-microvolt = <1104000>; 157 }; 158 159 pm8350_s12: smps12 { 160 regulator-name = "pm8350_s12"; 161 regulator-min-microvolt = <1224000>; 162 regulator-max-microvolt = <1400000>; 163 }; 164 165 pm8350_l1: ldo1 { 166 regulator-name = "pm8350_l1"; 167 regulator-min-microvolt = <912000>; 168 regulator-max-microvolt = <920000>; 169 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 170 }; 171 172 pm8350_l2: ldo2 { 173 regulator-name = "pm8350_l2"; 174 regulator-min-microvolt = <3072000>; 175 regulator-max-microvolt = <3072000>; 176 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 177 }; 178 179 pm8350_l3: ldo3 { 180 regulator-name = "pm8350_l3"; 181 regulator-min-microvolt = <904000>; 182 regulator-max-microvolt = <904000>; 183 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 184 }; 185 186 pm8350_l5: ldo5 { 187 regulator-name = "pm8350_l5"; 188 regulator-min-microvolt = <880000>; 189 regulator-max-microvolt = <912000>; 190 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 191 }; 192 193 pm8350_l6: ldo6 { 194 regulator-name = "pm8350_l6"; 195 regulator-min-microvolt = <1200000>; 196 regulator-max-microvolt = <1200000>; 197 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 198 }; 199 200 pm8350_l7: ldo7 { 201 regulator-name = "pm8350_l7"; 202 regulator-min-microvolt = <2504000>; 203 regulator-max-microvolt = <2504000>; 204 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 205 }; 206 207 pm8350_l9: ldo9 { 208 regulator-name = "pm8350_l9"; 209 regulator-min-microvolt = <1200000>; 210 regulator-max-microvolt = <1200000>; 211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 212 }; 213 }; 214 215 regulators-1 { 216 compatible = "qcom,pm8350c-rpmh-regulators"; 217 qcom,pmic-id = "c"; 218 219 vdd-s1-supply = <&vph_pwr>; 220 vdd-s2-supply = <&vph_pwr>; 221 vdd-s3-supply = <&vph_pwr>; 222 vdd-s4-supply = <&vph_pwr>; 223 vdd-s5-supply = <&vph_pwr>; 224 vdd-s6-supply = <&vph_pwr>; 225 vdd-s7-supply = <&vph_pwr>; 226 vdd-s8-supply = <&vph_pwr>; 227 vdd-s9-supply = <&vph_pwr>; 228 vdd-s10-supply = <&vph_pwr>; 229 230 vdd-l1-l12-supply = <&vreg_bob>; 231 vdd-l2-l8-supply = <&vreg_bob>; 232 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>; 233 vdd-l6-l9-l11-supply = <&vreg_bob>; 234 vdd-l10-supply = <&pm8350_s12>; 235 236 vdd-bob-supply = <&vph_pwr>; 237 238 /* 239 * ARC regulators: 240 * s2 - mxc.lvl 241 * s4 - mss.lvl 242 * s6 - cx.lvl 243 */ 244 245 pm8350c_s1: smps1 { 246 regulator-name = "pm8350c_s1"; 247 regulator-min-microvolt = <1800000>; 248 regulator-max-microvolt = <2024000>; 249 }; 250 251 pm8350c_s10: smps10 { 252 regulator-name = "pm8350c_s10"; 253 regulator-min-microvolt = <1000000>; 254 regulator-max-microvolt = <1100000>; 255 }; 256 257 vreg_bob: bob { 258 regulator-name = "vreg_bob"; 259 regulator-min-microvolt = <3400000>; 260 regulator-max-microvolt = <3960000>; 261 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 262 }; 263 264 pm8350c_l1: ldo1 { 265 regulator-name = "pm8350c_l1"; 266 regulator-min-microvolt = <1800000>; 267 regulator-max-microvolt = <1800000>; 268 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 269 }; 270 271 pm8350c_l2: ldo2 { 272 regulator-name = "pm8350c_l2"; 273 regulator-min-microvolt = <1800000>; 274 regulator-max-microvolt = <1800000>; 275 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 276 }; 277 278 pm8350c_l3: ldo3 { 279 regulator-name = "pm8350c_l3"; 280 regulator-min-microvolt = <3296000>; 281 regulator-max-microvolt = <3304000>; 282 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 283 }; 284 285 pm8350c_l4: ldo4 { 286 regulator-name = "pm8350c_l4"; 287 regulator-min-microvolt = <1704000>; 288 regulator-max-microvolt = <3000000>; 289 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 290 }; 291 292 pm8350c_l5: ldo5 { 293 regulator-name = "pm8350c_l5"; 294 regulator-min-microvolt = <1704000>; 295 regulator-max-microvolt = <3000000>; 296 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 297 }; 298 299 pm8350c_l6: ldo6 { 300 regulator-name = "pm8350c_l6"; 301 regulator-min-microvolt = <2960000>; 302 /* Originally max = 3008000 but SDHCI expects 2960000 */ 303 regulator-max-microvolt = <2960000>; 304 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 305 }; 306 307 pm8350c_l7: ldo7 { 308 regulator-name = "pm8350c_l7"; 309 regulator-min-microvolt = <3008000>; 310 regulator-max-microvolt = <3008000>; 311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 312 }; 313 314 pm8350c_l8: ldo8 { 315 regulator-name = "pm8350c_l8"; 316 regulator-min-microvolt = <1800000>; 317 regulator-max-microvolt = <1800000>; 318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 319 }; 320 321 pm8350c_l9: ldo9 { 322 regulator-name = "pm8350c_l9"; 323 regulator-min-microvolt = <2960000>; 324 /* Originally max = 3008000 but SDHCI expects 2960000 */ 325 regulator-max-microvolt = <2960000>; 326 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 327 }; 328 329 pm8350c_l10: ldo10 { 330 regulator-name = "pm8350c_l10"; 331 regulator-min-microvolt = <1200000>; 332 regulator-max-microvolt = <1200000>; 333 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 334 }; 335 336 pm8350c_l12: ldo12 { 337 regulator-name = "pm8350c_l12"; 338 regulator-min-microvolt = <1800000>; 339 regulator-max-microvolt = <1968000>; 340 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 341 }; 342 343 pm8350c_l13: ldo13 { 344 regulator-name = "pm8350c_l13"; 345 regulator-min-microvolt = <3000000>; 346 regulator-max-microvolt = <3000000>; 347 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 348 }; 349 }; 350 351 regulators-2 { 352 compatible = "qcom,pm8450-rpmh-regulators"; 353 qcom,pmic-id = "h"; 354 355 vdd-s1-supply = <&vph_pwr>; 356 vdd-s2-supply = <&vph_pwr>; 357 vdd-s3-supply = <&vph_pwr>; 358 vdd-s4-supply = <&vph_pwr>; 359 vdd-s5-supply = <&vph_pwr>; 360 vdd-s6-supply = <&vph_pwr>; 361 362 vdd-l2-supply = <&vreg_bob>; 363 vdd-l3-supply = <&vreg_bob>; 364 vdd-l4-supply = <&vreg_bob>; 365 366 /* 367 * ARC regulators: 368 * S2 - ebi.lvl 369 * S4 - mmcx.lvl 370 * S6 - mx.lvl 371 * L1 - lmx.lvl 372 */ 373 374 pm8450_s3: smps3 { 375 regulator-name = "pm8450_s3"; 376 regulator-min-microvolt = <500000>; 377 regulator-max-microvolt = <600000>; 378 }; 379 380 pm8450_l2: ldo2 { 381 regulator-name = "pm8450_l2"; 382 regulator-min-microvolt = <880000>; 383 regulator-max-microvolt = <912000>; 384 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 385 }; 386 387 pm8450_l3: ldo3 { 388 regulator-name = "pm8450_l3"; 389 regulator-min-microvolt = <912000>; 390 regulator-max-microvolt = <912000>; 391 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 392 }; 393 }; 394 395 regulators-3 { 396 compatible = "qcom,pmr735a-rpmh-regulators"; 397 qcom,pmic-id = "e"; 398 399 vdd-s1-supply = <&vph_pwr>; 400 vdd-s2-supply = <&vph_pwr>; 401 vdd-s3-supply = <&vph_pwr>; 402 403 vdd-l1-l2-supply = <&pmr735a_s2>; 404 vdd-l3-supply = <&pmr735a_s1>; 405 vdd-l4-supply = <&pm8350c_s1>; 406 vdd-l5-l6-supply = <&pm8350c_s1>; 407 vdd-l7-bob-supply = <&vreg_bob>; 408 409 pmr735a_s1: smps1 { 410 regulator-name = "pmr735a_s1"; 411 regulator-min-microvolt = <1200000>; 412 regulator-max-microvolt = <1296000>; 413 }; 414 415 pmr735a_s2: smps2 { 416 regulator-name = "pmr735a_s2"; 417 regulator-min-microvolt = <500000>; 418 regulator-max-microvolt = <1040000>; 419 }; 420 421 pmr735a_s3: smps3 { 422 regulator-name = "pmr735a_s3"; 423 regulator-min-microvolt = <435000>; 424 regulator-max-microvolt = <2352000>; 425 }; 426 427 pmr735a_l1: ldo1 { 428 regulator-name = "pmr735a_l1"; 429 regulator-min-microvolt = <800000>; 430 regulator-max-microvolt = <800000>; 431 }; 432 433 pmr735a_l2: ldo2 { 434 regulator-name = "pmr735a_l2"; 435 regulator-min-microvolt = <480000>; 436 regulator-max-microvolt = <912000>; 437 }; 438 439 pmr735a_l3: ldo3 { 440 regulator-name = "pmr735a_l3"; 441 regulator-min-microvolt = <1200000>; 442 regulator-max-microvolt = <1200000>; 443 }; 444 445 pmr735a_l4: ldo4 { 446 regulator-name = "pmr735a_l4"; 447 regulator-min-microvolt = <1776000>; 448 regulator-max-microvolt = <1776000>; 449 }; 450 451 pmr735a_l5: ldo5 { 452 regulator-name = "pmr735a_l5"; 453 regulator-min-microvolt = <880000>; 454 regulator-max-microvolt = <880000>; 455 }; 456 457 pmr735a_l6: ldo6 { 458 regulator-name = "pmr735a_l6"; 459 regulator-min-microvolt = <1200000>; 460 regulator-max-microvolt = <1200000>; 461 }; 462 463 pmr735a_l7: ldo7 { 464 regulator-name = "pmr735a_l7"; 465 regulator-min-microvolt = <2800000>; 466 regulator-max-microvolt = <2800000>; 467 }; 468 }; 469 }; 470 471 &gpi_dma0 { 472 status = "okay"; 473 }; 474 475 &gpi_dma1 { 476 status = "okay"; 477 }; 478 479 &gpi_dma2 { 480 status = "okay"; 481 }; 482 483 &i2c4 { 484 clock-frequency = <400000>; 485 status = "okay"; 486 487 touchscreen@48 { 488 compatible = "samsung,s6sy761"; 489 reg = <0x48>; 490 interrupt-parent = <&tlmm>; 491 interrupts = <21 IRQ_TYPE_LEVEL_LOW>; 492 vdd-supply = <&pm8350c_l2>; 493 avdd-supply = <&pm8350c_l3>; 494 495 pinctrl-names = "default"; 496 pinctrl-0 = <&ts_reset_default &ts_int_default>; 497 }; 498 }; 499 500 &i2c5 { 501 clock-frequency = <400000>; 502 status = "okay"; 503 504 pmic@75 { 505 compatible = "dlg,slg51000"; 506 reg = <0x75>; 507 dlg,cs-gpios = <&pm8350b_gpios 1 GPIO_ACTIVE_HIGH>; 508 509 pinctrl-names = "default"; 510 pinctrl-0 = <&cam_pwr_a_cs>; 511 512 regulators { 513 slg51000_a_ldo1: ldo1 { 514 regulator-name = "slg51000_a_ldo1"; 515 regulator-min-microvolt = <2400000>; 516 regulator-max-microvolt = <3300000>; 517 }; 518 519 slg51000_a_ldo2: ldo2 { 520 regulator-name = "slg51000_a_ldo2"; 521 regulator-min-microvolt = <2400000>; 522 regulator-max-microvolt = <3300000>; 523 }; 524 525 slg51000_a_ldo3: ldo3 { 526 regulator-name = "slg51000_a_ldo3"; 527 regulator-min-microvolt = <1200000>; 528 regulator-max-microvolt = <3750000>; 529 }; 530 531 slg51000_a_ldo4: ldo4 { 532 regulator-name = "slg51000_a_ldo4"; 533 regulator-min-microvolt = <1200000>; 534 regulator-max-microvolt = <3750000>; 535 }; 536 537 slg51000_a_ldo5: ldo5 { 538 regulator-name = "slg51000_a_ldo5"; 539 regulator-min-microvolt = <500000>; 540 regulator-max-microvolt = <1200000>; 541 }; 542 543 slg51000_a_ldo6: ldo6 { 544 regulator-name = "slg51000_a_ldo6"; 545 regulator-min-microvolt = <500000>; 546 regulator-max-microvolt = <1200000>; 547 }; 548 549 slg51000_a_ldo7: ldo7 { 550 regulator-name = "slg51000_a_ldo7"; 551 regulator-min-microvolt = <1200000>; 552 regulator-max-microvolt = <3750000>; 553 }; 554 }; 555 }; 556 }; 557 558 &i2c9 { 559 clock-frequency = <400000>; 560 status = "okay"; 561 562 /* NXP SN1X0 NFC @ 28 */ 563 }; 564 565 &i2c14 { 566 clock-frequency = <1000000>; 567 status = "okay"; 568 569 cs35l41_l: speaker-amp@40 { 570 compatible = "cirrus,cs35l41"; 571 reg = <0x40>; 572 interrupt-parent = <&tlmm>; 573 interrupts = <182 IRQ_TYPE_LEVEL_LOW>; 574 reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>; 575 cirrus,boost-peak-milliamp = <4000>; 576 cirrus,boost-ind-nanohenry = <1000>; 577 cirrus,boost-cap-microfarad = <15>; 578 cirrus,gpio2-src-select = <2>; 579 cirrus,gpio2-output-enable; 580 cirrus,asp-sdout-hiz = <3>; 581 #sound-dai-cells = <1>; 582 }; 583 584 cs35l41_r: speaker-amp@41 { 585 compatible = "cirrus,cs35l41"; 586 reg = <0x41>; 587 interrupt-parent = <&tlmm>; 588 interrupts = <182 IRQ_TYPE_LEVEL_LOW>; 589 reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>; 590 cirrus,boost-peak-milliamp = <4000>; 591 cirrus,boost-ind-nanohenry = <1000>; 592 cirrus,boost-cap-microfarad = <15>; 593 cirrus,gpio2-src-select = <2>; 594 cirrus,gpio2-output-enable; 595 cirrus,asp-sdout-hiz = <3>; 596 #sound-dai-cells = <1>; 597 }; 598 }; 599 600 &i2c15 { 601 clock-frequency = <400000>; 602 status = "okay"; 603 604 /* AMS TCS3490 RGB+IR color sensor @ 72 */ 605 }; 606 607 &i2c19 { 608 clock-frequency = <1000000>; 609 status = "okay"; 610 611 /* Cirrus Logic CS40L25A boosted haptics driver @ 40 */ 612 }; 613 614 &pcie0 { 615 max-link-speed = <2>; 616 status = "okay"; 617 }; 618 619 &pcie0_phy { 620 vdda-phy-supply = <&pm8350_l5>; 621 vdda-pll-supply = <&pm8350_l6>; 622 status = "okay"; 623 }; 624 625 &pm8350_gpios { 626 gpio-line-names = "ASSIGN1_THERM", /* GPIO_1 */ 627 "LCD_ID", 628 "SDR_MMW_THERM", 629 "RF_ID", 630 "NC", 631 "VOL_DOWN_N", 632 "NC", 633 "NC", 634 "NC", 635 "PM8350_OPTION"; /* GPIO_10 */ 636 637 vol_down_n: vol-down-n-state { 638 pins = "gpio6"; 639 function = "normal"; 640 power-source = <1>; 641 bias-pull-up; 642 input-enable; 643 }; 644 }; 645 646 &pm8350b_gpios { 647 cam_pwr_a_cs: cam-pwr-a-cs-state { 648 pins = "gpio1"; 649 function = "normal"; 650 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 651 power-source = <1>; 652 drive-push-pull; 653 output-high; 654 }; 655 656 snapshot_n: snapshot-n-state { 657 pins = "gpio5"; 658 function = "normal"; 659 power-source = <0>; 660 bias-pull-up; 661 input-enable; 662 }; 663 664 focus_n: focus-n-state { 665 pins = "gpio8"; 666 function = "normal"; 667 power-source = <0>; 668 bias-pull-up; 669 input-enable; 670 }; 671 }; 672 673 &pm8450_gpios { 674 gpio-line-names = "FP_LDO_EN", /* GPIO_1 */ 675 "", 676 "", 677 ""; 678 }; 679 680 &pmk8350_gpios { 681 gpio-line-names = "NC", /* GPIO_1 */ 682 "NC", 683 "DISP_THERM", 684 "PMK8350_OPTION"; 685 }; 686 687 &pon_pwrkey { 688 status = "okay"; 689 }; 690 691 &pon_resin { 692 linux,code = <KEY_VOLUMEUP>; 693 status = "okay"; 694 }; 695 696 &remoteproc_adsp { 697 firmware-name = "qcom/sm8450/Sony/nagara/adsp.mbn"; 698 status = "okay"; 699 }; 700 701 &remoteproc_cdsp { 702 firmware-name = "qcom/sm8450/Sony/nagara/cdsp.mbn"; 703 status = "okay"; 704 }; 705 706 &remoteproc_slpi { 707 firmware-name = "qcom/sm8450/Sony/nagara/slpi.mbn"; 708 status = "okay"; 709 }; 710 711 &qupv3_id_0 { 712 status = "okay"; 713 }; 714 715 &qupv3_id_1 { 716 status = "okay"; 717 }; 718 719 &qupv3_id_2 { 720 status = "okay"; 721 }; 722 723 &sdhc_2 { 724 cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>; 725 pinctrl-names = "default", "sleep"; 726 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; 727 pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>; 728 vmmc-supply = <&pm8350c_l9>; 729 vqmmc-supply = <&pm8350c_l6>; 730 no-sdio; 731 no-mmc; 732 status = "okay"; 733 }; 734 735 &spi10 { 736 status = "okay"; 737 738 /* NXP SN1X0 NFC Secure Element @ 0 */ 739 }; 740 741 &tlmm { 742 gpio-reserved-ranges = <28 4>; 743 744 ts_reset_default: ts-reset-default-state { 745 pins = "gpio20"; 746 function = "gpio"; 747 drive-strength = <2>; 748 bias-disable; 749 output-high; 750 }; 751 752 ts_int_default: ts-int-default-state { 753 pins = "gpio21"; 754 function = "gpio"; 755 drive-strength = <2>; 756 bias-disable; 757 }; 758 759 telec_pwr_en: telec-pwr-en-state { 760 pins = "gpio23"; 761 function = "gpio"; 762 drive-strength = <2>; 763 bias-disable; 764 output-low; 765 }; 766 767 sdc2_card_det_n: sd-card-det-n-state { 768 pins = "gpio92"; 769 function = "gpio"; 770 drive-strength = <2>; 771 bias-pull-up; 772 }; 773 }; 774 775 &uart7 { 776 status = "okay"; 777 }; 778 779 &usb_1 { 780 status = "okay"; 781 }; 782 783 &usb_1_dwc3 { 784 dr_mode = "peripheral"; 785 }; 786 787 &usb_1_hsphy { 788 vdda-pll-supply = <&pm8350_l5>; 789 vdda18-supply = <&pm8350c_l1>; 790 vdda33-supply = <&pm8350_l2>; 791 status = "okay"; 792 }; 793 794 &usb_1_qmpphy { 795 vdda-phy-supply = <&pm8350_l6>; 796 vdda-pll-supply = <&pm8350_l1>; 797 status = "okay"; 798 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.