1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd 4 */ 5 6/dts-v1/; 7#include <dt-bindings/input/linux-event-codes.h> 8#include <dt-bindings/pwm/pwm.h> 9#include "rk3399.dtsi" 10#include "rk3399-opp.dtsi" 11 12/ { 13 model = "Firefly ROC-RK3399-PC Board"; 14 compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; 15 16 chosen { 17 stdout-path = "serial2:1500000n8"; 18 }; 19 20 backlight: backlight { 21 compatible = "pwm-backlight"; 22 pwms = <&pwm0 0 25000 0>; 23 }; 24 25 clkin_gmac: external-gmac-clock { 26 compatible = "fixed-clock"; 27 clock-frequency = <125000000>; 28 clock-output-names = "clkin_gmac"; 29 #clock-cells = <0>; 30 }; 31 32 adc-keys { 33 compatible = "adc-keys"; 34 io-channels = <&saradc 1>; 35 io-channel-names = "buttons"; 36 keyup-threshold-microvolt = <1500000>; 37 poll-interval = <100>; 38 39 recovery { 40 label = "Recovery"; 41 linux,code = <KEY_VENDOR>; 42 press-threshold-microvolt = <18000>; 43 }; 44 }; 45 46 gpio-keys { 47 compatible = "gpio-keys"; 48 autorepeat; 49 pinctrl-names = "default"; 50 pinctrl-0 = <&pwr_key_l>; 51 52 power { 53 debounce-interval = <100>; 54 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 55 label = "GPIO Key Power"; 56 linux,code = <KEY_POWER>; 57 wakeup-source; 58 }; 59 }; 60 61 leds { 62 compatible = "gpio-leds"; 63 pinctrl-names = "default"; 64 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>, <&yellow_led_pin>; 65 66 work_led: led-0 { 67 label = "green:work"; 68 gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 69 default-state = "on"; 70 linux,default-trigger = "heartbeat"; 71 }; 72 73 diy_led: led-1 { 74 label = "red:diy"; 75 gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; 76 default-state = "off"; 77 linux,default-trigger = "mmc2"; 78 }; 79 80 yellow_led: led-2 { 81 label = "yellow:yellow-led"; 82 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; 83 default-state = "off"; 84 linux,default-trigger = "mmc1"; 85 }; 86 }; 87 88 sdio_pwrseq: sdio-pwrseq { 89 compatible = "mmc-pwrseq-simple"; 90 clocks = <&rk808 1>; 91 clock-names = "ext_clock"; 92 pinctrl-names = "default"; 93 pinctrl-0 = <&wifi_enable_h>; 94 95 /* 96 * On the module itself this is one of these (depending 97 * on the actual card populated): 98 * - SDIO_RESET_L_WL_REG_ON 99 * - PDN (power down when low) 100 */ 101 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 102 }; 103 104 vcc_vbus_typec0: vcc-vbus-typec0 { 105 compatible = "regulator-fixed"; 106 regulator-name = "vcc_vbus_typec0"; 107 regulator-always-on; 108 regulator-boot-on; 109 regulator-min-microvolt = <5000000>; 110 regulator-max-microvolt = <5000000>; 111 }; 112 113 sys_12v: sys-12v { 114 compatible = "regulator-fixed"; 115 regulator-name = "sys_12v"; 116 regulator-always-on; 117 regulator-boot-on; 118 vin-supply = <&dc_12v>; 119 }; 120 121 /* switched by pmic_sleep */ 122 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 123 compatible = "regulator-fixed"; 124 regulator-name = "vcc1v8_s3"; 125 regulator-always-on; 126 regulator-boot-on; 127 regulator-min-microvolt = <1800000>; 128 regulator-max-microvolt = <1800000>; 129 vin-supply = <&vcc_1v8>; 130 }; 131 132 vcc3v0_sd: vcc3v0-sd { 133 compatible = "regulator-fixed"; 134 enable-active-high; 135 gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>; 136 pinctrl-names = "default"; 137 pinctrl-0 = <&vcc3v0_sd_en>; 138 regulator-name = "vcc3v0_sd"; 139 regulator-boot-on; 140 regulator-min-microvolt = <3000000>; 141 regulator-max-microvolt = <3000000>; 142 vin-supply = <&vcc3v3_sys>; 143 }; 144 145 vcc3v3_sys: vcc3v3-sys { 146 compatible = "regulator-fixed"; 147 regulator-name = "vcc3v3_sys"; 148 regulator-always-on; 149 regulator-boot-on; 150 regulator-min-microvolt = <3300000>; 151 regulator-max-microvolt = <3300000>; 152 vin-supply = <&sys_12v>; 153 }; 154 155 vcca_0v9: vcca-0v9 { 156 compatible = "regulator-fixed"; 157 regulator-name = "vcca_0v9"; 158 regulator-always-on; 159 regulator-boot-on; 160 regulator-min-microvolt = <900000>; 161 regulator-max-microvolt = <900000>; 162 vin-supply = <&vcc3v3_sys>; 163 }; 164 165 /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ 166 vcc5v0_host: vcc5v0-host-regulator { 167 compatible = "regulator-fixed"; 168 enable-active-high; 169 gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; 170 pinctrl-names = "default"; 171 pinctrl-0 = <&vcc5v0_host_en &hub_rst>; 172 regulator-name = "vcc5v0_host"; 173 vin-supply = <&vcc_sys>; 174 }; 175 176 vcc_vbus_typec1: vcc-vbus-typec1 { 177 compatible = "regulator-fixed"; 178 enable-active-high; 179 gpio = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; 180 pinctrl-names = "default"; 181 pinctrl-0 = <&vcc_vbus_typec1_en>; 182 regulator-name = "vcc_vbus_typec1"; 183 regulator-always-on; 184 vin-supply = <&vcc_sys>; 185 }; 186 187 vcc_sys: vcc-sys { 188 compatible = "regulator-fixed"; 189 enable-active-high; 190 gpio = <&gpio2 RK_PA6 GPIO_ACTIVE_HIGH>; 191 pinctrl-names = "default"; 192 pinctrl-0 = <&vcc_sys_en>; 193 regulator-name = "vcc_sys"; 194 regulator-boot-on; 195 regulator-min-microvolt = <5000000>; 196 regulator-max-microvolt = <5000000>; 197 vin-supply = <&sys_12v>; 198 }; 199 200 vdd_log: vdd-log { 201 compatible = "pwm-regulator"; 202 pwms = <&pwm2 0 25000 1>; 203 regulator-name = "vdd_log"; 204 regulator-always-on; 205 regulator-boot-on; 206 regulator-min-microvolt = <450000>; 207 regulator-max-microvolt = <1400000>; 208 pwm-supply = <&vcc3v3_sys>; 209 }; 210}; 211 212&cpu_l0 { 213 cpu-supply = <&vdd_cpu_l>; 214}; 215 216&cpu_l1 { 217 cpu-supply = <&vdd_cpu_l>; 218}; 219 220&cpu_l2 { 221 cpu-supply = <&vdd_cpu_l>; 222}; 223 224&cpu_l3 { 225 cpu-supply = <&vdd_cpu_l>; 226}; 227 228&cpu_b0 { 229 cpu-supply = <&vdd_cpu_b>; 230}; 231 232&cpu_b1 { 233 cpu-supply = <&vdd_cpu_b>; 234}; 235 236&emmc_phy { 237 status = "okay"; 238}; 239 240&gmac { 241 assigned-clocks = <&cru SCLK_RMII_SRC>; 242 assigned-clock-parents = <&clkin_gmac>; 243 clock_in_out = "input"; 244 phy-supply = <&vcc_lan>; 245 phy-mode = "rgmii"; 246 pinctrl-names = "default"; 247 pinctrl-0 = <&rgmii_pins>; 248 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 249 snps,reset-active-low; 250 snps,reset-delays-us = <0 10000 50000>; 251 tx_delay = <0x28>; 252 rx_delay = <0x11>; 253 status = "okay"; 254}; 255 256&gpu { 257 mali-supply = <&vdd_gpu>; 258 status = "okay"; 259}; 260 261&hdmi { 262 ddc-i2c-bus = <&i2c3>; 263 pinctrl-names = "default"; 264 pinctrl-0 = <&hdmi_cec>; 265 status = "okay"; 266}; 267 268&hdmi_sound { 269 status = "okay"; 270}; 271 272&i2c0 { 273 clock-frequency = <400000>; 274 i2c-scl-rising-time-ns = <168>; 275 i2c-scl-falling-time-ns = <4>; 276 status = "okay"; 277 278 rk808: pmic@1b { 279 compatible = "rockchip,rk808"; 280 reg = <0x1b>; 281 interrupt-parent = <&gpio1>; 282 interrupts = <21 IRQ_TYPE_LEVEL_LOW>; 283 #clock-cells = <1>; 284 clock-output-names = "xin32k", "rk808-clkout2"; 285 pinctrl-names = "default"; 286 pinctrl-0 = <&pmic_int_l>; 287 rockchip,system-power-controller; 288 wakeup-source; 289 290 vcc1-supply = <&vcc3v3_sys>; 291 vcc2-supply = <&vcc3v3_sys>; 292 vcc3-supply = <&vcc3v3_sys>; 293 vcc4-supply = <&vcc3v3_sys>; 294 vcc6-supply = <&vcc3v3_sys>; 295 vcc7-supply = <&vcc3v3_sys>; 296 vcc8-supply = <&vcc3v3_sys>; 297 vcc9-supply = <&vcc3v3_sys>; 298 vcc10-supply = <&vcc3v3_sys>; 299 vcc11-supply = <&vcc3v3_sys>; 300 vcc12-supply = <&vcc3v3_sys>; 301 vcc13-supply = <&vcc3v3_sys>; 302 vcc14-supply = <&vcc3v3_sys>; 303 vddio-supply = <&vcc_3v0>; 304 305 regulators { 306 vdd_center: DCDC_REG1 { 307 regulator-name = "vdd_center"; 308 regulator-always-on; 309 regulator-boot-on; 310 regulator-min-microvolt = <750000>; 311 regulator-max-microvolt = <1350000>; 312 regulator-ramp-delay = <6001>; 313 regulator-state-mem { 314 regulator-off-in-suspend; 315 }; 316 }; 317 318 vdd_cpu_l: DCDC_REG2 { 319 regulator-name = "vdd_cpu_l"; 320 regulator-always-on; 321 regulator-boot-on; 322 regulator-min-microvolt = <750000>; 323 regulator-max-microvolt = <1350000>; 324 regulator-ramp-delay = <6001>; 325 regulator-state-mem { 326 regulator-off-in-suspend; 327 }; 328 }; 329 330 vcc_ddr: DCDC_REG3 { 331 regulator-name = "vcc_ddr"; 332 regulator-always-on; 333 regulator-boot-on; 334 regulator-state-mem { 335 regulator-on-in-suspend; 336 }; 337 }; 338 339 vcc_1v8: DCDC_REG4 { 340 regulator-name = "vcc_1v8"; 341 regulator-always-on; 342 regulator-boot-on; 343 regulator-min-microvolt = <1800000>; 344 regulator-max-microvolt = <1800000>; 345 regulator-state-mem { 346 regulator-on-in-suspend; 347 regulator-suspend-microvolt = <1800000>; 348 }; 349 }; 350 351 vcca1v8_codec: LDO_REG1 { 352 regulator-name = "vcca1v8_codec"; 353 regulator-always-on; 354 regulator-boot-on; 355 regulator-min-microvolt = <1800000>; 356 regulator-max-microvolt = <1800000>; 357 regulator-state-mem { 358 regulator-off-in-suspend; 359 }; 360 }; 361 362 vcc1v8_hdmi: LDO_REG2 { 363 regulator-name = "vcc1v8_hdmi"; 364 regulator-always-on; 365 regulator-boot-on; 366 regulator-min-microvolt = <1800000>; 367 regulator-max-microvolt = <1800000>; 368 regulator-state-mem { 369 regulator-off-in-suspend; 370 }; 371 }; 372 373 vcc1v8_pmu: LDO_REG3 { 374 regulator-name = "vcc1v8_pmu"; 375 regulator-always-on; 376 regulator-boot-on; 377 regulator-min-microvolt = <1800000>; 378 regulator-max-microvolt = <1800000>; 379 regulator-state-mem { 380 regulator-on-in-suspend; 381 regulator-suspend-microvolt = <1800000>; 382 }; 383 }; 384 385 vcc_sdio: LDO_REG4 { 386 regulator-name = "vcc_sdio"; 387 regulator-always-on; 388 regulator-boot-on; 389 regulator-min-microvolt = <1800000>; 390 regulator-max-microvolt = <3000000>; 391 regulator-state-mem { 392 regulator-on-in-suspend; 393 regulator-suspend-microvolt = <3000000>; 394 }; 395 }; 396 397 vcca3v0_codec: LDO_REG5 { 398 regulator-name = "vcca3v0_codec"; 399 regulator-always-on; 400 regulator-boot-on; 401 regulator-min-microvolt = <3000000>; 402 regulator-max-microvolt = <3000000>; 403 regulator-state-mem { 404 regulator-off-in-suspend; 405 }; 406 }; 407 408 vcc_1v5: LDO_REG6 { 409 regulator-name = "vcc_1v5"; 410 regulator-always-on; 411 regulator-boot-on; 412 regulator-min-microvolt = <1500000>; 413 regulator-max-microvolt = <1500000>; 414 regulator-state-mem { 415 regulator-on-in-suspend; 416 regulator-suspend-microvolt = <1500000>; 417 }; 418 }; 419 420 vcca0v9_hdmi: LDO_REG7 { 421 regulator-name = "vcca0v9_hdmi"; 422 regulator-always-on; 423 regulator-boot-on; 424 regulator-min-microvolt = <900000>; 425 regulator-max-microvolt = <900000>; 426 regulator-state-mem { 427 regulator-off-in-suspend; 428 }; 429 }; 430 431 vcc_3v0: LDO_REG8 { 432 regulator-name = "vcc_3v0"; 433 regulator-always-on; 434 regulator-boot-on; 435 regulator-min-microvolt = <3000000>; 436 regulator-max-microvolt = <3000000>; 437 regulator-state-mem { 438 regulator-on-in-suspend; 439 regulator-suspend-microvolt = <3000000>; 440 }; 441 }; 442 443 vcc3v3_s3: vcc_lan: SWITCH_REG1 { 444 regulator-name = "vcc3v3_s3"; 445 regulator-always-on; 446 regulator-boot-on; 447 regulator-state-mem { 448 regulator-off-in-suspend; 449 }; 450 }; 451 452 vcc3v3_s0: SWITCH_REG2 { 453 regulator-name = "vcc3v3_s0"; 454 regulator-always-on; 455 regulator-boot-on; 456 regulator-state-mem { 457 regulator-off-in-suspend; 458 }; 459 }; 460 }; 461 }; 462 463 vdd_cpu_b: regulator@40 { 464 compatible = "silergy,syr827"; 465 reg = <0x40>; 466 fcs,suspend-voltage-selector = <1>; 467 pinctrl-names = "default"; 468 pinctrl-0 = <&vsel1_pin>; 469 regulator-name = "vdd_cpu_b"; 470 regulator-min-microvolt = <712500>; 471 regulator-max-microvolt = <1500000>; 472 regulator-ramp-delay = <1000>; 473 regulator-always-on; 474 regulator-boot-on; 475 vin-supply = <&vcc3v3_sys>; 476 477 regulator-state-mem { 478 regulator-off-in-suspend; 479 }; 480 }; 481 482 vdd_gpu: regulator@41 { 483 compatible = "silergy,syr828"; 484 reg = <0x41>; 485 fcs,suspend-voltage-selector = <1>; 486 pinctrl-names = "default"; 487 pinctrl-0 = <&vsel2_pin>; 488 regulator-name = "vdd_gpu"; 489 regulator-min-microvolt = <712500>; 490 regulator-max-microvolt = <1500000>; 491 regulator-ramp-delay = <1000>; 492 regulator-always-on; 493 regulator-boot-on; 494 vin-supply = <&vcc3v3_sys>; 495 496 regulator-state-mem { 497 regulator-off-in-suspend; 498 }; 499 }; 500}; 501 502&i2c1 { 503 i2c-scl-rising-time-ns = <300>; 504 i2c-scl-falling-time-ns = <15>; 505 status = "okay"; 506}; 507 508&i2c3 { 509 i2c-scl-rising-time-ns = <450>; 510 i2c-scl-falling-time-ns = <15>; 511 status = "okay"; 512}; 513 514&i2c4 { 515 i2c-scl-rising-time-ns = <600>; 516 i2c-scl-falling-time-ns = <20>; 517 status = "okay"; 518 519 fusb1: usb-typec@22 { 520 compatible = "fcs,fusb302"; 521 reg = <0x22>; 522 interrupt-parent = <&gpio1>; 523 interrupts = <1 IRQ_TYPE_LEVEL_LOW>; 524 pinctrl-names = "default"; 525 pinctrl-0 = <&fusb1_int>; 526 vbus-supply = <&vcc_vbus_typec1>; 527 status = "okay"; 528 }; 529}; 530 531&i2c7 { 532 i2c-scl-rising-time-ns = <600>; 533 i2c-scl-falling-time-ns = <20>; 534 status = "okay"; 535 536 fusb0: usb-typec@22 { 537 compatible = "fcs,fusb302"; 538 reg = <0x22>; 539 interrupt-parent = <&gpio1>; 540 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 541 pinctrl-names = "default"; 542 pinctrl-0 = <&fusb0_int>; 543 vbus-supply = <&vcc_vbus_typec0>; 544 status = "okay"; 545 }; 546 547 mp8859: regulator@66 { 548 compatible = "mps,mp8859"; 549 reg = <0x66>; 550 dc_12v: mp8859_dcdc { 551 regulator-name = "dc_12v"; 552 regulator-min-microvolt = <12000000>; 553 regulator-max-microvolt = <12000000>; 554 regulator-always-on; 555 regulator-boot-on; 556 vin-supply = <&vcc_vbus_typec0>; 557 558 regulator-state-mem { 559 regulator-on-in-suspend; 560 regulator-suspend-microvolt = <12000000>; 561 }; 562 }; 563 }; 564}; 565 566&i2s0 { 567 rockchip,playback-channels = <8>; 568 rockchip,capture-channels = <8>; 569 status = "okay"; 570}; 571 572&i2s1 { 573 rockchip,playback-channels = <2>; 574 rockchip,capture-channels = <2>; 575 status = "okay"; 576}; 577 578&i2s2 { 579 status = "okay"; 580}; 581 582&io_domains { 583 audio-supply = <&vcca1v8_codec>; 584 bt656-supply = <&vcc_3v0>; 585 gpio1830-supply = <&vcc_3v0>; 586 sdmmc-supply = <&vcc_sdio>; 587 status = "okay"; 588}; 589 590&pmu_io_domains { 591 pmu1830-supply = <&vcc_3v0>; 592 status = "okay"; 593}; 594 595&pinctrl { 596 buttons { 597 pwr_key_l: pwr-key-l { 598 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 599 }; 600 }; 601 602 lcd-panel { 603 lcd_panel_reset: lcd-panel-reset { 604 rockchip,pins = <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>; 605 }; 606 }; 607 608 leds { 609 diy_led_pin: diy-led-pin { 610 rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 611 }; 612 613 work_led_pin: work-led-pin { 614 rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 615 }; 616 617 yellow_led_pin: yellow-led-pin { 618 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 619 }; 620 }; 621 622 pmic { 623 vsel1_pin: vsel1-pin { 624 rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>; 625 }; 626 627 vsel2_pin: vsel2-pin { 628 rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; 629 }; 630 }; 631 632 sdio-pwrseq { 633 wifi_enable_h: wifi-enable-h { 634 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 635 }; 636 }; 637 638 sdmmc { 639 vcc3v0_sd_en: vcc3v0-sd-en { 640 rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 641 }; 642 }; 643 644 pmic { 645 pmic_int_l: pmic-int-l { 646 rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; 647 }; 648 }; 649 650 usb2 { 651 vcc5v0_host_en: vcc5v0-host-en { 652 rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 653 }; 654 655 vcc_sys_en: vcc-sys-en { 656 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 657 }; 658 659 hub_rst: hub-rst { 660 rockchip,pins = <2 RK_PA4 RK_FUNC_GPIO &pcfg_output_high>; 661 }; 662 }; 663 664 usb-typec { 665 vcc_vbus_typec1_en: vcc-vbus-typec1-en { 666 rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 667 }; 668 }; 669 670 fusb30x { 671 fusb0_int: fusb0-int { 672 rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; 673 }; 674 675 fusb1_int: fusb1-int { 676 rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>; 677 }; 678 }; 679}; 680 681&pwm0 { 682 status = "okay"; 683}; 684 685&pwm2 { 686 status = "okay"; 687}; 688 689&saradc { 690 vref-supply = <&vcca1v8_s3>; 691 status = "okay"; 692}; 693 694&sdmmc { 695 bus-width = <4>; 696 cap-sd-highspeed; 697 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; 698 disable-wp; 699 max-frequency = <150000000>; 700 pinctrl-names = "default"; 701 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; 702 sd-uhs-sdr104; 703 vmmc-supply = <&vcc3v0_sd>; 704 vqmmc-supply = <&vcc_sdio>; 705 status = "okay"; 706}; 707 708&sdhci { 709 bus-width = <8>; 710 non-removable; 711 status = "okay"; 712}; 713 714&spi1 { 715 status = "okay"; 716 717 flash@0 { 718 compatible = "jedec,spi-nor"; 719 reg = <0>; 720 spi-max-frequency = <10000000>; 721 }; 722}; 723 724&tcphy0 { 725 status = "okay"; 726}; 727 728&tcphy1 { 729 status = "okay"; 730}; 731 732&tsadc { 733 /* tshut mode 0:CRU 1:GPIO */ 734 rockchip,hw-tshut-mode = <1>; 735 /* tshut polarity 0:LOW 1:HIGH */ 736 rockchip,hw-tshut-polarity = <1>; 737 status = "okay"; 738}; 739 740&u2phy0 { 741 status = "okay"; 742 743 u2phy0_otg: otg-port { 744 phy-supply = <&vcc_vbus_typec0>; 745 status = "okay"; 746 }; 747 748 u2phy0_host: host-port { 749 phy-supply = <&vcc5v0_host>; 750 status = "okay"; 751 }; 752}; 753 754&u2phy1 { 755 status = "okay"; 756 757 u2phy1_otg: otg-port { 758 phy-supply = <&vcc_vbus_typec1>; 759 status = "okay"; 760 }; 761 762 u2phy1_host: host-port { 763 phy-supply = <&vcc5v0_host>; 764 status = "okay"; 765 }; 766}; 767 768&uart0 { 769 pinctrl-names = "default"; 770 pinctrl-0 = <&uart0_xfer &uart0_cts>; 771 status = "okay"; 772}; 773 774&uart2 { 775 status = "okay"; 776}; 777 778&usb_host0_ehci { 779 status = "okay"; 780}; 781 782&usb_host0_ohci { 783 status = "okay"; 784}; 785 786&usb_host1_ehci { 787 status = "okay"; 788}; 789 790&usb_host1_ohci { 791 status = "okay"; 792}; 793 794&usbdrd3_0 { 795 status = "okay"; 796}; 797 798&usbdrd_dwc3_0 { 799 status = "okay"; 800}; 801 802&usbdrd3_1 { 803 status = "okay"; 804}; 805 806&usbdrd_dwc3_1 { 807 status = "okay"; 808 dr_mode = "host"; 809}; 810 811&vopb { 812 status = "okay"; 813}; 814 815&vopb_mmu { 816 status = "okay"; 817}; 818 819&vopl { 820 status = "okay"; 821}; 822 823&vopl_mmu { 824 status = "okay"; 825}; 826