1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 3/dts-v1/; 4 5#include <dt-bindings/gpio/gpio.h> 6#include <dt-bindings/leds/common.h> 7#include <dt-bindings/input/input.h> 8#include <dt-bindings/pinctrl/rockchip.h> 9#include <dt-bindings/soc/rockchip,vop2.h> 10#include <dt-bindings/usb/pd.h> 11#include "rk3588s.dtsi" 12 13/ { 14 aliases { 15 ethernet0 = &gmac1; 16 mmc0 = &sdmmc; 17 }; 18 19 chosen { 20 stdout-path = "serial2:1500000n8"; 21 }; 22 23 adc-keys { 24 compatible = "adc-keys"; 25 io-channels = <&saradc 1>; 26 io-channel-names = "buttons"; 27 keyup-threshold-microvolt = <1800000>; 28 poll-interval = <100>; 29 30 button-recovery { 31 label = "Recovery"; 32 linux,code = <KEY_VENDOR>; 33 press-threshold-microvolt = <1800>; 34 }; 35 }; 36 37 analog-sound { 38 compatible = "simple-audio-card"; 39 pinctrl-names = "default"; 40 pinctrl-0 = <&hp_detect>; 41 simple-audio-card,name = "rockchip,es8388"; 42 simple-audio-card,bitclock-master = <&masterdai>; 43 simple-audio-card,format = "i2s"; 44 simple-audio-card,frame-master = <&masterdai>; 45 simple-audio-card,hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; 46 simple-audio-card,mclk-fs = <256>; 47 simple-audio-card,routing = 48 "Headphones", "LOUT1", 49 "Headphones", "ROUT1", 50 "LINPUT1", "Microphone Jack", 51 "RINPUT1", "Microphone Jack", 52 "LINPUT2", "Onboard Microphone", 53 "RINPUT2", "Onboard Microphone"; 54 simple-audio-card,widgets = 55 "Microphone", "Microphone Jack", 56 "Microphone", "Onboard Microphone", 57 "Headphone", "Headphones"; 58 59 simple-audio-card,cpu { 60 sound-dai = <&i2s1_8ch>; 61 }; 62 63 masterdai: simple-audio-card,codec { 64 sound-dai = <&es8388>; 65 system-clock-frequency = <12288000>; 66 }; 67 }; 68 69 hdmi0-con { 70 compatible = "hdmi-connector"; 71 type = "a"; 72 73 port { 74 hdmi0_con_in: endpoint { 75 remote-endpoint = <&hdmi0_out_con>; 76 }; 77 }; 78 }; 79 80 pwm-leds { 81 compatible = "pwm-leds"; 82 83 led { 84 color = <LED_COLOR_ID_GREEN>; 85 function = LED_FUNCTION_STATUS; 86 linux,default-trigger = "heartbeat"; 87 max-brightness = <255>; 88 pwms = <&pwm0 0 25000 0>; 89 }; 90 }; 91 92 vbus_typec: regulator-vbus-typec { 93 compatible = "regulator-fixed"; 94 enable-active-high; 95 gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; 96 pinctrl-names = "default"; 97 pinctrl-0 = <&typec5v_pwren>; 98 regulator-name = "vbus_typec"; 99 regulator-min-microvolt = <5000000>; 100 regulator-max-microvolt = <5000000>; 101 vin-supply = <&vcc5v0_sys>; 102 }; 103 104 vcc5v0_sys: regulator-vcc5v0-sys { 105 compatible = "regulator-fixed"; 106 regulator-name = "vcc5v0_sys"; 107 regulator-always-on; 108 regulator-boot-on; 109 regulator-min-microvolt = <5000000>; 110 regulator-max-microvolt = <5000000>; 111 }; 112 113 vcc_3v3_sd_s0: regulator-vcc-3v3-sd-s0 { 114 compatible = "regulator-fixed"; 115 gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>; 116 regulator-name = "vcc_3v3_sd_s0"; 117 regulator-boot-on; 118 regulator-min-microvolt = <3300000>; 119 regulator-max-microvolt = <3300000>; 120 vin-supply = <&vcc_3v3_s3>; 121 }; 122}; 123 124&combphy0_ps { 125 status = "okay"; 126}; 127 128&combphy2_psu { 129 status = "okay"; 130}; 131 132&cpu_b0 { 133 cpu-supply = <&vdd_cpu_big0_s0>; 134}; 135 136&cpu_b1 { 137 cpu-supply = <&vdd_cpu_big0_s0>; 138}; 139 140&cpu_b2 { 141 cpu-supply = <&vdd_cpu_big1_s0>; 142}; 143 144&cpu_b3 { 145 cpu-supply = <&vdd_cpu_big1_s0>; 146}; 147 148&cpu_l0 { 149 cpu-supply = <&vdd_cpu_lit_s0>; 150}; 151 152&cpu_l1 { 153 cpu-supply = <&vdd_cpu_lit_s0>; 154}; 155 156&cpu_l2 { 157 cpu-supply = <&vdd_cpu_lit_s0>; 158}; 159 160&cpu_l3 { 161 cpu-supply = <&vdd_cpu_lit_s0>; 162}; 163 164&gmac1 { 165 clock_in_out = "output"; 166 phy-handle = <&rgmii_phy1>; 167 phy-mode = "rgmii-rxid"; 168 pinctrl-0 = <&gmac1_miim 169 &gmac1_tx_bus2 170 &gmac1_rx_bus2 171 &gmac1_rgmii_clk 172 &gmac1_rgmii_bus>; 173 pinctrl-names = "default"; 174 tx_delay = <0x42>; 175 status = "okay"; 176}; 177 178&gpu { 179 mali-supply = <&vdd_gpu_s0>; 180 status = "okay"; 181}; 182 183&hdmi0 { 184 status = "okay"; 185}; 186 187&hdmi0_in { 188 hdmi0_in_vp0: endpoint { 189 remote-endpoint = <&vp0_out_hdmi0>; 190 }; 191}; 192 193&hdmi0_out { 194 hdmi0_out_con: endpoint { 195 remote-endpoint = <&hdmi0_con_in>; 196 }; 197}; 198 199&hdmi0_sound { 200 status = "okay"; 201}; 202 203&hdptxphy0 { 204 status = "okay"; 205}; 206 207&i2c0 { 208 pinctrl-names = "default"; 209 pinctrl-0 = <&i2c0m2_xfer>; 210 status = "okay"; 211 212 vdd_cpu_big0_s0: regulator@42 { 213 compatible = "rockchip,rk8602"; 214 reg = <0x42>; 215 fcs,suspend-voltage-selector = <1>; 216 regulator-name = "vdd_cpu_big0_s0"; 217 regulator-always-on; 218 regulator-boot-on; 219 regulator-min-microvolt = <550000>; 220 regulator-max-microvolt = <1050000>; 221 regulator-ramp-delay = <2300>; 222 vin-supply = <&vcc5v0_sys>; 223 224 regulator-state-mem { 225 regulator-off-in-suspend; 226 }; 227 }; 228 229 vdd_cpu_big1_s0: regulator@43 { 230 compatible = "rockchip,rk8603", "rockchip,rk8602"; 231 reg = <0x43>; 232 fcs,suspend-voltage-selector = <1>; 233 regulator-name = "vdd_cpu_big1_s0"; 234 regulator-always-on; 235 regulator-boot-on; 236 regulator-min-microvolt = <550000>; 237 regulator-max-microvolt = <1050000>; 238 regulator-ramp-delay = <2300>; 239 vin-supply = <&vcc5v0_sys>; 240 241 regulator-state-mem { 242 regulator-off-in-suspend; 243 }; 244 }; 245}; 246 247&i2c2 { 248 status = "okay"; 249 250 vdd_npu_s0: regulator@42 { 251 compatible = "rockchip,rk8602"; 252 reg = <0x42>; 253 fcs,suspend-voltage-selector = <1>; 254 regulator-name = "vdd_npu_s0"; 255 regulator-always-on; 256 regulator-boot-on; 257 regulator-min-microvolt = <550000>; 258 regulator-max-microvolt = <950000>; 259 regulator-ramp-delay = <2300>; 260 vin-supply = <&vcc5v0_sys>; 261 262 regulator-state-mem { 263 regulator-off-in-suspend; 264 }; 265 }; 266}; 267 268&i2c6 { 269 pinctrl-names = "default"; 270 pinctrl-0 = <&i2c6m3_xfer>; 271 status = "okay"; 272 273 es8388: audio-codec@10 { 274 compatible = "everest,es8388", "everest,es8328"; 275 reg = <0x10>; 276 clocks = <&cru I2S1_8CH_MCLKOUT>; 277 AVDD-supply = <&vcc_3v3_s0>; 278 DVDD-supply = <&vcc_1v8_s0>; 279 HPVDD-supply = <&vcc_3v3_s0>; 280 PVDD-supply = <&vcc_3v3_s0>; 281 assigned-clocks = <&cru I2S1_8CH_MCLKOUT>; 282 assigned-clock-rates = <12288000>; 283 #sound-dai-cells = <0>; 284 }; 285 286 usbc0: usb-typec@22 { 287 compatible = "fcs,fusb302"; 288 reg = <0x22>; 289 interrupt-parent = <&gpio0>; 290 interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>; 291 pinctrl-names = "default"; 292 pinctrl-0 = <&usbc0_int>; 293 vbus-supply = <&vbus_typec>; 294 status = "okay"; 295 296 usb_con: connector { 297 compatible = "usb-c-connector"; 298 label = "USB-C"; 299 data-role = "dual"; 300 op-sink-microwatt = <1000000>; 301 power-role = "dual"; 302 sink-pdos = 303 <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; 304 source-pdos = 305 <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 306 try-power-role = "source"; 307 308 ports { 309 #address-cells = <1>; 310 #size-cells = <0>; 311 312 port@0 { 313 reg = <0>; 314 usbc0_hs: endpoint { 315 remote-endpoint = <&usb_host0_xhci_drd_sw>; 316 }; 317 }; 318 319 port@1 { 320 reg = <1>; 321 usbc0_ss: endpoint { 322 remote-endpoint = <&usbdp_phy0_typec_ss>; 323 }; 324 }; 325 326 port@2 { 327 reg = <2>; 328 usbc0_sbu: endpoint { 329 remote-endpoint = <&usbdp_phy0_typec_sbu>; 330 }; 331 }; 332 }; 333 }; 334 }; 335 336 hym8563: rtc@51 { 337 compatible = "haoyu,hym8563"; 338 reg = <0x51>; 339 #clock-cells = <0>; 340 clock-output-names = "hym8563"; 341 pinctrl-names = "default"; 342 pinctrl-0 = <&hym8563_int>; 343 interrupt-parent = <&gpio0>; 344 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 345 wakeup-source; 346 }; 347}; 348 349&i2s1_8ch { 350 rockchip,i2s-tx-route = <3 2 1 0>; 351 rockchip,i2s-rx-route = <1 3 2 0>; 352 pinctrl-names = "default"; 353 pinctrl-0 = <&i2s1m0_sclk 354 &i2s1m0_mclk 355 &i2s1m0_lrck 356 &i2s1m0_sdi1 357 &i2s1m0_sdo3>; 358 status = "okay"; 359}; 360 361&i2s5_8ch { 362 status = "okay"; 363}; 364 365&mdio1 { 366 rgmii_phy1: ethernet-phy@1 { 367 compatible = "ethernet-phy-ieee802.3-c22"; 368 reg = <0x1>; 369 reset-assert-us = <20000>; 370 reset-deassert-us = <100000>; 371 reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>; 372 }; 373}; 374 375&pd_gpu { 376 domain-supply = <&vdd_gpu_s0>; 377}; 378 379&pinctrl { 380 hym8563 { 381 hym8563_int: hym8563-int { 382 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 383 }; 384 }; 385 386 sound { 387 hp_detect: hp-detect { 388 rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 389 }; 390 }; 391 392 usb-typec { 393 usbc0_int: usbc0-int { 394 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; 395 }; 396 397 typec5v_pwren: typec5v-pwren { 398 rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; 399 }; 400 }; 401}; 402 403&pwm0 { 404 pinctrl-0 = <&pwm0m2_pins>; 405 pinctrl-names = "default"; 406 status = "okay"; 407}; 408 409&saradc { 410 vref-supply = <&avcc_1v8_s0>; 411 status = "okay"; 412}; 413 414&sdhci { 415 bus-width = <8>; 416 no-sdio; 417 no-sd; 418 non-removable; 419 max-frequency = <200000000>; 420 mmc-hs400-1_8v; 421 mmc-hs400-enhanced-strobe; 422 status = "disabled"; 423}; 424 425&sdmmc { 426 bus-width = <4>; 427 cap-sd-highspeed; 428 disable-wp; 429 max-frequency = <150000000>; 430 no-mmc; 431 no-sdio; 432 sd-uhs-sdr104; 433 vmmc-supply = <&vcc_3v3_sd_s0>; 434 vqmmc-supply = <&vccio_sd_s0>; 435 status = "okay"; 436}; 437 438&sfc { 439 pinctrl-names = "default"; 440 pinctrl-0 = <&fspim0_pins>; 441 status = "disabled"; 442 443 flash@0 { 444 compatible = "jedec,spi-nor"; 445 reg = <0x0>; 446 spi-max-frequency = <100000000>; 447 spi-rx-bus-width = <4>; 448 spi-tx-bus-width = <1>; 449 }; 450}; 451 452&spi2 { 453 status = "okay"; 454 assigned-clocks = <&cru CLK_SPI2>; 455 assigned-clock-rates = <200000000>; 456 num-cs = <1>; 457 pinctrl-names = "default"; 458 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; 459 460 pmic@0 { 461 compatible = "rockchip,rk806"; 462 reg = <0x0>; 463 interrupt-parent = <&gpio0>; 464 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 465 pinctrl-names = "default"; 466 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 467 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 468 spi-max-frequency = <1000000>; 469 system-power-controller; 470 471 vcc1-supply = <&vcc5v0_sys>; 472 vcc2-supply = <&vcc5v0_sys>; 473 vcc3-supply = <&vcc5v0_sys>; 474 vcc4-supply = <&vcc5v0_sys>; 475 vcc5-supply = <&vcc5v0_sys>; 476 vcc6-supply = <&vcc5v0_sys>; 477 vcc7-supply = <&vcc5v0_sys>; 478 vcc8-supply = <&vcc5v0_sys>; 479 vcc9-supply = <&vcc5v0_sys>; 480 vcc10-supply = <&vcc5v0_sys>; 481 vcc11-supply = <&vcc_2v0_pldo_s3>; 482 vcc12-supply = <&vcc5v0_sys>; 483 vcc13-supply = <&vcc_1v1_nldo_s3>; 484 vcc14-supply = <&vcc_1v1_nldo_s3>; 485 vcca-supply = <&vcc5v0_sys>; 486 487 gpio-controller; 488 #gpio-cells = <2>; 489 490 rk806_dvs1_null: dvs1-null-pins { 491 pins = "gpio_pwrctrl1"; 492 function = "pin_fun0"; 493 }; 494 495 rk806_dvs2_null: dvs2-null-pins { 496 pins = "gpio_pwrctrl2"; 497 function = "pin_fun0"; 498 }; 499 500 rk806_dvs3_null: dvs3-null-pins { 501 pins = "gpio_pwrctrl3"; 502 function = "pin_fun0"; 503 }; 504 505 regulators { 506 vdd_gpu_s0: dcdc-reg1 { 507 regulator-name = "vdd_gpu_s0"; 508 regulator-boot-on; 509 regulator-min-microvolt = <550000>; 510 regulator-max-microvolt = <950000>; 511 regulator-ramp-delay = <12500>; 512 regulator-enable-ramp-delay = <400>; 513 514 regulator-state-mem { 515 regulator-off-in-suspend; 516 }; 517 }; 518 519 vdd_cpu_lit_s0: dcdc-reg2 { 520 regulator-name = "vdd_cpu_lit_s0"; 521 regulator-always-on; 522 regulator-boot-on; 523 regulator-min-microvolt = <550000>; 524 regulator-max-microvolt = <950000>; 525 regulator-ramp-delay = <12500>; 526 527 regulator-state-mem { 528 regulator-off-in-suspend; 529 }; 530 }; 531 532 vdd_log_s0: dcdc-reg3 { 533 regulator-name = "vdd_log_s0"; 534 regulator-always-on; 535 regulator-boot-on; 536 regulator-min-microvolt = <675000>; 537 regulator-max-microvolt = <750000>; 538 regulator-ramp-delay = <12500>; 539 540 regulator-state-mem { 541 regulator-off-in-suspend; 542 regulator-suspend-microvolt = <750000>; 543 }; 544 }; 545 546 vdd_vdenc_s0: dcdc-reg4 { 547 regulator-name = "vdd_vdenc_s0"; 548 regulator-always-on; 549 regulator-boot-on; 550 regulator-min-microvolt = <550000>; 551 regulator-max-microvolt = <950000>; 552 regulator-ramp-delay = <12500>; 553 554 regulator-state-mem { 555 regulator-off-in-suspend; 556 }; 557 }; 558 559 vdd_ddr_s0: dcdc-reg5 { 560 regulator-name = "vdd_ddr_s0"; 561 regulator-always-on; 562 regulator-boot-on; 563 regulator-min-microvolt = <675000>; 564 regulator-max-microvolt = <900000>; 565 regulator-ramp-delay = <12500>; 566 567 regulator-state-mem { 568 regulator-off-in-suspend; 569 regulator-suspend-microvolt = <850000>; 570 }; 571 }; 572 573 vcc_1v1_nldo_s3: vdd2_ddr_s3: dcdc-reg6 { 574 regulator-name = "vdd2_ddr_s3"; 575 regulator-always-on; 576 regulator-boot-on; 577 regulator-max-microvolt = <1100000>; 578 regulator-min-microvolt = <1100000>; 579 580 regulator-state-mem { 581 regulator-on-in-suspend; 582 }; 583 }; 584 585 vcc_2v0_pldo_s3: dcdc-reg7 { 586 regulator-name = "vdd_2v0_pldo_s3"; 587 regulator-always-on; 588 regulator-boot-on; 589 regulator-min-microvolt = <2000000>; 590 regulator-max-microvolt = <2000000>; 591 regulator-ramp-delay = <12500>; 592 593 regulator-state-mem { 594 regulator-on-in-suspend; 595 regulator-suspend-microvolt = <2000000>; 596 }; 597 }; 598 599 vcc_3v3_s3: dcdc-reg8 { 600 regulator-name = "vcc_3v3_s3"; 601 regulator-always-on; 602 regulator-boot-on; 603 regulator-min-microvolt = <3300000>; 604 regulator-max-microvolt = <3300000>; 605 606 regulator-state-mem { 607 regulator-on-in-suspend; 608 regulator-suspend-microvolt = <3300000>; 609 }; 610 }; 611 612 vddq_ddr_s0: dcdc-reg9 { 613 regulator-name = "vddq_ddr_s0"; 614 regulator-always-on; 615 regulator-boot-on; 616 617 regulator-state-mem { 618 regulator-off-in-suspend; 619 }; 620 }; 621 622 vcc_1v8_s3: dcdc-reg10 { 623 regulator-name = "vcc_1v8_s3"; 624 regulator-always-on; 625 regulator-boot-on; 626 regulator-min-microvolt = <1800000>; 627 regulator-max-microvolt = <1800000>; 628 629 regulator-state-mem { 630 regulator-on-in-suspend; 631 regulator-suspend-microvolt = <1800000>; 632 }; 633 }; 634 635 avcc_1v8_s0: pldo-reg1 { 636 regulator-name = "avcc_1v8_s0"; 637 regulator-always-on; 638 regulator-boot-on; 639 regulator-min-microvolt = <1800000>; 640 regulator-max-microvolt = <1800000>; 641 642 regulator-state-mem { 643 regulator-off-in-suspend; 644 }; 645 }; 646 647 vcc_1v8_s0: pldo-reg2 { 648 regulator-name = "vcc_1v8_s0"; 649 regulator-always-on; 650 regulator-boot-on; 651 regulator-min-microvolt = <1800000>; 652 regulator-max-microvolt = <1800000>; 653 654 regulator-state-mem { 655 regulator-off-in-suspend; 656 regulator-suspend-microvolt = <1800000>; 657 }; 658 }; 659 660 avdd_1v2_s0: pldo-reg3 { 661 regulator-name = "avdd_1v2_s0"; 662 regulator-always-on; 663 regulator-boot-on; 664 regulator-min-microvolt = <1200000>; 665 regulator-max-microvolt = <1200000>; 666 667 regulator-state-mem { 668 regulator-off-in-suspend; 669 }; 670 }; 671 672 vcc_3v3_s0: pldo-reg4 { 673 regulator-name = "vcc_3v3_s0"; 674 regulator-always-on; 675 regulator-boot-on; 676 regulator-min-microvolt = <3300000>; 677 regulator-max-microvolt = <3300000>; 678 regulator-ramp-delay = <12500>; 679 680 regulator-state-mem { 681 regulator-off-in-suspend; 682 }; 683 }; 684 685 vccio_sd_s0: pldo-reg5 { 686 regulator-name = "vccio_sd_s0"; 687 regulator-always-on; 688 regulator-boot-on; 689 regulator-min-microvolt = <1800000>; 690 regulator-max-microvolt = <3300000>; 691 regulator-ramp-delay = <12500>; 692 693 regulator-state-mem { 694 regulator-off-in-suspend; 695 }; 696 }; 697 698 pldo6_s3: pldo-reg6 { 699 regulator-name = "pldo6_s3"; 700 regulator-always-on; 701 regulator-boot-on; 702 regulator-min-microvolt = <1800000>; 703 regulator-max-microvolt = <1800000>; 704 705 regulator-state-mem { 706 regulator-on-in-suspend; 707 regulator-suspend-microvolt = <1800000>; 708 }; 709 }; 710 711 vdd_0v75_s3: nldo-reg1 { 712 regulator-name = "vdd_0v75_s3"; 713 regulator-always-on; 714 regulator-boot-on; 715 regulator-min-microvolt = <750000>; 716 regulator-max-microvolt = <750000>; 717 718 regulator-state-mem { 719 regulator-on-in-suspend; 720 regulator-suspend-microvolt = <750000>; 721 }; 722 }; 723 724 vdd_ddr_pll_s0: nldo-reg2 { 725 regulator-name = "vdd_ddr_pll_s0"; 726 regulator-always-on; 727 regulator-boot-on; 728 regulator-min-microvolt = <850000>; 729 regulator-max-microvolt = <850000>; 730 731 regulator-state-mem { 732 regulator-off-in-suspend; 733 regulator-suspend-microvolt = <850000>; 734 }; 735 }; 736 737 avdd_0v75_s0: nldo-reg3 { 738 regulator-name = "avdd_0v75_s0"; 739 regulator-always-on; 740 regulator-boot-on; 741 regulator-min-microvolt = <750000>; 742 regulator-max-microvolt = <750000>; 743 744 regulator-state-mem { 745 regulator-off-in-suspend; 746 }; 747 }; 748 749 vdd_0v85_s0: nldo-reg4 { 750 regulator-name = "vdd_0v85_s0"; 751 regulator-always-on; 752 regulator-boot-on; 753 regulator-min-microvolt = <850000>; 754 regulator-max-microvolt = <850000>; 755 756 regulator-state-mem { 757 regulator-off-in-suspend; 758 }; 759 }; 760 761 vdd_0v75_s0: nldo-reg5 { 762 regulator-name = "vdd_0v75_s0"; 763 regulator-always-on; 764 regulator-boot-on; 765 regulator-min-microvolt = <750000>; 766 regulator-max-microvolt = <750000>; 767 768 regulator-state-mem { 769 regulator-off-in-suspend; 770 }; 771 }; 772 }; 773 }; 774}; 775 776&tsadc { 777 status = "okay"; 778}; 779 780&u2phy0 { 781 status = "okay"; 782}; 783 784&u2phy0_otg { 785 status = "okay"; 786}; 787 788&u2phy2 { 789 status = "okay"; 790}; 791 792&u2phy2_host { 793 status = "okay"; 794}; 795 796&u2phy3 { 797 status = "okay"; 798}; 799 800&u2phy3_host { 801 status = "okay"; 802}; 803 804&uart2 { 805 pinctrl-0 = <&uart2m0_xfer>; 806 status = "okay"; 807}; 808 809&usbdp_phy0 { 810 mode-switch; 811 orientation-switch; 812 sbu1-dc-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; 813 sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; 814 status = "okay"; 815 816 port { 817 #address-cells = <1>; 818 #size-cells = <0>; 819 820 usbdp_phy0_typec_ss: endpoint@0 { 821 reg = <0>; 822 remote-endpoint = <&usbc0_ss>; 823 }; 824 825 usbdp_phy0_typec_sbu: endpoint@1 { 826 reg = <1>; 827 remote-endpoint = <&usbc0_sbu>; 828 }; 829 }; 830}; 831 832&usb_host0_ehci { 833 status = "okay"; 834}; 835 836&usb_host0_ohci { 837 status = "okay"; 838}; 839 840&usb_host0_xhci { 841 dr_mode = "otg"; 842 usb-role-switch; 843 status = "okay"; 844 845 port { 846 usb_host0_xhci_drd_sw: endpoint { 847 remote-endpoint = <&usbc0_hs>; 848 }; 849 }; 850}; 851 852&usb_host1_ehci { 853 status = "okay"; 854}; 855 856&usb_host1_ohci { 857 status = "okay"; 858}; 859 860&usb_host2_xhci { 861 status = "okay"; 862}; 863 864&vop_mmu { 865 status = "okay"; 866}; 867 868&vop { 869 status = "okay"; 870}; 871 872&vp0 { 873 vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 874 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 875 remote-endpoint = <&hdmi0_in_vp0>; 876 }; 877}; 878