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 = "mmc1"; 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 = "mmc0"; 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-boot-on; 388 regulator-min-microvolt = <1800000>; 389 regulator-max-microvolt = <3000000>; 390 regulator-state-mem { 391 regulator-on-in-suspend; 392 regulator-suspend-microvolt = <3000000>; 393 }; 394 }; 395 396 vcca3v0_codec: LDO_REG5 { 397 regulator-name = "vcca3v0_codec"; 398 regulator-always-on; 399 regulator-boot-on; 400 regulator-min-microvolt = <3000000>; 401 regulator-max-microvolt = <3000000>; 402 regulator-state-mem { 403 regulator-off-in-suspend; 404 }; 405 }; 406 407 vcc_1v5: LDO_REG6 { 408 regulator-name = "vcc_1v5"; 409 regulator-always-on; 410 regulator-boot-on; 411 regulator-min-microvolt = <1500000>; 412 regulator-max-microvolt = <1500000>; 413 regulator-state-mem { 414 regulator-on-in-suspend; 415 regulator-suspend-microvolt = <1500000>; 416 }; 417 }; 418 419 vcca0v9_hdmi: LDO_REG7 { 420 regulator-name = "vcca0v9_hdmi"; 421 regulator-always-on; 422 regulator-boot-on; 423 regulator-min-microvolt = <900000>; 424 regulator-max-microvolt = <900000>; 425 regulator-state-mem { 426 regulator-off-in-suspend; 427 }; 428 }; 429 430 vcc_3v0: LDO_REG8 { 431 regulator-name = "vcc_3v0"; 432 regulator-always-on; 433 regulator-boot-on; 434 regulator-min-microvolt = <3000000>; 435 regulator-max-microvolt = <3000000>; 436 regulator-state-mem { 437 regulator-on-in-suspend; 438 regulator-suspend-microvolt = <3000000>; 439 }; 440 }; 441 442 vcc3v3_s3: vcc_lan: SWITCH_REG1 { 443 regulator-name = "vcc3v3_s3"; 444 regulator-always-on; 445 regulator-boot-on; 446 regulator-state-mem { 447 regulator-off-in-suspend; 448 }; 449 }; 450 451 vcc3v3_s0: SWITCH_REG2 { 452 regulator-name = "vcc3v3_s0"; 453 regulator-always-on; 454 regulator-boot-on; 455 regulator-state-mem { 456 regulator-off-in-suspend; 457 }; 458 }; 459 }; 460 }; 461 462 vdd_cpu_b: regulator@40 { 463 compatible = "silergy,syr827"; 464 reg = <0x40>; 465 fcs,suspend-voltage-selector = <1>; 466 pinctrl-names = "default"; 467 pinctrl-0 = <&vsel1_pin>; 468 regulator-name = "vdd_cpu_b"; 469 regulator-min-microvolt = <712500>; 470 regulator-max-microvolt = <1500000>; 471 regulator-ramp-delay = <1000>; 472 regulator-always-on; 473 regulator-boot-on; 474 vin-supply = <&vcc3v3_sys>; 475 476 regulator-state-mem { 477 regulator-off-in-suspend; 478 }; 479 }; 480 481 vdd_gpu: regulator@41 { 482 compatible = "silergy,syr828"; 483 reg = <0x41>; 484 fcs,suspend-voltage-selector = <1>; 485 pinctrl-names = "default"; 486 pinctrl-0 = <&vsel2_pin>; 487 regulator-name = "vdd_gpu"; 488 regulator-min-microvolt = <712500>; 489 regulator-max-microvolt = <1500000>; 490 regulator-ramp-delay = <1000>; 491 vin-supply = <&vcc3v3_sys>; 492 493 regulator-state-mem { 494 regulator-off-in-suspend; 495 }; 496 }; 497}; 498 499&i2c1 { 500 i2c-scl-rising-time-ns = <300>; 501 i2c-scl-falling-time-ns = <15>; 502 status = "okay"; 503}; 504 505&i2c3 { 506 i2c-scl-rising-time-ns = <450>; 507 i2c-scl-falling-time-ns = <15>; 508 status = "okay"; 509}; 510 511&i2c4 { 512 i2c-scl-rising-time-ns = <600>; 513 i2c-scl-falling-time-ns = <20>; 514 status = "okay"; 515 516 fusb1: usb-typec@22 { 517 compatible = "fcs,fusb302"; 518 reg = <0x22>; 519 interrupt-parent = <&gpio1>; 520 interrupts = <1 IRQ_TYPE_LEVEL_LOW>; 521 pinctrl-names = "default"; 522 pinctrl-0 = <&fusb1_int>; 523 vbus-supply = <&vcc_vbus_typec1>; 524 status = "okay"; 525 }; 526}; 527 528&i2c7 { 529 i2c-scl-rising-time-ns = <600>; 530 i2c-scl-falling-time-ns = <20>; 531 status = "okay"; 532 533 fusb0: usb-typec@22 { 534 compatible = "fcs,fusb302"; 535 reg = <0x22>; 536 interrupt-parent = <&gpio1>; 537 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 538 pinctrl-names = "default"; 539 pinctrl-0 = <&fusb0_int>; 540 vbus-supply = <&vcc_vbus_typec0>; 541 status = "okay"; 542 }; 543 544 mp8859: regulator@66 { 545 compatible = "mps,mp8859"; 546 reg = <0x66>; 547 dc_12v: mp8859_dcdc { 548 regulator-name = "dc_12v"; 549 regulator-min-microvolt = <12000000>; 550 regulator-max-microvolt = <12000000>; 551 regulator-always-on; 552 regulator-boot-on; 553 vin-supply = <&vcc_vbus_typec0>; 554 555 regulator-state-mem { 556 regulator-on-in-suspend; 557 regulator-suspend-microvolt = <12000000>; 558 }; 559 }; 560 }; 561}; 562 563&i2s0 { 564 rockchip,playback-channels = <8>; 565 rockchip,capture-channels = <8>; 566 status = "okay"; 567}; 568 569&i2s1 { 570 rockchip,playback-channels = <2>; 571 rockchip,capture-channels = <2>; 572 status = "okay"; 573}; 574 575&i2s2 { 576 status = "okay"; 577}; 578 579&io_domains { 580 audio-supply = <&vcca1v8_codec>; 581 bt656-supply = <&vcc_3v0>; 582 gpio1830-supply = <&vcc_3v0>; 583 sdmmc-supply = <&vcc_sdio>; 584 status = "okay"; 585}; 586 587&pmu_io_domains { 588 pmu1830-supply = <&vcc_3v0>; 589 status = "okay"; 590}; 591 592&pinctrl { 593 buttons { 594 pwr_key_l: pwr-key-l { 595 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 596 }; 597 }; 598 599 lcd-panel { 600 lcd_panel_reset: lcd-panel-reset { 601 rockchip,pins = <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>; 602 }; 603 }; 604 605 leds { 606 diy_led_pin: diy-led-pin { 607 rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 608 }; 609 610 work_led_pin: work-led-pin { 611 rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 612 }; 613 614 yellow_led_pin: yellow-led-pin { 615 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 616 }; 617 }; 618 619 pmic { 620 vsel1_pin: vsel1-pin { 621 rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>; 622 }; 623 624 vsel2_pin: vsel2-pin { 625 rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; 626 }; 627 }; 628 629 sdio-pwrseq { 630 wifi_enable_h: wifi-enable-h { 631 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 632 }; 633 }; 634 635 sdmmc { 636 vcc3v0_sd_en: vcc3v0-sd-en { 637 rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 638 }; 639 }; 640 641 pmic { 642 pmic_int_l: pmic-int-l { 643 rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; 644 }; 645 }; 646 647 usb2 { 648 vcc5v0_host_en: vcc5v0-host-en { 649 rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 650 }; 651 652 vcc_sys_en: vcc-sys-en { 653 rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 654 }; 655 656 hub_rst: hub-rst { 657 rockchip,pins = <2 RK_PA4 RK_FUNC_GPIO &pcfg_output_high>; 658 }; 659 }; 660 661 usb-typec { 662 vcc_vbus_typec1_en: vcc-vbus-typec1-en { 663 rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 664 }; 665 }; 666 667 fusb30x { 668 fusb0_int: fusb0-int { 669 rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; 670 }; 671 672 fusb1_int: fusb1-int { 673 rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>; 674 }; 675 }; 676}; 677 678&pwm0 { 679 status = "okay"; 680}; 681 682&pwm2 { 683 status = "okay"; 684}; 685 686&saradc { 687 vref-supply = <&vcca1v8_s3>; 688 status = "okay"; 689}; 690 691&sdmmc { 692 bus-width = <4>; 693 cap-sd-highspeed; 694 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; 695 disable-wp; 696 max-frequency = <150000000>; 697 pinctrl-names = "default"; 698 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; 699 sd-uhs-sdr104; 700 vmmc-supply = <&vcc3v0_sd>; 701 vqmmc-supply = <&vcc_sdio>; 702 status = "okay"; 703}; 704 705&sdhci { 706 bus-width = <8>; 707 non-removable; 708 status = "okay"; 709}; 710 711&spi1 { 712 status = "okay"; 713 714 flash@0 { 715 compatible = "jedec,spi-nor"; 716 reg = <0>; 717 spi-max-frequency = <10000000>; 718 }; 719}; 720 721&tcphy0 { 722 status = "okay"; 723}; 724 725&tcphy1 { 726 status = "okay"; 727}; 728 729&tsadc { 730 /* tshut mode 0:CRU 1:GPIO */ 731 rockchip,hw-tshut-mode = <1>; 732 /* tshut polarity 0:LOW 1:HIGH */ 733 rockchip,hw-tshut-polarity = <1>; 734 status = "okay"; 735}; 736 737&u2phy0 { 738 status = "okay"; 739 740 u2phy0_otg: otg-port { 741 phy-supply = <&vcc_vbus_typec0>; 742 status = "okay"; 743 }; 744 745 u2phy0_host: host-port { 746 phy-supply = <&vcc5v0_host>; 747 status = "okay"; 748 }; 749}; 750 751&u2phy1 { 752 status = "okay"; 753 754 u2phy1_otg: otg-port { 755 phy-supply = <&vcc_vbus_typec1>; 756 status = "okay"; 757 }; 758 759 u2phy1_host: host-port { 760 phy-supply = <&vcc5v0_host>; 761 status = "okay"; 762 }; 763}; 764 765&uart0 { 766 pinctrl-names = "default"; 767 pinctrl-0 = <&uart0_xfer &uart0_cts>; 768 status = "okay"; 769}; 770 771&uart2 { 772 status = "okay"; 773}; 774 775&usb_host0_ehci { 776 status = "okay"; 777}; 778 779&usb_host0_ohci { 780 status = "okay"; 781}; 782 783&usb_host1_ehci { 784 status = "okay"; 785}; 786 787&usb_host1_ohci { 788 status = "okay"; 789}; 790 791&usbdrd3_0 { 792 status = "okay"; 793}; 794 795&usbdrd_dwc3_0 { 796 status = "okay"; 797}; 798 799&usbdrd3_1 { 800 status = "okay"; 801}; 802 803&usbdrd_dwc3_1 { 804 status = "okay"; 805 dr_mode = "host"; 806}; 807 808&vopb { 809 status = "okay"; 810}; 811 812&vopb_mmu { 813 status = "okay"; 814}; 815 816&vopl { 817 status = "okay"; 818}; 819 820&vopl_mmu { 821 status = "okay"; 822}; 823