1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4 */ 5/dts-v1/; 6 7#include "glymur.dtsi" 8 9#include "pmcx0102.dtsi" 10#include "pmh0101.dtsi" 11#include "pmh0110-glymur.dtsi" 12#include "pmh0104-glymur.dtsi" 13#include "pmk8850.dtsi" 14#include "smb2370.dtsi" 15 16#include <dt-bindings/input/gpio-keys.h> 17#include <dt-bindings/input/input.h> 18#include <dt-bindings/leds/common.h> 19#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 21/delete-node/ &pmh0104_l_e1; 22/delete-node/ &pmh0104_l1_thermal; 23/delete-node/ &pmh0110_h_e0; 24/delete-node/ &pmh0110_h0_thermal; 25 26/ { 27 compatible = "asus,zenbook-a16-ux3607oa", "qcom,glymur"; 28 model = "ASUS Zenbook A16 (UX3607OA)"; 29 30 aliases { 31 i2c0 = &i2c0; 32 i2c5 = &i2c5; 33 i2c8 = &i2c8; 34 i2c9 = &i2c9; 35 i2c10 = &i2c10; 36 i2c13 = &i2c13; 37 i2c19 = &i2c19; 38 39 serial0 = &uart21; 40 serial1 = &uart14; 41 }; 42 43 chosen { 44 }; 45 46 clocks { 47 sleep_clk: sleep-clk { 48 compatible = "fixed-clock"; 49 clock-frequency = <32000>; 50 #clock-cells = <0>; 51 }; 52 53 xo_board: xo-board { 54 compatible = "fixed-clock"; 55 clock-frequency = <38400000>; 56 #clock-cells = <0>; 57 }; 58 }; 59 60 gpio-keys { 61 compatible = "gpio-keys"; 62 63 pinctrl-0 = <&hall_int_n_default>; 64 pinctrl-names = "default"; 65 66 switch-lid { 67 label = "lid"; 68 gpios = <&tlmm 92 GPIO_ACTIVE_LOW>; 69 linux,input-type = <EV_SW>; 70 linux,code = <SW_LID>; 71 wakeup-source; 72 wakeup-event-action = <EV_ACT_DEASSERTED>; 73 }; 74 }; 75 76 hdmi-bridge { 77 compatible = "parade,ps185hdm"; 78 79 pinctrl-0 = <&usb2_dp_hot_plug_detect>; 80 pinctrl-names = "default"; 81 82 ports { 83 #address-cells = <1>; 84 #size-cells = <0>; 85 86 port@0 { 87 reg = <0>; 88 89 hdmi_bridge_in: endpoint { 90 remote-endpoint = <&usb_2_qmpphy_out_dp>; 91 }; 92 }; 93 94 port@1 { 95 reg = <1>; 96 97 hdmi_bridge_out: endpoint { 98 remote-endpoint = <&hdmi_con>; 99 }; 100 }; 101 }; 102 }; 103 104 hdmi-connector { 105 compatible = "hdmi-connector"; 106 type = "a"; 107 108 port { 109 hdmi_con: endpoint { 110 remote-endpoint = <&hdmi_bridge_out>; 111 }; 112 }; 113 }; 114 115 leds { 116 compatible = "gpio-leds"; 117 118 pinctrl-0 = <&cam_indicator_en>, 119 <&keyboard_cam_led>, 120 <&keyboard_mic_led>; 121 pinctrl-names = "default"; 122 123 keyboard-camera-led { 124 function = LED_FUNCTION_INDICATOR; 125 color = <LED_COLOR_ID_ORANGE>; 126 gpios = <&tlmm 120 GPIO_ACTIVE_HIGH>; 127 default-state = "off"; 128 panic-indicator; 129 }; 130 131 keyboard-mic-led { 132 function = LED_FUNCTION_MICMUTE; 133 color = <LED_COLOR_ID_ORANGE>; 134 gpios = <&tlmm 98 GPIO_ACTIVE_LOW>; 135 default-state = "off"; 136 panic-indicator; 137 }; 138 139 privacy-led { 140 function = LED_FUNCTION_INDICATOR; 141 color = <LED_COLOR_ID_WHITE>; 142 gpios = <&tlmm 111 GPIO_ACTIVE_HIGH>; 143 default-state = "off"; 144 panic-indicator; 145 }; 146 }; 147 148 pmic-glink { 149 compatible = "qcom,glymur-pmic-glink", 150 "qcom,pmic-glink"; 151 #address-cells = <1>; 152 #size-cells = <0>; 153 154 /* Left side display-adjacent port */ 155 connector@0 { 156 compatible = "usb-c-connector"; 157 reg = <0>; 158 power-role = "dual"; 159 data-role = "dual"; 160 161 ports { 162 #address-cells = <1>; 163 #size-cells = <0>; 164 165 port@0 { 166 reg = <0>; 167 168 pmic_glink_hs_in: endpoint { 169 remote-endpoint = <&usb_0_dwc3_hs>; 170 }; 171 }; 172 173 port@1 { 174 reg = <1>; 175 176 pmic_glink_ss_in: endpoint { 177 remote-endpoint = <&usb_0_qmpphy_out>; 178 }; 179 }; 180 }; 181 }; 182 183 /* Left side user-adjacent port */ 184 connector@1 { 185 compatible = "usb-c-connector"; 186 reg = <1>; 187 power-role = "dual"; 188 data-role = "dual"; 189 190 ports { 191 #address-cells = <1>; 192 #size-cells = <0>; 193 194 port@0 { 195 reg = <0>; 196 197 pmic_glink_hs_in1: endpoint { 198 remote-endpoint = <&usb_1_dwc3_hs>; 199 }; 200 }; 201 202 port@1 { 203 reg = <1>; 204 205 pmic_glink_ss_in1: endpoint { 206 remote-endpoint = <&usb_1_qmpphy_out>; 207 }; 208 }; 209 }; 210 }; 211 }; 212 213 vreg_edp: regulator-edp { 214 compatible = "regulator-fixed"; 215 216 regulator-name = "VREG_EDP_3P3"; 217 regulator-min-microvolt = <3300000>; 218 regulator-max-microvolt = <3300000>; 219 220 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 221 enable-active-high; 222 223 pinctrl-0 = <&edp_pwr_en>; 224 pinctrl-names = "default"; 225 226 regulator-boot-on; 227 }; 228 229 vreg_misc_3p3: regulator-misc-3p3 { 230 compatible = "regulator-fixed"; 231 232 regulator-name = "VREG_MISC_3P3"; 233 regulator-min-microvolt = <3300000>; 234 regulator-max-microvolt = <3300000>; 235 236 gpio = <&pmh0110_f_e0_gpios 6 GPIO_ACTIVE_HIGH>; 237 enable-active-high; 238 239 pinctrl-0 = <&misc_3p3_reg_en>; 240 pinctrl-names = "default"; 241 242 regulator-always-on; 243 regulator-boot-on; 244 }; 245 246 vreg_nvme: regulator-nvme { 247 compatible = "regulator-fixed"; 248 249 regulator-name = "VREG_NVME_3P3"; 250 regulator-min-microvolt = <3300000>; 251 regulator-max-microvolt = <3300000>; 252 253 gpio = <&pmh0101_gpios 14 GPIO_ACTIVE_HIGH>; 254 enable-active-high; 255 256 pinctrl-0 = <&nvme_reg_en>; 257 pinctrl-names = "default"; 258 259 regulator-boot-on; 260 }; 261 262 vreg_wcn_3p3: regulator-wcn-3p3 { 263 compatible = "regulator-fixed"; 264 265 regulator-name = "VREG_WCN_3P3"; 266 regulator-min-microvolt = <3300000>; 267 regulator-max-microvolt = <3300000>; 268 269 gpio = <&tlmm 94 GPIO_ACTIVE_HIGH>; 270 enable-active-high; 271 272 pinctrl-0 = <&wcn_sw_en>; 273 pinctrl-names = "default"; 274 275 regulator-boot-on; 276 }; 277 278 reserved-memory { 279 linux,cma { 280 compatible = "shared-dma-pool"; 281 size = <0x0 0x10000000>; 282 reusable; 283 linux,cma-default; 284 }; 285 }; 286 287 sound { 288 compatible = "qcom,glymur-sndcard"; 289 model = "GLYMUR-ASUS-Zenbook-A16-UX3607OA"; 290 291 audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT", 292 "TweeterLeft IN", "WSA WSA_SPK2 OUT", 293 "WooferRight IN", "WSA2 WSA_SPK1 OUT", 294 "TweeterRight IN", "WSA2 WSA_SPK2 OUT", 295 "VA DMIC0", "vdd-micb", 296 "VA DMIC1", "vdd-micb"; 297 298 va-dai-link { 299 link-name = "VA Capture"; 300 301 codec { 302 sound-dai = <&lpass_vamacro 0>; 303 }; 304 305 cpu { 306 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; 307 }; 308 309 platform { 310 sound-dai = <&q6apm>; 311 }; 312 }; 313 314 wsa-dai-link { 315 link-name = "WSA Playback"; 316 317 codec { 318 sound-dai = <&left_woofer>, <&left_tweeter>, 319 <&swr0 0>, <&lpass_wsamacro 0>, 320 <&right_woofer>, <&right_tweeter>, 321 <&swr3 0>, <&lpass_wsa2macro 0>; 322 }; 323 324 cpu { 325 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 326 }; 327 328 platform { 329 sound-dai = <&q6apm>; 330 }; 331 }; 332 }; 333 334 wlan-connector { 335 compatible = "pcie-m2-e-connector"; 336 vpcie3v3-supply = <&vreg_wcn_3p3>; 337 vpcie1v8-supply = <&vreg_l15b_e0>; 338 339 w-disable1-gpios = <&tlmm 117 GPIO_ACTIVE_LOW>; 340 w-disable2-gpios = <&tlmm 116 GPIO_ACTIVE_LOW>; 341 342 pinctrl-0 = <&wcn_wlan_bt_en>; 343 pinctrl-names = "default"; 344 345 ports { 346 #address-cells = <1>; 347 #size-cells = <0>; 348 349 port@0 { 350 reg = <0>; 351 #address-cells = <1>; 352 #size-cells = <0>; 353 354 m2_e_pcie_ep: endpoint@0 { 355 reg = <0>; 356 remote-endpoint = <&pcie4_port0_ep>; 357 }; 358 }; 359 360 port@3 { 361 reg = <3>; 362 #address-cells = <1>; 363 #size-cells = <0>; 364 365 m2_e_uart_ep: endpoint@0 { 366 reg = <0>; 367 remote-endpoint = <&uart14_ep>; 368 }; 369 }; 370 }; 371 }; 372}; 373 374&apps_rsc { 375 /* PMCX0104 */ 376 regulators-0 { 377 compatible = "qcom,pmh0101-rpmh-regulators"; 378 qcom,pmic-id = "B_E0"; 379 380 vreg_l1b_e0: ldo1 { 381 regulator-name = "vreg_l1b_e0"; 382 regulator-min-microvolt = <1800000>; 383 regulator-max-microvolt = <1800000>; 384 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 385 }; 386 387 /* Unused */ 388 vreg_l2b_e0: ldo2 { 389 regulator-name = "vreg_l2b_e0"; 390 regulator-min-microvolt = <1800000>; 391 regulator-max-microvolt = <1800000>; 392 }; 393 394 vreg_l6b_e0: ldo6 { 395 regulator-name = "vreg_l6b_e0"; 396 regulator-min-microvolt = <3304000>; 397 regulator-max-microvolt = <3304000>; 398 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 399 }; 400 401 vreg_l7b_e0: ldo7 { 402 regulator-name = "vreg_l7b_e0"; 403 regulator-min-microvolt = <3072000>; 404 regulator-max-microvolt = <3072000>; 405 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 406 }; 407 408 vreg_l8b_e0: ldo8 { 409 regulator-name = "vreg_l8b_e0"; 410 regulator-min-microvolt = <3304000>; 411 regulator-max-microvolt = <3304000>; 412 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 413 }; 414 415 /* Unused */ 416 vreg_l9b_e0: ldo9 { 417 regulator-name = "vreg_l9b_e0"; 418 regulator-min-microvolt = <2960000>; 419 regulator-max-microvolt = <2960000>; 420 }; 421 422 vreg_l10b_e0: ldo10 { 423 regulator-name = "vreg_l10b_e0"; 424 regulator-min-microvolt = <1800000>; 425 regulator-max-microvolt = <1800000>; 426 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 427 }; 428 429 vreg_l11b_e0: ldo11 { 430 regulator-name = "vreg_l11b_e0"; 431 regulator-min-microvolt = <1200000>; 432 regulator-max-microvolt = <1200000>; 433 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 434 }; 435 436 /* Unused */ 437 vreg_l12b_e0: ldo12 { 438 regulator-name = "vreg_l12b_e0"; 439 regulator-min-microvolt = <1200000>; 440 regulator-max-microvolt = <1200000>; 441 }; 442 443 vreg_l15b_e0: ldo15 { 444 regulator-name = "vreg_l15b_e0"; 445 regulator-min-microvolt = <1800000>; 446 regulator-max-microvolt = <1800000>; 447 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 448 /* Provides reference voltage for many undescribed components */ 449 regulator-always-on; 450 }; 451 452 /* Unused */ 453 vreg_l17b_e0: ldo17 { 454 regulator-name = "vreg_l17b_e0"; 455 regulator-min-microvolt = <2504000>; 456 regulator-max-microvolt = <2504000>; 457 }; 458 459 vreg_l18b_e0: ldo18 { 460 regulator-name = "vreg_l18b_e0"; 461 regulator-min-microvolt = <1200000>; 462 regulator-max-microvolt = <1200000>; 463 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 464 465 /* Provides reference voltage for many undescribed components */ 466 regulator-always-on; 467 }; 468 }; 469 470 regulators-1 { 471 compatible = "qcom,pmcx0102-rpmh-regulators"; 472 qcom,pmic-id = "C_E0"; 473 474 vreg_l1c_e0: ldo1 { 475 regulator-name = "vreg_l1c_e0"; 476 regulator-min-microvolt = <936000>; 477 regulator-max-microvolt = <936000>; 478 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 479 }; 480 481 vreg_l2c_e0: ldo2 { 482 regulator-name = "vreg_l2c_e0"; 483 regulator-min-microvolt = <880000>; 484 regulator-max-microvolt = <880000>; 485 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 486 }; 487 488 vreg_l4c_e0: ldo4 { 489 regulator-name = "vreg_l4c_e0"; 490 regulator-min-microvolt = <1200000>; 491 regulator-max-microvolt = <1200000>; 492 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 493 }; 494 }; 495 496 /* PMCX0101 */ 497 regulators-2 { 498 compatible = "qcom,pmh0110-rpmh-regulators"; 499 qcom,pmic-id = "F_E0"; 500 501 vreg_s7f_e0: smps7 { 502 regulator-name = "vreg_s7f_e0"; 503 regulator-min-microvolt = <1200000>; 504 regulator-max-microvolt = <1200000>; 505 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 506 }; 507 508 vreg_s8f_e0: smps8 { 509 regulator-name = "vreg_s8f_e0"; 510 regulator-min-microvolt = <952000>; 511 regulator-max-microvolt = <952000>; 512 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 513 }; 514 515 vreg_l2f_e0: ldo2 { 516 regulator-name = "vreg_l2f_e0"; 517 regulator-min-microvolt = <936000>; 518 regulator-max-microvolt = <936000>; 519 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 520 }; 521 522 vreg_l3f_e0: ldo3 { 523 regulator-name = "vreg_l3f_e0"; 524 regulator-min-microvolt = <912000>; 525 regulator-max-microvolt = <912000>; 526 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 527 }; 528 }; 529 530 regulators-3 { 531 compatible = "qcom,pmcx0102-rpmh-regulators"; 532 qcom,pmic-id = "C_E1"; 533 534 vreg_l1c_e1: ldo1 { 535 regulator-name = "vreg_l1c_e1"; 536 regulator-min-microvolt = <912000>; 537 regulator-max-microvolt = <912000>; 538 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 539 }; 540 541 vreg_l2c_e1: ldo2 { 542 regulator-name = "vreg_l2c_e1"; 543 regulator-min-microvolt = <1200000>; 544 regulator-max-microvolt = <1200000>; 545 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 546 }; 547 548 vreg_l3c_e1: ldo3 { 549 regulator-name = "vreg_l3c_e1"; 550 regulator-min-microvolt = <936000>; 551 regulator-max-microvolt = <936000>; 552 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 553 }; 554 555 vreg_l4c_e1: ldo4 { 556 regulator-name = "vreg_l4c_e1"; 557 regulator-min-microvolt = <912000>; 558 regulator-max-microvolt = <912000>; 559 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 560 }; 561 }; 562 563 /* PMCX0101 */ 564 regulators-4 { 565 compatible = "qcom,pmh0110-rpmh-regulators"; 566 qcom,pmic-id = "F_E1"; 567 568 vreg_l1f_e1: ldo1 { 569 regulator-name = "vreg_l1f_e1"; 570 regulator-min-microvolt = <904000>; 571 regulator-max-microvolt = <904000>; 572 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 573 }; 574 575 vreg_l2f_e1: ldo2 { 576 regulator-name = "vreg_l2f_e1"; 577 regulator-min-microvolt = <880000>; 578 regulator-max-microvolt = <880000>; 579 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 580 }; 581 582 vreg_l4f_e1: ldo4 { 583 regulator-name = "vreg_l4f_e1"; 584 regulator-min-microvolt = <1200000>; 585 regulator-max-microvolt = <1200000>; 586 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 587 }; 588 }; 589}; 590 591&gpu { 592 status = "okay"; 593}; 594 595&gmu { 596 status = "okay"; 597}; 598 599&i2c0 { 600 clock-frequency = <400000>; 601 602 status = "okay"; 603 604 /* 2808:0219 */ 605 touchpad@15 { 606 compatible = "hid-over-i2c"; 607 reg = <0x15>; 608 609 hid-descr-addr = <0x1>; 610 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; 611 612 pinctrl-0 = <&tpad_default>; 613 pinctrl-names = "default"; 614 615 wakeup-source; 616 }; 617}; 618 619&i2c5 { 620 clock-frequency = <400000>; 621 622 status = "okay"; 623 624 ptn3222_1: redriver@43 { 625 compatible = "nxp,ptn3222"; 626 reg = <0x43>; 627 628 reset-gpios = <&tlmm 184 GPIO_ACTIVE_LOW>; 629 630 vdd3v3-supply = <&vreg_l8b_e0>; 631 vdd1v8-supply = <&vreg_l15b_e0>; 632 633 #phy-cells = <0>; 634 }; 635 636 ptn3222_0: redriver@4f { 637 compatible = "nxp,ptn3222"; 638 reg = <0x4f>; 639 640 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; 641 642 vdd3v3-supply = <&vreg_l8b_e0>; 643 vdd1v8-supply = <&vreg_l15b_e0>; 644 645 #phy-cells = <0>; 646 }; 647}; 648 649&i2c8 { 650 clock-frequency = <400000>; 651 652 status = "okay"; 653 654 touchscreen@10 { 655 compatible = "hid-over-i2c"; 656 reg = <0x10>; 657 658 hid-descr-addr = <0x1>; 659 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; 660 661 pinctrl-0 = <&ts_default>; 662 pinctrl-names = "default"; 663 664 wakeup-source; 665 }; 666}; 667 668&i2c9 { 669 clock-frequency = <400000>; 670 671 status = "okay"; 672 673 /* EC subdevice @ 0x5b */ 674 /* EC @ 0x76 */ 675}; 676 677&i2c10 { 678 clock-frequency = <400000>; 679 680 status = "okay"; 681 682 /* ASUSTek 0B05:4543 */ 683 hid@17 { 684 compatible = "hid-over-i2c"; 685 reg = <0x17>; 686 interrupts-extended = <&tlmm 43 IRQ_TYPE_LEVEL_LOW>; 687 hid-descr-addr = <0x1>; 688 wakeup-source; 689 690 pinctrl-0 = <&hid_int_a_default>; 691 pinctrl-names = "default"; 692 }; 693}; 694 695&i2c13 { 696 clock-frequency = <400000>; 697 698 status = "okay"; 699}; 700 701&i2c19 { 702 clock-frequency = <400000>; 703 704 status = "okay"; 705 706 /* ASUSTek 0B05:4B42 */ 707 keyboard@15 { 708 compatible = "hid-over-i2c"; 709 reg = <0x15>; 710 711 hid-descr-addr = <0x1>; 712 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; 713 714 wakeup-source; 715 716 pinctrl-0 = <&kybd_default>; 717 pinctrl-names = "default"; 718 }; 719}; 720 721&pmh0110_f_e0_gpios { 722 misc_3p3_reg_en: misc-3p3-reg-en-state { 723 pins = "gpio6"; 724 function = "normal"; 725 bias-disable; 726 input-disable; 727 output-enable; 728 drive-push-pull; 729 power-source = <1>; /* 1.8 V */ 730 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 731 }; 732}; 733 734&lpass_vamacro { 735 vdd-micb-supply = <&vreg_l1b_e0>; 736 737 pinctrl-0 = <&dmic01_default>; 738 pinctrl-names = "default"; 739 740 qcom,dmic-sample-rate = <4800000>; 741}; 742 743&mdss { 744 status = "okay"; 745}; 746 747&mdss_dp0 { 748 status = "okay"; 749}; 750 751&mdss_dp0_out { 752 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 753}; 754 755&mdss_dp1 { 756 status = "okay"; 757}; 758 759&mdss_dp1_out { 760 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 761}; 762 763&mdss_dp2 { 764 status = "okay"; 765}; 766 767&mdss_dp2_out { 768 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 769}; 770 771&mdss_dp3 { 772 /delete-property/ #sound-dai-cells; 773 774 pinctrl-0 = <&edp0_hpd_default>; 775 pinctrl-names = "default"; 776 777 status = "okay"; 778 779 aux-bus { 780 panel { 781 compatible = "samsung,atna33xc20"; 782 enable-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>; 783 power-supply = <&vreg_edp>; 784 785 pinctrl-0 = <&edp_bl_en>; 786 pinctrl-names = "default"; 787 788 port { 789 edp_panel_in: endpoint { 790 remote-endpoint = <&mdss_dp3_out>; 791 }; 792 }; 793 }; 794 }; 795}; 796 797&mdss_dp3_out { 798 data-lanes = <0 1 2 3>; 799 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 800 801 remote-endpoint = <&edp_panel_in>; 802}; 803 804&mdss_dp3_phy { 805 vdda-phy-supply = <&vreg_l2f_e1>; 806 vdda-pll-supply = <&vreg_l4f_e1>; 807 808 status = "okay"; 809}; 810 811&pcie4 { 812 pinctrl-0 = <&pcie4_default>; 813 pinctrl-names = "default"; 814 815 status = "okay"; 816}; 817 818&pcie4_phy { 819 vdda-phy-supply = <&vreg_l1c_e1>; 820 vdda-pll-supply = <&vreg_l4f_e1>; 821 822 status = "okay"; 823}; 824 825&pcie4_port0 { 826 reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; 827 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 828}; 829 830&pcie4_port0_ep { 831 remote-endpoint = <&m2_e_pcie_ep>; 832}; 833 834&pcie5 { 835 vddpe-3v3-supply = <&vreg_nvme>; 836 837 pinctrl-0 = <&pcie5_default>; 838 pinctrl-names = "default"; 839 840 status = "okay"; 841}; 842 843&pcie5_phy { 844 vdda-phy-supply = <&vreg_l2f_e0>; 845 vdda-pll-supply = <&vreg_l4c_e0>; 846 847 status = "okay"; 848}; 849 850&pcie5_port0 { 851 reset-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 852 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; 853}; 854 855&pmh0101_gpios { 856 nvme_reg_en: nvme-reg-en-state { 857 pins = "gpio14"; 858 function = "normal"; 859 bias-disable; 860 }; 861}; 862 863&pmk8850_rtc { 864 qcom,uefi-rtc-info; 865 qcom,no-alarm; 866}; 867 868&remoteproc_adsp { 869 firmware-name = "qcom/glymur/ASUSTeK/UX3607OA/qcadsp8480.mbn", 870 "qcom/glymur/ASUSTeK/UX3607OA/adsp_dtbs.elf"; 871 872 status = "okay"; 873}; 874 875&remoteproc_cdsp { 876 firmware-name = "qcom/glymur/ASUSTeK/UX3607OA/qccdsp8480.mbn", 877 "qcom/glymur/ASUSTeK/UX3607OA/cdsp_dtbs.elf"; 878 879 status = "okay"; 880}; 881 882&remoteproc_soccp { 883 firmware-name = "qcom/glymur/ASUSTeK/UX3607OA/soccp.mbn", 884 "qcom/glymur/ASUSTeK/UX3607OA/soccp_dtb.mbn"; 885}; 886 887&smb2370_j_e2_eusb2_repeater { 888 vdd18-supply = <&vreg_l15b_e0>; 889 vdd3-supply = <&vreg_l7b_e0>; 890}; 891 892&smb2370_k_e2_eusb2_repeater { 893 vdd18-supply = <&vreg_l15b_e0>; 894 vdd3-supply = <&vreg_l7b_e0>; 895}; 896 897&swr0 { 898 status = "okay"; 899 900 /* WSA8845, left woofer */ 901 left_woofer: speaker@0,0 { 902 compatible = "sdw20217020400"; 903 reg = <0 0>; 904 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 905 #sound-dai-cells = <0>; 906 sound-name-prefix = "WooferLeft"; 907 vdd-1p8-supply = <&vreg_l15b_e0>; 908 vdd-io-supply = <&vreg_l18b_e0>; 909 qcom,port-mapping = <1 2 3 7 12 14>; 910 }; 911 912 /* WSA8845, left tweeter */ 913 left_tweeter: speaker@0,1 { 914 compatible = "sdw20217020400"; 915 reg = <0 1>; 916 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 917 #sound-dai-cells = <0>; 918 sound-name-prefix = "TweeterLeft"; 919 vdd-1p8-supply = <&vreg_l15b_e0>; 920 vdd-io-supply = <&vreg_l18b_e0>; 921 qcom,port-mapping = <4 5 6 7 13 15>; 922 }; 923}; 924 925&swr3 { 926 status = "okay"; 927 928 /* WSA8845, right woofer */ 929 right_woofer: speaker@0,0 { 930 compatible = "sdw20217020400"; 931 reg = <0 0>; 932 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; 933 #sound-dai-cells = <0>; 934 sound-name-prefix = "WooferRight"; 935 vdd-1p8-supply = <&vreg_l15b_e0>; 936 vdd-io-supply = <&vreg_l18b_e0>; 937 qcom,port-mapping = <1 2 3 7 12 14>; 938 }; 939 940 /* WSA8845, right tweeter */ 941 right_tweeter: speaker@0,1 { 942 compatible = "sdw20217020400"; 943 reg = <0 1>; 944 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; 945 #sound-dai-cells = <0>; 946 sound-name-prefix = "TweeterRight"; 947 vdd-1p8-supply = <&vreg_l15b_e0>; 948 vdd-io-supply = <&vreg_l18b_e0>; 949 qcom,port-mapping = <4 5 6 7 13 15>; 950 }; 951}; 952 953&tcsr { 954 vdda-qrefrpt0-0p9-supply = <&vreg_l2f_e1>; 955 vdda-qrefrpt1-0p9-supply = <&vreg_l2f_e1>; 956 vdda-qrefrpt2-0p9-supply = <&vreg_l2f_e1>; 957 vdda-qrefrpt3-0p9-supply = <&vreg_l2c_e0>; 958 vdda-qrefrpt4-0p9-supply = <&vreg_l2c_e0>; 959 vdda-qrefrx0-0p9-supply = <&vreg_l2f_e1>; 960 vdda-qrefrx1-0p9-supply = <&vreg_l2f_e1>; 961 vdda-qrefrx2-0p9-supply = <&vreg_l2f_e1>; 962 vdda-qrefrx4-0p9-supply = <&vreg_l2c_e0>; 963 vdda-qrefrx5-0p9-supply = <&vreg_l3f_e0>; 964 vdda-qreftx0-0p9-supply = <&vreg_l3f_e0>; 965 vdda-qreftx0-1p2-supply = <&vreg_l4c_e0>; 966 vdda-qreftx1-0p9-supply = <&vreg_l1f_e1>; 967 vdda-refgen3-0p9-supply = <&vreg_l2f_e0>; 968 vdda-refgen3-1p2-supply = <&vreg_l4c_e0>; 969 vdda-refgen4-0p9-supply = <&vreg_l1f_e1>; 970 vdda-refgen4-1p2-supply = <&vreg_l4f_e1>; 971}; 972 973&tlmm { 974 gpio-reserved-ranges = <4 4>, /* EC Secure I3C */ 975 <10 2>, /* OOB UART */ 976 <44 4>, /* TPM */ 977 <65 1>, /* EC reset */ 978 <90 1>; /* TPM */ 979 980 tpad_default: tpad-default-state { 981 pins = "gpio3"; 982 function = "gpio"; 983 bias-disable; 984 }; 985 986 edp_bl_en: edp-bl-en-state { 987 pins = "gpio18"; 988 function = "gpio"; 989 drive-strength = <16>; 990 bias-disable; 991 }; 992 993 hid_int_a_default: hid-int-a-default-state { 994 pins = "gpio43"; 995 function = "gpio"; 996 bias-disable; 997 }; 998 999 ts_default: ts-default-state { 1000 reset-n-pins { 1001 pins = "gpio48"; 1002 function = "gpio"; 1003 bias-disable; 1004 }; 1005 1006 int-pins { 1007 pins = "gpio51"; 1008 function = "gpio"; 1009 bias-disable; 1010 }; 1011 }; 1012 1013 ec_int_n_default: ec-int-n-state { 1014 pins = "gpio66"; 1015 function = "gpio"; 1016 bias-disable; 1017 }; 1018 1019 kybd_default: kybd-default-state { 1020 pins = "gpio67"; 1021 function = "gpio"; 1022 bias-disable; 1023 }; 1024 1025 edp_pwr_en: edp-pwr-en-state { 1026 pins = "gpio70"; 1027 function = "gpio"; 1028 drive-strength = <16>; 1029 bias-disable; 1030 }; 1031 1032 hall_int_n_default: hall-int-n-state { 1033 pins = "gpio92"; 1034 function = "gpio"; 1035 bias-disable; 1036 }; 1037 1038 wcn_sw_en: wcn-sw-en-state { 1039 pins = "gpio94"; 1040 function = "gpio"; 1041 drive-strength = <2>; 1042 bias-disable; 1043 }; 1044 1045 keyboard_mic_led: keyboard-mic-led-state { 1046 pins = "gpio98"; 1047 function = "gpio"; 1048 drive-strength = <2>; 1049 bias-disable; 1050 }; 1051 1052 cam_indicator_en: cam-indicator-en-state { 1053 pins = "gpio111"; 1054 function = "gpio"; 1055 drive-strength = <2>; 1056 bias-disable; 1057 }; 1058 1059 wcn_wlan_bt_en: wcn-wlan-bt-en-state { 1060 pins = "gpio116", "gpio117"; 1061 function = "gpio"; 1062 drive-strength = <2>; 1063 bias-disable; 1064 }; 1065 1066 edp0_hpd_default: edp0-hpd-default-state { 1067 pins = "gpio119"; 1068 function = "edp0_hot"; 1069 bias-disable; 1070 }; 1071 1072 keyboard_cam_led: keyboard-cam-led-state { 1073 pins = "gpio120"; 1074 function = "gpio"; 1075 drive-strength = <2>; 1076 bias-disable; 1077 }; 1078 1079 usb2_dp_hot_plug_detect: usb2-dp-hot-plug-detect-state { 1080 pins = "gpio126"; 1081 function = "usb2_dp"; 1082 bias-disable; 1083 }; 1084 1085 pcie4_default: pcie4-default-state { 1086 clkreq-n-pins { 1087 pins = "gpio147"; 1088 function = "pcie4_clk_req_n"; 1089 drive-strength = <2>; 1090 bias-pull-up; 1091 }; 1092 1093 perst-n-pins { 1094 pins = "gpio146"; 1095 function = "gpio"; 1096 drive-strength = <2>; 1097 bias-disable; 1098 }; 1099 1100 wake-n-pins { 1101 pins = "gpio148"; 1102 function = "gpio"; 1103 drive-strength = <2>; 1104 bias-pull-up; 1105 }; 1106 }; 1107 1108 pcie5_default: pcie5-default-state { 1109 clkreq-n-pins { 1110 pins = "gpio153"; 1111 function = "pcie5_clk_req_n"; 1112 drive-strength = <2>; 1113 bias-pull-up; 1114 }; 1115 1116 perst-n-pins { 1117 pins = "gpio152"; 1118 function = "gpio"; 1119 drive-strength = <2>; 1120 bias-disable; 1121 }; 1122 1123 wake-n-pins { 1124 pins = "gpio154"; 1125 function = "gpio"; 1126 drive-strength = <2>; 1127 bias-pull-up; 1128 }; 1129 }; 1130}; 1131 1132&uart14 { 1133 status = "okay"; 1134 1135 port { 1136 uart14_ep: endpoint { 1137 remote-endpoint = <&m2_e_uart_ep>; 1138 }; 1139 }; 1140}; 1141 1142&uart21 { 1143 status = "okay"; 1144}; 1145 1146&usb_0 { 1147 status = "okay"; 1148}; 1149 1150&usb_0_dwc3_hs { 1151 remote-endpoint = <&pmic_glink_hs_in>; 1152}; 1153 1154&usb_0_hsphy { 1155 vdd-supply = <&vreg_l3f_e0>; 1156 vdda12-supply = <&vreg_l4c_e0>; 1157 1158 phys = <&smb2370_j_e2_eusb2_repeater>; 1159 1160 status = "okay"; 1161}; 1162 1163&usb_0_qmpphy { 1164 vdda-phy-supply = <&vreg_l3f_e0>; 1165 vdda-pll-supply = <&vreg_l4c_e0>; 1166 refgen-supply = <&vreg_l2f_e0>; 1167 1168 status = "okay"; 1169}; 1170 1171&usb_0_qmpphy_out { 1172 remote-endpoint = <&pmic_glink_ss_in>; 1173}; 1174 1175&usb_1 { 1176 status = "okay"; 1177}; 1178 1179&usb_1_dwc3_hs { 1180 remote-endpoint = <&pmic_glink_hs_in1>; 1181}; 1182 1183&usb_1_hsphy { 1184 vdd-supply = <&vreg_l3f_e0>; 1185 vdda12-supply = <&vreg_l4c_e0>; 1186 1187 phys = <&smb2370_k_e2_eusb2_repeater>; 1188 1189 status = "okay"; 1190}; 1191 1192&usb_1_qmpphy { 1193 vdda-phy-supply = <&vreg_l1c_e0>; 1194 vdda-pll-supply = <&vreg_l4c_e0>; 1195 refgen-supply = <&vreg_l2f_e0>; 1196 1197 status = "okay"; 1198}; 1199 1200&usb_1_qmpphy_out { 1201 remote-endpoint = <&pmic_glink_ss_in1>; 1202}; 1203 1204&usb_2_qmpphy { 1205 vdda-phy-supply = <&vreg_l4c_e1>; 1206 vdda-pll-supply = <&vreg_l4f_e1>; 1207 refgen-supply = <&vreg_l4f_e1>; 1208 1209 /delete-property/ mode-switch; 1210 /delete-property/ orientation-switch; 1211 1212 status = "okay"; 1213 1214 ports { 1215 port@0 { 1216 #address-cells = <1>; 1217 #size-cells = <0>; 1218 1219 /delete-node/ endpoint; 1220 1221 usb_2_qmpphy_out_dp: endpoint@0 { 1222 reg = <0>; 1223 1224 data-lanes = <3 2 1 0>; 1225 remote-endpoint = <&hdmi_bridge_in>; 1226 }; 1227 }; 1228 }; 1229}; 1230 1231&usb_mp { 1232 status = "okay"; 1233}; 1234 1235/* MP0 (eUSB3 + USBSS3) -> Type-A port */ 1236&usb_mp_hsphy0 { 1237 vdd-supply = <&vreg_l2c_e0>; 1238 vdda12-supply = <&vreg_l4c_e0>; 1239 1240 phys = <&ptn3222_0>; 1241 1242 status = "okay"; 1243}; 1244 1245/* MP1 (eUSB6 + USBSS4) -> RTS5329 SD Card reader */ 1246&usb_mp_hsphy1 { 1247 vdd-supply = <&vreg_l2c_e0>; 1248 vdda12-supply = <&vreg_l4c_e0>; 1249 1250 phys = <&ptn3222_1>; 1251 1252 status = "okay"; 1253}; 1254 1255&usb_mp_qmpphy0 { 1256 vdda-phy-supply = <&vreg_l2c_e0>; 1257 vdda-pll-supply = <&vreg_l4c_e0>; 1258 refgen-supply = <&vreg_l4f_e1>; 1259 1260 status = "okay"; 1261}; 1262 1263&usb_mp_qmpphy1 { 1264 vdda-phy-supply = <&vreg_l2c_e0>; 1265 vdda-pll-supply = <&vreg_l4c_e0>; 1266 refgen-supply = <&vreg_l4f_e1>; 1267 1268 status = "okay"; 1269}; 1270