1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 * 5 */ 6 7/dts-v1/; 8 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/input/input.h> 11#include <dt-bindings/pinctrl/rockchip.h> 12#include <dt-bindings/soc/rockchip,vop2.h> 13#include <dt-bindings/usb/pd.h> 14#include "rk3588.dtsi" 15 16/ { 17 model = "Rockchip RK3588 EVB1 V10 Board"; 18 compatible = "rockchip,rk3588-evb1-v10", "rockchip,rk3588"; 19 20 aliases { 21 ethernet0 = &gmac0; 22 mmc0 = &sdhci; 23 }; 24 25 chosen { 26 stdout-path = "serial2:1500000n8"; 27 }; 28 29 adc-keys { 30 compatible = "adc-keys"; 31 io-channels = <&saradc 1>; 32 io-channel-names = "buttons"; 33 keyup-threshold-microvolt = <1800000>; 34 poll-interval = <100>; 35 36 button-vol-up { 37 label = "Volume Up"; 38 linux,code = <KEY_VOLUMEUP>; 39 press-threshold-microvolt = <17000>; 40 }; 41 42 button-vol-down { 43 label = "Volume Down"; 44 linux,code = <KEY_VOLUMEDOWN>; 45 press-threshold-microvolt = <417000>; 46 }; 47 48 button-menu { 49 label = "Menu"; 50 linux,code = <KEY_MENU>; 51 press-threshold-microvolt = <890000>; 52 }; 53 54 button-escape { 55 label = "Escape"; 56 linux,code = <KEY_ESC>; 57 press-threshold-microvolt = <1235000>; 58 }; 59 }; 60 61 analog-sound { 62 compatible = "simple-audio-card"; 63 pinctrl-names = "default"; 64 pinctrl-0 = <&hp_detect>; 65 simple-audio-card,name = "RK3588 EVB1 Audio"; 66 simple-audio-card,aux-devs = <&_headphone>, <&_speaker>; 67 simple-audio-card,bitclock-master = <&masterdai>; 68 simple-audio-card,format = "i2s"; 69 simple-audio-card,frame-master = <&masterdai>; 70 simple-audio-card,hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; 71 simple-audio-card,mclk-fs = <256>; 72 simple-audio-card,pin-switches = "Headphones", "Speaker"; 73 simple-audio-card,routing = 74 "Speaker Amplifier INL", "LOUT2", 75 "Speaker Amplifier INR", "ROUT2", 76 "Speaker", "Speaker Amplifier OUTL", 77 "Speaker", "Speaker Amplifier OUTR", 78 "Headphones Amplifier INL", "LOUT1", 79 "Headphones Amplifier INR", "ROUT1", 80 "Headphones", "Headphones Amplifier OUTL", 81 "Headphones", "Headphones Amplifier OUTR", 82 "LINPUT1", "Onboard Microphone", 83 "RINPUT1", "Onboard Microphone", 84 "LINPUT2", "Microphone Jack", 85 "RINPUT2", "Microphone Jack"; 86 simple-audio-card,widgets = 87 "Microphone", "Microphone Jack", 88 "Microphone", "Onboard Microphone", 89 "Headphone", "Headphones", 90 "Speaker", "Speaker"; 91 92 simple-audio-card,cpu { 93 sound-dai = <&i2s0_8ch>; 94 }; 95 96 masterdai: simple-audio-card,codec { 97 sound-dai = <&es8388>; 98 system-clock-frequency = <12288000>; 99 }; 100 }; 101 102 amp_headphone: headphone-amplifier { 103 compatible = "simple-audio-amplifier"; 104 enable-gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; 105 pinctrl-names = "default"; 106 pinctrl-0 = <&headphone_amplifier_en>; 107 sound-name-prefix = "Headphones Amplifier"; 108 }; 109 110 amp_speaker: speaker-amplifier { 111 compatible = "simple-audio-amplifier"; 112 enable-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>; 113 pinctrl-names = "default"; 114 pinctrl-0 = <&speaker_amplifier_en>; 115 sound-name-prefix = "Speaker Amplifier"; 116 }; 117 118 backlight: backlight { 119 compatible = "pwm-backlight"; 120 power-supply = <&vcc12v_dcin>; 121 pwms = <&pwm2 0 25000 0>; 122 }; 123 124 hdmi0-con { 125 compatible = "hdmi-connector"; 126 type = "a"; 127 128 port { 129 hdmi0_con_in: endpoint { 130 remote-endpoint = <&hdmi0_out_con>; 131 }; 132 }; 133 }; 134 135 hdmi1-con { 136 compatible = "hdmi-connector"; 137 type = "a"; 138 139 port { 140 hdmi1_con_in: endpoint { 141 remote-endpoint = <&hdmi1_out_con>; 142 }; 143 }; 144 }; 145 146 pcie20_avdd0v85: regulator-pcie20-avdd0v85 { 147 compatible = "regulator-fixed"; 148 regulator-name = "pcie20_avdd0v85"; 149 regulator-always-on; 150 regulator-boot-on; 151 regulator-min-microvolt = <850000>; 152 regulator-max-microvolt = <850000>; 153 vin-supply = <&avdd_0v85_s0>; 154 }; 155 156 pcie20_avdd1v8: regulator-pcie20-avdd1v8 { 157 compatible = "regulator-fixed"; 158 regulator-name = "pcie20_avdd1v8"; 159 regulator-always-on; 160 regulator-boot-on; 161 regulator-min-microvolt = <1800000>; 162 regulator-max-microvolt = <1800000>; 163 vin-supply = <&avcc_1v8_s0>; 164 }; 165 166 pcie30_avdd0v75: regulator-pcie30-avdd0v75 { 167 compatible = "regulator-fixed"; 168 regulator-name = "pcie30_avdd0v75"; 169 regulator-always-on; 170 regulator-boot-on; 171 regulator-min-microvolt = <750000>; 172 regulator-max-microvolt = <750000>; 173 vin-supply = <&avdd_0v75_s0>; 174 }; 175 176 pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 177 compatible = "regulator-fixed"; 178 regulator-name = "pcie30_avdd1v8"; 179 regulator-always-on; 180 regulator-boot-on; 181 regulator-min-microvolt = <1800000>; 182 regulator-max-microvolt = <1800000>; 183 vin-supply = <&avcc_1v8_s0>; 184 }; 185 186 vbus5v0_typec: regulator-vbus5v0-typec { 187 compatible = "regulator-fixed"; 188 enable-active-high; 189 gpio = <&gpio4 RK_PD0 GPIO_ACTIVE_HIGH>; 190 pinctrl-names = "default"; 191 pinctrl-0 = <&typec5v_pwren>; 192 regulator-name = "vbus5v0_typec"; 193 regulator-min-microvolt = <5000000>; 194 regulator-max-microvolt = <5000000>; 195 vin-supply = <&vcc5v0_usb>; 196 }; 197 198 vcc12v_dcin: regulator-vcc12v-dcin { 199 compatible = "regulator-fixed"; 200 regulator-name = "vcc12v_dcin"; 201 regulator-always-on; 202 regulator-boot-on; 203 regulator-min-microvolt = <12000000>; 204 regulator-max-microvolt = <12000000>; 205 }; 206 207 vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 208 compatible = "regulator-fixed"; 209 regulator-name = "vcc3v3_pcie30"; 210 regulator-min-microvolt = <3300000>; 211 regulator-max-microvolt = <3300000>; 212 enable-active-high; 213 gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>; 214 startup-delay-us = <5000>; 215 vin-supply = <&vcc12v_dcin>; 216 pinctrl-names = "default"; 217 pinctrl-0 = <&vcc3v3_pcie30_en>; 218 }; 219 220 vcc3v3_pciewl_vbat: regulator-vcc3v3-pciewl-vbat { 221 compatible = "regulator-fixed"; 222 regulator-always-on; 223 regulator-boot-on; 224 regulator-min-microvolt = <3300000>; 225 regulator-max-microvolt = <3300000>; 226 regulator-name = "wlan-vbat"; 227 vin-supply = <&vcc_3v3_s0>; 228 }; 229 230 vcc3v3_wlan: regulator-vcc3v3-wlan { 231 compatible = "regulator-fixed"; 232 enable-active-high; 233 gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>; 234 pinctrl-names = "default"; 235 pinctrl-0 = <&wifi_pwren>; 236 regulator-min-microvolt = <3300000>; 237 regulator-max-microvolt = <3300000>; 238 regulator-name = "wlan-en"; 239 vin-supply = <&vcc3v3_pciewl_vbat>; 240 }; 241 242 vcc5v0_host: regulator-vcc5v0-host { 243 compatible = "regulator-fixed"; 244 regulator-name = "vcc5v0_host"; 245 regulator-boot-on; 246 regulator-always-on; 247 regulator-min-microvolt = <5000000>; 248 regulator-max-microvolt = <5000000>; 249 enable-active-high; 250 gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; 251 pinctrl-names = "default"; 252 pinctrl-0 = <&vcc5v0_host_en>; 253 vin-supply = <&vcc5v0_usb>; 254 }; 255 256 vcc5v0_sys: regulator-vcc5v0-sys { 257 compatible = "regulator-fixed"; 258 regulator-name = "vcc5v0_sys"; 259 regulator-always-on; 260 regulator-boot-on; 261 regulator-min-microvolt = <5000000>; 262 regulator-max-microvolt = <5000000>; 263 vin-supply = <&vcc12v_dcin>; 264 }; 265 266 vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { 267 compatible = "regulator-fixed"; 268 regulator-name = "vcc5v0_usbdcin"; 269 regulator-always-on; 270 regulator-boot-on; 271 regulator-min-microvolt = <5000000>; 272 regulator-max-microvolt = <5000000>; 273 vin-supply = <&vcc12v_dcin>; 274 }; 275 276 vcc5v0_usb: regulator-vcc5v0-usb { 277 compatible = "regulator-fixed"; 278 regulator-name = "vcc5v0_usb"; 279 regulator-always-on; 280 regulator-boot-on; 281 regulator-min-microvolt = <5000000>; 282 regulator-max-microvolt = <5000000>; 283 vin-supply = <&vcc5v0_usbdcin>; 284 }; 285 286 vccio_wl: regulator-vccio-wl { 287 compatible = "regulator-fixed"; 288 regulator-always-on; 289 regulator-boot-on; 290 regulator-min-microvolt = <1800000>; 291 regulator-max-microvolt = <1800000>; 292 regulator-name = "wlan-vddio"; 293 vin-supply = <&vcc_1v8_s0>; 294 }; 295}; 296 297&combphy0_ps { 298 status = "okay"; 299}; 300 301&combphy1_ps { 302 status = "okay"; 303}; 304 305&combphy2_psu { 306 status = "okay"; 307}; 308 309&cpu_b0 { 310 cpu-supply = <&vdd_cpu_big0_s0>; 311}; 312 313&cpu_b1 { 314 cpu-supply = <&vdd_cpu_big0_s0>; 315}; 316 317&cpu_b2 { 318 cpu-supply = <&vdd_cpu_big1_s0>; 319}; 320 321&cpu_b3 { 322 cpu-supply = <&vdd_cpu_big1_s0>; 323}; 324 325&cpu_l0 { 326 cpu-supply = <&vdd_cpu_lit_s0>; 327}; 328 329&cpu_l1 { 330 cpu-supply = <&vdd_cpu_lit_s0>; 331}; 332 333&cpu_l2 { 334 cpu-supply = <&vdd_cpu_lit_s0>; 335}; 336 337&cpu_l3 { 338 cpu-supply = <&vdd_cpu_lit_s0>; 339}; 340 341&gmac0 { 342 clock_in_out = "output"; 343 phy-handle = <&rgmii_phy>; 344 phy-mode = "rgmii-rxid"; 345 pinctrl-0 = <&gmac0_miim 346 &gmac0_tx_bus2 347 &gmac0_rx_bus2 348 &gmac0_rgmii_clk 349 &gmac0_rgmii_bus>; 350 pinctrl-names = "default"; 351 rx_delay = <0x00>; 352 tx_delay = <0x43>; 353 status = "okay"; 354}; 355 356&gpu { 357 mali-supply = <&vdd_gpu_s0>; 358 sram-supply = <&vdd_gpu_mem_s0>; 359 status = "okay"; 360}; 361 362&hdmi0 { 363 status = "okay"; 364}; 365 366&hdmi0_in { 367 hdmi0_in_vp0: endpoint { 368 remote-endpoint = <&vp0_out_hdmi0>; 369 }; 370}; 371 372&hdmi0_out { 373 hdmi0_out_con: endpoint { 374 remote-endpoint = <&hdmi0_con_in>; 375 }; 376}; 377 378&hdmi1 { 379 status = "okay"; 380}; 381 382&hdmi1_in { 383 hdmi1_in_vp1: endpoint { 384 remote-endpoint = <&vp1_out_hdmi1>; 385 }; 386}; 387 388&hdmi1_out { 389 hdmi1_out_con: endpoint { 390 remote-endpoint = <&hdmi1_con_in>; 391 }; 392}; 393 394&hdmi_receiver_cma { 395 status = "okay"; 396}; 397 398&hdmi_receiver { 399 hpd-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; 400 pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_hpd>; 401 pinctrl-names = "default"; 402 status = "okay"; 403}; 404 405&hdptxphy0 { 406 status = "okay"; 407}; 408 409&hdptxphy1 { 410 status = "okay"; 411}; 412 413&i2c2 { 414 status = "okay"; 415 416 usbc0: usb-typec@22 { 417 compatible = "fcs,fusb302"; 418 reg = <0x22>; 419 interrupt-parent = <&gpio3>; 420 interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>; 421 pinctrl-names = "default"; 422 pinctrl-0 = <&usbc0_int>; 423 vbus-supply = <&vbus5v0_typec>; 424 status = "okay"; 425 426 usb_con: connector { 427 compatible = "usb-c-connector"; 428 label = "USB-C"; 429 data-role = "dual"; 430 op-sink-microwatt = <1000000>; 431 power-role = "dual"; 432 sink-pdos = 433 <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; 434 source-pdos = 435 <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 436 try-power-role = "source"; 437 438 ports { 439 #address-cells = <1>; 440 #size-cells = <0>; 441 442 port@0 { 443 reg = <0>; 444 445 usbc0_orien_sw: endpoint { 446 remote-endpoint = <&usbdp_phy0_orientation_switch>; 447 }; 448 }; 449 450 port@1 { 451 reg = <1>; 452 453 usbc0_role_sw: endpoint { 454 remote-endpoint = <&dwc3_0_role_switch>; 455 }; 456 }; 457 458 port@2 { 459 reg = <2>; 460 461 dp_altmode_mux: endpoint { 462 remote-endpoint = <&usbdp_phy0_dp_altmode_mux>; 463 }; 464 }; 465 }; 466 }; 467 }; 468 469 hym8563: rtc@51 { 470 compatible = "haoyu,hym8563"; 471 reg = <0x51>; 472 #clock-cells = <0>; 473 clock-output-names = "hym8563"; 474 pinctrl-names = "default"; 475 pinctrl-0 = <&hym8563_int>; 476 interrupt-parent = <&gpio0>; 477 interrupts = <RK_PD4 IRQ_TYPE_LEVEL_LOW>; 478 wakeup-source; 479 }; 480}; 481 482&i2c7 { 483 status = "okay"; 484 485 es8388: audio-codec@11 { 486 compatible = "everest,es8388", "everest,es8328"; 487 reg = <0x11>; 488 clocks = <&cru I2S0_8CH_MCLKOUT>; 489 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; 490 assigned-clock-rates = <12288000>; 491 AVDD-supply = <&avcc_1v8_codec_s0>; 492 DVDD-supply = <&avcc_1v8_codec_s0>; 493 HPVDD-supply = <&vcc_3v3_s0>; 494 PVDD-supply = <&vcc_3v3_s0>; 495 #sound-dai-cells = <0>; 496 }; 497}; 498 499&i2s0_8ch { 500 pinctrl-0 = <&i2s0_lrck 501 &i2s0_mclk 502 &i2s0_sclk 503 &i2s0_sdi0 504 &i2s0_sdo0>; 505 status = "okay"; 506}; 507 508&mdio0 { 509 rgmii_phy: ethernet-phy@1 { 510 /* RTL8211F */ 511 compatible = "ethernet-phy-id001c.c916"; 512 reg = <0x1>; 513 pinctrl-names = "default"; 514 pinctrl-0 = <&rtl8211f_rst>; 515 reset-assert-us = <20000>; 516 reset-deassert-us = <100000>; 517 reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; 518 }; 519}; 520 521&pcie2x1l0 { 522 pinctrl-names = "default"; 523 pinctrl-0 = <&pcie2_0_rst>, <&pcie2_0_wake>, <&pcie2_0_clkreq>, <&wifi_host_wake_irq>; 524 reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; 525 vpcie3v3-supply = <&vcc3v3_wlan>; 526 status = "okay"; 527 528 pcie@0,0 { 529 reg = <0x200000 0 0 0 0>; 530 #address-cells = <3>; 531 #size-cells = <2>; 532 ranges; 533 device_type = "pci"; 534 bus-range = <0x20 0x2f>; 535 536 wifi: wifi@0,0 { 537 compatible = "pci14e4,449d"; 538 reg = <0x210000 0 0 0 0>; 539 clocks = <&hym8563>; 540 clock-names = "lpo"; 541 }; 542 }; 543}; 544 545&pcie2x1l1 { 546 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; 547 pinctrl-names = "default"; 548 pinctrl-0 = <&pcie2_1_rst>, <&rtl8111_isolate>; 549 status = "okay"; 550}; 551 552&pcie30phy { 553 status = "okay"; 554}; 555 556&pcie3x4 { 557 pinctrl-names = "default"; 558 pinctrl-0 = <&pcie3_reset>; 559 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; 560 vpcie3v3-supply = <&vcc3v3_pcie30>; 561 status = "okay"; 562}; 563 564&pd_gpu { 565 domain-supply = <&vdd_gpu_s0>; 566}; 567 568&pinctrl { 569 audio { 570 hp_detect: headphone-detect { 571 rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 572 }; 573 574 headphone_amplifier_en: headphone-amplifier-en { 575 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 576 }; 577 578 speaker_amplifier_en: speaker-amplifier-en { 579 rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 580 }; 581 }; 582 583 rtl8111 { 584 rtl8111_isolate: rtl8111-isolate { 585 rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 586 }; 587 }; 588 589 rtl8211f { 590 rtl8211f_rst: rtl8211f-rst { 591 rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 592 }; 593 594 }; 595 596 hdmirx { 597 hdmirx_hpd: hdmirx-5v-detection { 598 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 599 }; 600 }; 601 602 hym8563 { 603 hym8563_int: hym8563-int { 604 rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>; 605 }; 606 }; 607 608 pcie2 { 609 pcie2_0_rst: pcie2-0-rst { 610 rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 611 }; 612 613 pcie2_0_wake: pcie2-0-wake { 614 rockchip,pins = <4 RK_PA4 4 &pcfg_pull_none>; 615 }; 616 617 pcie2_0_clkreq: pcie2-0-clkreq { 618 rockchip,pins = <4 RK_PA3 4 &pcfg_pull_none>; 619 }; 620 621 pcie2_1_rst: pcie2-1-rst { 622 rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 623 }; 624 }; 625 626 pcie3 { 627 pcie3_reset: pcie3-reset { 628 rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 629 }; 630 631 vcc3v3_pcie30_en: vcc3v3-pcie30-en { 632 rockchip,pins = <3 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 633 }; 634 }; 635 636 usb { 637 vcc5v0_host_en: vcc5v0-host-en { 638 rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 639 }; 640 }; 641 642 usb-typec { 643 typec5v_pwren: typec5v-pwren { 644 rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 645 }; 646 647 usbc0_int: usbc0-int { 648 rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; 649 }; 650 }; 651 652 wlan { 653 wifi_host_wake_irq: wifi-host-wake-irq { 654 rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>; 655 }; 656 657 wifi_pwren: wifi-pwren { 658 rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 659 }; 660 }; 661}; 662 663&pwm2 { 664 status = "okay"; 665}; 666 667&saradc { 668 vref-supply = <&vcc_1v8_s0>; 669 status = "okay"; 670}; 671 672&sdhci { 673 bus-width = <8>; 674 no-sdio; 675 no-sd; 676 non-removable; 677 mmc-hs400-1_8v; 678 mmc-hs400-enhanced-strobe; 679 status = "okay"; 680}; 681 682&spi2 { 683 status = "okay"; 684 assigned-clocks = <&cru CLK_SPI2>; 685 assigned-clock-rates = <200000000>; 686 num-cs = <2>; 687 688 pmic@0 { 689 compatible = "rockchip,rk806"; 690 reg = <0x0>; 691 #gpio-cells = <2>; 692 gpio-controller; 693 interrupt-parent = <&gpio0>; 694 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 695 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 696 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 697 pinctrl-names = "default"; 698 spi-max-frequency = <1000000>; 699 system-power-controller; 700 701 vcc1-supply = <&vcc5v0_sys>; 702 vcc2-supply = <&vcc5v0_sys>; 703 vcc3-supply = <&vcc5v0_sys>; 704 vcc4-supply = <&vcc5v0_sys>; 705 vcc5-supply = <&vcc5v0_sys>; 706 vcc6-supply = <&vcc5v0_sys>; 707 vcc7-supply = <&vcc5v0_sys>; 708 vcc8-supply = <&vcc5v0_sys>; 709 vcc9-supply = <&vcc5v0_sys>; 710 vcc10-supply = <&vcc5v0_sys>; 711 vcc11-supply = <&vcc_2v0_pldo_s3>; 712 vcc12-supply = <&vcc5v0_sys>; 713 vcc13-supply = <&vcc5v0_sys>; 714 vcc14-supply = <&vcc_1v1_nldo_s3>; 715 vcca-supply = <&vcc5v0_sys>; 716 717 rk806_dvs1_null: dvs1-null-pins { 718 pins = "gpio_pwrctrl1"; 719 function = "pin_fun0"; 720 }; 721 722 rk806_dvs2_null: dvs2-null-pins { 723 pins = "gpio_pwrctrl2"; 724 function = "pin_fun0"; 725 }; 726 727 rk806_dvs3_null: dvs3-null-pins { 728 pins = "gpio_pwrctrl3"; 729 function = "pin_fun0"; 730 }; 731 732 733 regulators { 734 vdd_gpu_s0: dcdc-reg1 { 735 /* regulator coupling requires always-on */ 736 regulator-always-on; 737 regulator-boot-on; 738 regulator-min-microvolt = <550000>; 739 regulator-max-microvolt = <950000>; 740 regulator-ramp-delay = <12500>; 741 regulator-name = "vdd_gpu_s0"; 742 regulator-enable-ramp-delay = <400>; 743 regulator-coupled-with = <&vdd_gpu_mem_s0>; 744 regulator-coupled-max-spread = <10000>; 745 regulator-state-mem { 746 regulator-off-in-suspend; 747 }; 748 }; 749 750 vdd_npu_s0: dcdc-reg2 { 751 regulator-always-on; 752 regulator-boot-on; 753 regulator-min-microvolt = <550000>; 754 regulator-max-microvolt = <950000>; 755 regulator-ramp-delay = <12500>; 756 regulator-name = "vdd_npu_s0"; 757 regulator-state-mem { 758 regulator-off-in-suspend; 759 }; 760 }; 761 762 vdd_log_s0: dcdc-reg3 { 763 regulator-always-on; 764 regulator-boot-on; 765 regulator-min-microvolt = <675000>; 766 regulator-max-microvolt = <750000>; 767 regulator-ramp-delay = <12500>; 768 regulator-name = "vdd_log_s0"; 769 regulator-state-mem { 770 regulator-off-in-suspend; 771 regulator-suspend-microvolt = <750000>; 772 }; 773 }; 774 775 vdd_vdenc_s0: dcdc-reg4 { 776 regulator-always-on; 777 regulator-boot-on; 778 regulator-min-microvolt = <550000>; 779 regulator-max-microvolt = <950000>; 780 regulator-ramp-delay = <12500>; 781 regulator-name = "vdd_vdenc_s0"; 782 regulator-state-mem { 783 regulator-off-in-suspend; 784 }; 785 786 }; 787 788 vdd_gpu_mem_s0: dcdc-reg5 { 789 /* regulator coupling requires always-on */ 790 regulator-always-on; 791 regulator-boot-on; 792 regulator-min-microvolt = <675000>; 793 regulator-max-microvolt = <950000>; 794 regulator-ramp-delay = <12500>; 795 regulator-enable-ramp-delay = <400>; 796 regulator-name = "vdd_gpu_mem_s0"; 797 regulator-coupled-with = <&vdd_gpu_s0>; 798 regulator-coupled-max-spread = <10000>; 799 regulator-state-mem { 800 regulator-off-in-suspend; 801 }; 802 803 }; 804 805 vdd_npu_mem_s0: dcdc-reg6 { 806 regulator-always-on; 807 regulator-boot-on; 808 regulator-min-microvolt = <675000>; 809 regulator-max-microvolt = <950000>; 810 regulator-ramp-delay = <12500>; 811 regulator-name = "vdd_npu_mem_s0"; 812 regulator-state-mem { 813 regulator-off-in-suspend; 814 }; 815 816 }; 817 818 vcc_2v0_pldo_s3: dcdc-reg7 { 819 regulator-always-on; 820 regulator-boot-on; 821 regulator-min-microvolt = <2000000>; 822 regulator-max-microvolt = <2000000>; 823 regulator-ramp-delay = <12500>; 824 regulator-name = "vdd_2v0_pldo_s3"; 825 regulator-state-mem { 826 regulator-on-in-suspend; 827 regulator-suspend-microvolt = <2000000>; 828 }; 829 }; 830 831 vdd_vdenc_mem_s0: dcdc-reg8 { 832 regulator-always-on; 833 regulator-boot-on; 834 regulator-min-microvolt = <675000>; 835 regulator-max-microvolt = <950000>; 836 regulator-ramp-delay = <12500>; 837 regulator-name = "vdd_vdenc_mem_s0"; 838 regulator-state-mem { 839 regulator-off-in-suspend; 840 }; 841 }; 842 843 vdd2_ddr_s3: dcdc-reg9 { 844 regulator-always-on; 845 regulator-boot-on; 846 regulator-name = "vdd2_ddr_s3"; 847 regulator-state-mem { 848 regulator-on-in-suspend; 849 }; 850 }; 851 852 vcc_1v1_nldo_s3: dcdc-reg10 { 853 regulator-always-on; 854 regulator-boot-on; 855 regulator-min-microvolt = <1100000>; 856 regulator-max-microvolt = <1100000>; 857 regulator-ramp-delay = <12500>; 858 regulator-name = "vcc_1v1_nldo_s3"; 859 regulator-state-mem { 860 regulator-on-in-suspend; 861 regulator-suspend-microvolt = <1100000>; 862 }; 863 }; 864 865 avcc_1v8_s0: pldo-reg1 { 866 regulator-always-on; 867 regulator-boot-on; 868 regulator-min-microvolt = <1800000>; 869 regulator-max-microvolt = <1800000>; 870 regulator-ramp-delay = <12500>; 871 regulator-name = "avcc_1v8_s0"; 872 regulator-state-mem { 873 regulator-off-in-suspend; 874 }; 875 }; 876 877 vdd1_1v8_ddr_s3: pldo-reg2 { 878 regulator-always-on; 879 regulator-boot-on; 880 regulator-min-microvolt = <1800000>; 881 regulator-max-microvolt = <1800000>; 882 regulator-ramp-delay = <12500>; 883 regulator-name = "vdd1_1v8_ddr_s3"; 884 regulator-state-mem { 885 regulator-on-in-suspend; 886 regulator-suspend-microvolt = <1800000>; 887 }; 888 }; 889 890 avcc_1v8_codec_s0: pldo-reg3 { 891 regulator-always-on; 892 regulator-boot-on; 893 regulator-min-microvolt = <1800000>; 894 regulator-max-microvolt = <1800000>; 895 regulator-ramp-delay = <12500>; 896 regulator-name = "avcc_1v8_codec_s0"; 897 regulator-state-mem { 898 regulator-off-in-suspend; 899 }; 900 }; 901 902 vcc_3v3_s3: pldo-reg4 { 903 regulator-always-on; 904 regulator-boot-on; 905 regulator-min-microvolt = <3300000>; 906 regulator-max-microvolt = <3300000>; 907 regulator-ramp-delay = <12500>; 908 regulator-name = "vcc_3v3_s3"; 909 regulator-state-mem { 910 regulator-on-in-suspend; 911 regulator-suspend-microvolt = <3300000>; 912 }; 913 }; 914 915 vccio_sd_s0: pldo-reg5 { 916 regulator-always-on; 917 regulator-boot-on; 918 regulator-min-microvolt = <1800000>; 919 regulator-max-microvolt = <3300000>; 920 regulator-ramp-delay = <12500>; 921 regulator-name = "vccio_sd_s0"; 922 regulator-state-mem { 923 regulator-off-in-suspend; 924 }; 925 }; 926 927 vccio_1v8_s3: pldo-reg6 { 928 regulator-always-on; 929 regulator-boot-on; 930 regulator-min-microvolt = <1800000>; 931 regulator-max-microvolt = <1800000>; 932 regulator-ramp-delay = <12500>; 933 regulator-name = "vccio_1v8_s3"; 934 regulator-state-mem { 935 regulator-on-in-suspend; 936 regulator-suspend-microvolt = <1800000>; 937 }; 938 }; 939 940 vdd_0v75_s3: nldo-reg1 { 941 regulator-always-on; 942 regulator-boot-on; 943 regulator-min-microvolt = <750000>; 944 regulator-max-microvolt = <750000>; 945 regulator-ramp-delay = <12500>; 946 regulator-name = "vdd_0v75_s3"; 947 regulator-state-mem { 948 regulator-on-in-suspend; 949 regulator-suspend-microvolt = <750000>; 950 }; 951 }; 952 953 vdd2l_0v9_ddr_s3: nldo-reg2 { 954 regulator-always-on; 955 regulator-boot-on; 956 regulator-min-microvolt = <900000>; 957 regulator-max-microvolt = <900000>; 958 regulator-name = "vdd2l_0v9_ddr_s3"; 959 regulator-state-mem { 960 regulator-on-in-suspend; 961 regulator-suspend-microvolt = <900000>; 962 }; 963 }; 964 965 vdd_0v75_hdmi_edp_s0: nldo-reg3 { 966 regulator-always-on; 967 regulator-boot-on; 968 regulator-min-microvolt = <750000>; 969 regulator-max-microvolt = <750000>; 970 regulator-name = "vdd_0v75_hdmi_edp_s0"; 971 regulator-state-mem { 972 regulator-off-in-suspend; 973 }; 974 }; 975 976 avdd_0v75_s0: nldo-reg4 { 977 regulator-always-on; 978 regulator-boot-on; 979 regulator-min-microvolt = <750000>; 980 regulator-max-microvolt = <750000>; 981 regulator-name = "avdd_0v75_s0"; 982 regulator-state-mem { 983 regulator-off-in-suspend; 984 }; 985 }; 986 987 vdd_0v85_s0: nldo-reg5 { 988 regulator-always-on; 989 regulator-boot-on; 990 regulator-min-microvolt = <850000>; 991 regulator-max-microvolt = <850000>; 992 regulator-name = "vdd_0v85_s0"; 993 regulator-state-mem { 994 regulator-off-in-suspend; 995 }; 996 }; 997 }; 998 }; 999 1000 pmic@1 { 1001 compatible = "rockchip,rk806"; 1002 reg = <0x01>; 1003 #gpio-cells = <2>; 1004 gpio-controller; 1005 interrupt-parent = <&gpio0>; 1006 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 1007 pinctrl-0 = <&rk806_slave_dvs1_null>, <&rk806_slave_dvs2_null>, 1008 <&rk806_slave_dvs3_null>; 1009 pinctrl-names = "default"; 1010 spi-max-frequency = <1000000>; 1011 1012 vcc1-supply = <&vcc5v0_sys>; 1013 vcc2-supply = <&vcc5v0_sys>; 1014 vcc3-supply = <&vcc5v0_sys>; 1015 vcc4-supply = <&vcc5v0_sys>; 1016 vcc5-supply = <&vcc5v0_sys>; 1017 vcc6-supply = <&vcc5v0_sys>; 1018 vcc7-supply = <&vcc5v0_sys>; 1019 vcc8-supply = <&vcc5v0_sys>; 1020 vcc9-supply = <&vcc5v0_sys>; 1021 vcc10-supply = <&vcc5v0_sys>; 1022 vcc11-supply = <&vcc_2v0_pldo_s3>; 1023 vcc12-supply = <&vcc5v0_sys>; 1024 vcc13-supply = <&vcc_1v1_nldo_s3>; 1025 vcc14-supply = <&vcc_2v0_pldo_s3>; 1026 vcca-supply = <&vcc5v0_sys>; 1027 1028 rk806_slave_dvs1_null: dvs1-null-pins { 1029 pins = "gpio_pwrctrl1"; 1030 function = "pin_fun0"; 1031 }; 1032 1033 rk806_slave_dvs2_null: dvs2-null-pins { 1034 pins = "gpio_pwrctrl2"; 1035 function = "pin_fun0"; 1036 }; 1037 1038 rk806_slave_dvs3_null: dvs3-null-pins { 1039 pins = "gpio_pwrctrl3"; 1040 function = "pin_fun0"; 1041 }; 1042 1043 regulators { 1044 vdd_cpu_big1_s0: dcdc-reg1 { 1045 regulator-always-on; 1046 regulator-boot-on; 1047 regulator-coupled-with = <&vdd_cpu_big1_mem_s0>; 1048 regulator-coupled-max-spread = <10000>; 1049 regulator-min-microvolt = <550000>; 1050 regulator-max-microvolt = <1050000>; 1051 regulator-ramp-delay = <12500>; 1052 regulator-name = "vdd_cpu_big1_s0"; 1053 regulator-state-mem { 1054 regulator-off-in-suspend; 1055 }; 1056 }; 1057 1058 vdd_cpu_big0_s0: dcdc-reg2 { 1059 regulator-always-on; 1060 regulator-boot-on; 1061 regulator-coupled-with = <&vdd_cpu_big0_mem_s0>; 1062 regulator-coupled-max-spread = <10000>; 1063 regulator-min-microvolt = <550000>; 1064 regulator-max-microvolt = <1050000>; 1065 regulator-ramp-delay = <12500>; 1066 regulator-name = "vdd_cpu_big0_s0"; 1067 regulator-state-mem { 1068 regulator-off-in-suspend; 1069 }; 1070 }; 1071 1072 vdd_cpu_lit_s0: dcdc-reg3 { 1073 regulator-always-on; 1074 regulator-boot-on; 1075 regulator-coupled-with = <&vdd_cpu_lit_mem_s0>; 1076 regulator-coupled-max-spread = <10000>; 1077 regulator-min-microvolt = <550000>; 1078 regulator-max-microvolt = <950000>; 1079 regulator-ramp-delay = <12500>; 1080 regulator-name = "vdd_cpu_lit_s0"; 1081 regulator-state-mem { 1082 regulator-off-in-suspend; 1083 }; 1084 }; 1085 1086 vcc_3v3_s0: dcdc-reg4 { 1087 regulator-always-on; 1088 regulator-boot-on; 1089 regulator-min-microvolt = <3300000>; 1090 regulator-max-microvolt = <3300000>; 1091 regulator-ramp-delay = <12500>; 1092 regulator-name = "vcc_3v3_s0"; 1093 regulator-state-mem { 1094 regulator-off-in-suspend; 1095 }; 1096 }; 1097 1098 vdd_cpu_big1_mem_s0: dcdc-reg5 { 1099 regulator-always-on; 1100 regulator-boot-on; 1101 regulator-coupled-with = <&vdd_cpu_big1_s0>; 1102 regulator-coupled-max-spread = <10000>; 1103 regulator-min-microvolt = <675000>; 1104 regulator-max-microvolt = <1050000>; 1105 regulator-ramp-delay = <12500>; 1106 regulator-name = "vdd_cpu_big1_mem_s0"; 1107 regulator-state-mem { 1108 regulator-off-in-suspend; 1109 }; 1110 }; 1111 1112 1113 vdd_cpu_big0_mem_s0: dcdc-reg6 { 1114 regulator-always-on; 1115 regulator-boot-on; 1116 regulator-coupled-with = <&vdd_cpu_big0_s0>; 1117 regulator-coupled-max-spread = <10000>; 1118 regulator-min-microvolt = <675000>; 1119 regulator-max-microvolt = <1050000>; 1120 regulator-ramp-delay = <12500>; 1121 regulator-name = "vdd_cpu_big0_mem_s0"; 1122 regulator-state-mem { 1123 regulator-off-in-suspend; 1124 }; 1125 }; 1126 1127 vcc_1v8_s0: dcdc-reg7 { 1128 regulator-always-on; 1129 regulator-boot-on; 1130 regulator-min-microvolt = <1800000>; 1131 regulator-max-microvolt = <1800000>; 1132 regulator-ramp-delay = <12500>; 1133 regulator-name = "vcc_1v8_s0"; 1134 regulator-state-mem { 1135 regulator-off-in-suspend; 1136 }; 1137 }; 1138 1139 vdd_cpu_lit_mem_s0: dcdc-reg8 { 1140 regulator-always-on; 1141 regulator-boot-on; 1142 regulator-coupled-with = <&vdd_cpu_lit_s0>; 1143 regulator-coupled-max-spread = <10000>; 1144 regulator-min-microvolt = <675000>; 1145 regulator-max-microvolt = <950000>; 1146 regulator-ramp-delay = <12500>; 1147 regulator-name = "vdd_cpu_lit_mem_s0"; 1148 regulator-state-mem { 1149 regulator-off-in-suspend; 1150 }; 1151 }; 1152 1153 vddq_ddr_s0: dcdc-reg9 { 1154 regulator-always-on; 1155 regulator-boot-on; 1156 regulator-name = "vddq_ddr_s0"; 1157 regulator-state-mem { 1158 regulator-off-in-suspend; 1159 }; 1160 }; 1161 1162 vdd_ddr_s0: dcdc-reg10 { 1163 regulator-always-on; 1164 regulator-boot-on; 1165 regulator-min-microvolt = <675000>; 1166 regulator-max-microvolt = <900000>; 1167 regulator-ramp-delay = <12500>; 1168 regulator-name = "vdd_ddr_s0"; 1169 regulator-state-mem { 1170 regulator-off-in-suspend; 1171 }; 1172 }; 1173 1174 vcc_1v8_cam_s0: pldo-reg1 { 1175 regulator-always-on; 1176 regulator-boot-on; 1177 regulator-min-microvolt = <1800000>; 1178 regulator-max-microvolt = <1800000>; 1179 regulator-ramp-delay = <12500>; 1180 regulator-name = "vcc_1v8_cam_s0"; 1181 regulator-state-mem { 1182 regulator-off-in-suspend; 1183 }; 1184 }; 1185 1186 avdd1v8_ddr_pll_s0: pldo-reg2 { 1187 regulator-always-on; 1188 regulator-boot-on; 1189 regulator-min-microvolt = <1800000>; 1190 regulator-max-microvolt = <1800000>; 1191 regulator-ramp-delay = <12500>; 1192 regulator-name = "avdd1v8_ddr_pll_s0"; 1193 regulator-state-mem { 1194 regulator-off-in-suspend; 1195 }; 1196 }; 1197 1198 vdd_1v8_pll_s0: pldo-reg3 { 1199 regulator-always-on; 1200 regulator-boot-on; 1201 regulator-min-microvolt = <1800000>; 1202 regulator-max-microvolt = <1800000>; 1203 regulator-ramp-delay = <12500>; 1204 regulator-name = "vdd_1v8_pll_s0"; 1205 regulator-state-mem { 1206 regulator-off-in-suspend; 1207 }; 1208 }; 1209 1210 vcc_3v3_sd_s0: pldo-reg4 { 1211 regulator-always-on; 1212 regulator-boot-on; 1213 regulator-min-microvolt = <3300000>; 1214 regulator-max-microvolt = <3300000>; 1215 regulator-ramp-delay = <12500>; 1216 regulator-name = "vcc_3v3_sd_s0"; 1217 regulator-state-mem { 1218 regulator-off-in-suspend; 1219 }; 1220 }; 1221 1222 vcc_2v8_cam_s0: pldo-reg5 { 1223 regulator-always-on; 1224 regulator-boot-on; 1225 regulator-min-microvolt = <2800000>; 1226 regulator-max-microvolt = <2800000>; 1227 regulator-ramp-delay = <12500>; 1228 regulator-name = "vcc_2v8_cam_s0"; 1229 regulator-state-mem { 1230 regulator-off-in-suspend; 1231 }; 1232 }; 1233 1234 pldo6_s3: pldo-reg6 { 1235 regulator-always-on; 1236 regulator-boot-on; 1237 regulator-min-microvolt = <1800000>; 1238 regulator-max-microvolt = <1800000>; 1239 regulator-name = "pldo6_s3"; 1240 regulator-state-mem { 1241 regulator-on-in-suspend; 1242 regulator-suspend-microvolt = <1800000>; 1243 }; 1244 }; 1245 1246 vdd_0v75_pll_s0: nldo-reg1 { 1247 regulator-always-on; 1248 regulator-boot-on; 1249 regulator-min-microvolt = <750000>; 1250 regulator-max-microvolt = <750000>; 1251 regulator-ramp-delay = <12500>; 1252 regulator-name = "vdd_0v75_pll_s0"; 1253 regulator-state-mem { 1254 regulator-off-in-suspend; 1255 }; 1256 }; 1257 1258 vdd_ddr_pll_s0: nldo-reg2 { 1259 regulator-always-on; 1260 regulator-boot-on; 1261 regulator-min-microvolt = <850000>; 1262 regulator-max-microvolt = <850000>; 1263 regulator-name = "vdd_ddr_pll_s0"; 1264 regulator-state-mem { 1265 regulator-off-in-suspend; 1266 }; 1267 }; 1268 1269 avdd_0v85_s0: nldo-reg3 { 1270 regulator-always-on; 1271 regulator-boot-on; 1272 regulator-min-microvolt = <850000>; 1273 regulator-max-microvolt = <850000>; 1274 regulator-ramp-delay = <12500>; 1275 regulator-name = "avdd_0v85_s0"; 1276 regulator-state-mem { 1277 regulator-off-in-suspend; 1278 }; 1279 }; 1280 1281 avdd_1v2_cam_s0: nldo-reg4 { 1282 regulator-always-on; 1283 regulator-boot-on; 1284 regulator-min-microvolt = <1200000>; 1285 regulator-max-microvolt = <1200000>; 1286 regulator-ramp-delay = <12500>; 1287 regulator-name = "avdd_1v2_cam_s0"; 1288 regulator-state-mem { 1289 regulator-off-in-suspend; 1290 }; 1291 }; 1292 1293 avdd_1v2_s0: nldo-reg5 { 1294 regulator-always-on; 1295 regulator-boot-on; 1296 regulator-min-microvolt = <1200000>; 1297 regulator-max-microvolt = <1200000>; 1298 regulator-ramp-delay = <12500>; 1299 regulator-name = "avdd_1v2_s0"; 1300 regulator-state-mem { 1301 regulator-off-in-suspend; 1302 }; 1303 }; 1304 }; 1305 }; 1306}; 1307 1308&sata0 { 1309 status = "okay"; 1310}; 1311 1312&tsadc { 1313 status = "okay"; 1314}; 1315 1316&u2phy0 { 1317 status = "okay"; 1318}; 1319 1320&u2phy0_otg { 1321 status = "okay"; 1322}; 1323 1324&u2phy1 { 1325 status = "okay"; 1326}; 1327 1328&u2phy1_otg { 1329 status = "okay"; 1330}; 1331 1332&u2phy2 { 1333 status = "okay"; 1334}; 1335 1336&u2phy2_host { 1337 phy-supply = <&vcc5v0_host>; 1338 status = "okay"; 1339}; 1340 1341&u2phy3 { 1342 status = "okay"; 1343}; 1344 1345&u2phy3_host { 1346 phy-supply = <&vcc5v0_host>; 1347 status = "okay"; 1348}; 1349 1350&uart2 { 1351 pinctrl-0 = <&uart2m0_xfer>; 1352 status = "okay"; 1353}; 1354 1355&usb_host0_ehci { 1356 status = "okay"; 1357}; 1358 1359&usb_host0_ohci { 1360 status = "okay"; 1361}; 1362 1363&usb_host1_ehci { 1364 status = "okay"; 1365}; 1366 1367&usb_host1_ohci { 1368 status = "okay"; 1369}; 1370 1371&usbdp_phy0 { 1372 mode-switch; 1373 orientation-switch; 1374 sbu1-dc-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>; 1375 sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; 1376 status = "okay"; 1377 1378 port { 1379 #address-cells = <1>; 1380 #size-cells = <0>; 1381 1382 usbdp_phy0_orientation_switch: endpoint@0 { 1383 reg = <0>; 1384 remote-endpoint = <&usbc0_orien_sw>; 1385 }; 1386 1387 usbdp_phy0_dp_altmode_mux: endpoint@1 { 1388 reg = <1>; 1389 remote-endpoint = <&dp_altmode_mux>; 1390 }; 1391 }; 1392}; 1393 1394&usbdp_phy1 { 1395 /* 1396 * USBDP PHY1 is wired to a female USB3 Type-A connector. Additionally 1397 * the differential pairs 2+3 and the aux channel are wired to a RTD2166, 1398 * which converts the DP signal into VGA. This is exposed on the 1399 * board via a female VGA connector. 1400 */ 1401 rockchip,dp-lane-mux = <2 3>; 1402 status = "okay"; 1403}; 1404 1405&usb_host0_xhci { 1406 dr_mode = "otg"; 1407 usb-role-switch; 1408 status = "okay"; 1409 1410 port { 1411 #address-cells = <1>; 1412 #size-cells = <0>; 1413 1414 dwc3_0_role_switch: endpoint@0 { 1415 reg = <0>; 1416 remote-endpoint = <&usbc0_role_sw>; 1417 }; 1418 }; 1419}; 1420 1421&usb_host1_xhci { 1422 dr_mode = "host"; 1423 status = "okay"; 1424}; 1425 1426&vop { 1427 status = "okay"; 1428}; 1429 1430&vop_mmu { 1431 status = "okay"; 1432}; 1433 1434&vp0 { 1435 vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 1436 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 1437 remote-endpoint = <&hdmi0_in_vp0>; 1438 }; 1439}; 1440 1441&vp1 { 1442 vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { 1443 reg = <ROCKCHIP_VOP2_EP_HDMI1>; 1444 remote-endpoint = <&hdmi1_in_vp1>; 1445 }; 1446}; 1447