1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 3/dts-v1/; 4#include <dt-bindings/gpio/gpio.h> 5#include <dt-bindings/input/input.h> 6#include <dt-bindings/leds/common.h> 7#include <dt-bindings/pinctrl/rockchip.h> 8#include <dt-bindings/soc/rockchip,vop2.h> 9#include "rk3568.dtsi" 10 11/ { 12 model = "9Tripod X3568 v4"; 13 compatible = "9tripod,x3568-v4", "rockchip,rk3568"; 14 15 aliases { 16 ethernet0 = &gmac0; 17 ethernet1 = &gmac1; 18 mmc0 = &sdhci; 19 mmc1 = &sdmmc0; 20 mmc2 = &sdmmc2; 21 rtc0 = &rtc0; 22 }; 23 24 chosen { 25 stdout-path = "serial2:1500000n8"; 26 }; 27 28 adc-keys { 29 compatible = "adc-keys"; 30 io-channels = <&saradc 0>; 31 io-channel-names = "buttons"; 32 keyup-threshold-microvolt = <1800000>; 33 poll-interval = <100>; 34 35 button-vol-up { 36 label = "volume up"; 37 linux,code = <KEY_VOLUMEUP>; 38 press-threshold-microvolt = <50000>; 39 }; 40 41 button-vol-down { 42 label = "volume down"; 43 linux,code = <KEY_VOLUMEDOWN>; 44 press-threshold-microvolt = <500000>; 45 }; 46 }; 47 48 hdmi-con { 49 compatible = "hdmi-connector"; 50 type = "a"; 51 52 port { 53 hdmi_con_in: endpoint { 54 remote-endpoint = <&hdmi_out_con>; 55 }; 56 }; 57 }; 58 59 leds { 60 compatible = "gpio-leds"; 61 62 led_work: led-0 { 63 gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>; 64 function = LED_FUNCTION_HEARTBEAT; 65 color = <LED_COLOR_ID_BLUE>; 66 linux,default-trigger = "heartbeat"; 67 pinctrl-names = "default"; 68 pinctrl-0 = <&led_work_en>; 69 }; 70 }; 71 72 rk809-sound { 73 compatible = "simple-audio-card"; 74 simple-audio-card,format = "i2s"; 75 simple-audio-card,name = "Analog RK809"; 76 simple-audio-card,mclk-fs = <256>; 77 78 simple-audio-card,cpu { 79 sound-dai = <&i2s1_8ch>; 80 }; 81 simple-audio-card,codec { 82 sound-dai = <&rk809>; 83 }; 84 }; 85 86 pdm_codec: pdm-codec { 87 compatible = "dmic-codec"; 88 num-channels = <2>; 89 #sound-dai-cells = <0>; 90 }; 91 92 pdm_sound: pdm-sound { 93 compatible = "simple-audio-card"; 94 simple-audio-card,name = "microphone"; 95 96 simple-audio-card,cpu { 97 sound-dai = <&pdm>; 98 }; 99 100 simple-audio-card,codec { 101 sound-dai = <&pdm_codec>; 102 }; 103 }; 104 105 spdif_dit: spdif-dit { 106 compatible = "linux,spdif-dit"; 107 #sound-dai-cells = <0>; 108 }; 109 110 spdif_sound: spdif-sound { 111 compatible = "simple-audio-card"; 112 simple-audio-card,name = "SPDIF"; 113 114 simple-audio-card,cpu { 115 sound-dai = <&spdif>; 116 }; 117 simple-audio-card,codec { 118 sound-dai = <&spdif_dit>; 119 }; 120 }; 121 122 sdio_pwrseq: sdio-pwrseq { 123 compatible = "mmc-pwrseq-simple"; 124 clocks = <&rk809 1>; 125 clock-names = "ext_clock"; 126 pinctrl-names = "default"; 127 pinctrl-0 = <&wifi_enable>; 128 post-power-on-delay-ms = <100>; 129 power-off-delay-us = <300>; 130 reset-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_LOW>; 131 }; 132 133 dc_12v: regulator-dc-12v { 134 compatible = "regulator-fixed"; 135 regulator-name = "dc_12v"; 136 regulator-always-on; 137 regulator-boot-on; 138 regulator-min-microvolt = <12000000>; 139 regulator-max-microvolt = <12000000>; 140 }; 141 142 pcie30_avdd0v9: regulator-pcie30-avdd0v9 { 143 compatible = "regulator-fixed"; 144 regulator-name = "pcie30_avdd0v9"; 145 regulator-always-on; 146 regulator-boot-on; 147 regulator-min-microvolt = <900000>; 148 regulator-max-microvolt = <900000>; 149 vin-supply = <&vcc3v3_sys>; 150 }; 151 152 pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 153 compatible = "regulator-fixed"; 154 regulator-name = "pcie30_avdd1v8"; 155 regulator-always-on; 156 regulator-boot-on; 157 regulator-min-microvolt = <1800000>; 158 regulator-max-microvolt = <1800000>; 159 vin-supply = <&vcc3v3_sys>; 160 }; 161 162 vcc3v3_sys: regulator-vcc3v3-sys { 163 compatible = "regulator-fixed"; 164 regulator-name = "vcc3v3_sys"; 165 regulator-always-on; 166 regulator-boot-on; 167 regulator-min-microvolt = <3300000>; 168 regulator-max-microvolt = <3300000>; 169 vin-supply = <&dc_12v>; 170 }; 171 172 vcc3v3_pcie: regulator-vcc3v3-pcie { 173 compatible = "regulator-fixed"; 174 enable-active-high; 175 gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>; 176 pinctrl-names = "default"; 177 pinctrl-0 = <&vcc3v3_pcie_en_pin>; 178 regulator-name = "vcc3v3_pcie"; 179 regulator-min-microvolt = <3300000>; 180 regulator-max-microvolt = <3300000>; 181 startup-delay-us = <5000>; 182 vin-supply = <&dc_12v>; 183 }; 184 185 vcc5v0_sys: regulator-vcc5v0-sys { 186 compatible = "regulator-fixed"; 187 regulator-name = "vcc5v0_sys"; 188 regulator-always-on; 189 regulator-boot-on; 190 regulator-min-microvolt = <5000000>; 191 regulator-max-microvolt = <5000000>; 192 vin-supply = <&dc_12v>; 193 }; 194 195 vcc5v0_usb: regulator-vcc5v0-usb { 196 compatible = "regulator-fixed"; 197 regulator-name = "vcc5v0_usb"; 198 regulator-always-on; 199 regulator-boot-on; 200 regulator-min-microvolt = <5000000>; 201 regulator-max-microvolt = <5000000>; 202 vin-supply = <&dc_12v>; 203 }; 204 205 vcc5v0_usb_host: regulator-vcc5v0-usb-host { 206 compatible = "regulator-fixed"; 207 enable-active-high; 208 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 209 pinctrl-names = "default"; 210 pinctrl-0 = <&vcc5v0_usb_host_en>; 211 regulator-name = "vcc5v0_usb_host"; 212 regulator-min-microvolt = <5000000>; 213 regulator-max-microvolt = <5000000>; 214 vin-supply = <&vcc5v0_usb>; 215 }; 216 217 vcc5v0_usb_otg: regulator-vcc5v0-usb-otg { 218 compatible = "regulator-fixed"; 219 enable-active-high; 220 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 221 pinctrl-names = "default"; 222 pinctrl-0 = <&vcc5v0_usb_otg_en>; 223 regulator-name = "vcc5v0_usb_otg"; 224 regulator-min-microvolt = <5000000>; 225 regulator-max-microvolt = <5000000>; 226 vin-supply = <&vcc5v0_usb>; 227 }; 228}; 229 230&can1 { 231 assigned-clocks = <&cru CLK_CAN1>; 232 assigned-clock-rates = <150000000>; 233 pinctrl-names = "default"; 234 pinctrl-0 = <&can1m1_pins>; 235 status = "okay"; 236}; 237 238/* used for usb_host0_xhci */ 239&combphy0 { 240 status = "okay"; 241}; 242 243/* used for usb_host1_xhci */ 244&combphy1 { 245 status = "okay"; 246}; 247 248/* connected to sata2 */ 249&combphy2 { 250 status = "okay"; 251}; 252 253&cpu0 { 254 cpu-supply = <&vdd_cpu>; 255}; 256 257&cpu1 { 258 cpu-supply = <&vdd_cpu>; 259}; 260 261&cpu2 { 262 cpu-supply = <&vdd_cpu>; 263}; 264 265&cpu3 { 266 cpu-supply = <&vdd_cpu>; 267}; 268 269&gmac0 { 270 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>; 271 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>; 272 assigned-clock-rates = <0>, <125000000>; 273 clock_in_out = "output"; 274 pinctrl-names = "default"; 275 pinctrl-0 = <&gmac0_miim 276 &gmac0_tx_bus2 277 &gmac0_rx_bus2 278 &gmac0_rgmii_clk 279 &gmac0_rgmii_bus>; 280 phy-handle = <&rgmii_phy0>; 281 phy-mode = "rgmii-id"; 282 status = "okay"; 283}; 284 285&gmac1 { 286 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>; 287 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>; 288 assigned-clock-rates = <0>, <125000000>; 289 clock_in_out = "output"; 290 pinctrl-names = "default"; 291 pinctrl-0 = <&gmac1m1_miim 292 &gmac1m1_tx_bus2 293 &gmac1m1_rx_bus2 294 &gmac1m1_rgmii_clk 295 &gmac1m1_rgmii_bus>; 296 phy-handle = <&rgmii_phy1>; 297 phy-mode = "rgmii-id"; 298 status = "okay"; 299}; 300 301&gpu { 302 mali-supply = <&vdd_gpu>; 303 status = "okay"; 304}; 305 306&hdmi { 307 avdd-0v9-supply = <&vdda0v9_image>; 308 avdd-1v8-supply = <&vcca1v8_image>; 309 status = "okay"; 310}; 311 312&hdmi_in { 313 hdmi_in_vp0: endpoint { 314 remote-endpoint = <&vp0_out_hdmi>; 315 }; 316}; 317 318&hdmi_out { 319 hdmi_out_con: endpoint { 320 remote-endpoint = <&hdmi_con_in>; 321 }; 322}; 323 324&hdmi_sound { 325 status = "okay"; 326}; 327 328&i2c0 { 329 status = "okay"; 330 331 vdd_cpu: regulator@1c { 332 compatible = "tcs,tcs4525"; 333 reg = <0x1c>; 334 fcs,suspend-voltage-selector = <1>; 335 regulator-name = "vdd_cpu"; 336 regulator-always-on; 337 regulator-boot-on; 338 regulator-min-microvolt = <800000>; 339 regulator-max-microvolt = <1150000>; 340 regulator-ramp-delay = <2300>; 341 vin-supply = <&vcc5v0_sys>; 342 343 regulator-state-mem { 344 regulator-off-in-suspend; 345 }; 346 }; 347 348 rk809: pmic@20 { 349 compatible = "rockchip,rk809"; 350 reg = <0x20>; 351 interrupt-parent = <&gpio0>; 352 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>; 353 assigned-clocks = <&cru I2S1_MCLKOUT_TX>; 354 assigned-clock-parents = <&cru CLK_I2S1_8CH_TX>; 355 #clock-cells = <1>; 356 clock-names = "mclk"; 357 clocks = <&cru I2S1_MCLKOUT_TX>; 358 pinctrl-names = "default"; 359 pinctrl-0 = <&pmic_int>, <&i2s1m0_mclk>; 360 system-power-controller; 361 #sound-dai-cells = <0>; 362 vcc1-supply = <&vcc3v3_sys>; 363 vcc2-supply = <&vcc3v3_sys>; 364 vcc3-supply = <&vcc3v3_sys>; 365 vcc4-supply = <&vcc3v3_sys>; 366 vcc5-supply = <&vcc3v3_sys>; 367 vcc6-supply = <&vcc3v3_sys>; 368 vcc7-supply = <&vcc3v3_sys>; 369 vcc8-supply = <&vcc3v3_sys>; 370 vcc9-supply = <&vcc3v3_sys>; 371 wakeup-source; 372 373 regulators { 374 vdd_logic: DCDC_REG1 { 375 regulator-name = "vdd_logic"; 376 regulator-always-on; 377 regulator-boot-on; 378 regulator-initial-mode = <0x2>; 379 regulator-min-microvolt = <500000>; 380 regulator-max-microvolt = <1350000>; 381 regulator-ramp-delay = <6001>; 382 383 regulator-state-mem { 384 regulator-off-in-suspend; 385 }; 386 }; 387 388 vdd_gpu: DCDC_REG2 { 389 regulator-name = "vdd_gpu"; 390 regulator-always-on; 391 regulator-initial-mode = <0x2>; 392 regulator-min-microvolt = <500000>; 393 regulator-max-microvolt = <1350000>; 394 regulator-ramp-delay = <6001>; 395 396 regulator-state-mem { 397 regulator-off-in-suspend; 398 }; 399 }; 400 401 vcc_ddr: DCDC_REG3 { 402 regulator-name = "vcc_ddr"; 403 regulator-always-on; 404 regulator-boot-on; 405 regulator-initial-mode = <0x2>; 406 407 regulator-state-mem { 408 regulator-on-in-suspend; 409 }; 410 }; 411 412 vdd_npu: DCDC_REG4 { 413 regulator-name = "vdd_npu"; 414 regulator-initial-mode = <0x2>; 415 regulator-min-microvolt = <500000>; 416 regulator-max-microvolt = <1350000>; 417 regulator-ramp-delay = <6001>; 418 419 regulator-state-mem { 420 regulator-off-in-suspend; 421 }; 422 }; 423 424 vcc_1v8: DCDC_REG5 { 425 regulator-name = "vcc_1v8"; 426 regulator-always-on; 427 regulator-boot-on; 428 regulator-min-microvolt = <1800000>; 429 regulator-max-microvolt = <1800000>; 430 431 regulator-state-mem { 432 regulator-off-in-suspend; 433 }; 434 }; 435 436 vdda0v9_image: LDO_REG1 { 437 regulator-name = "vdda0v9_image"; 438 regulator-min-microvolt = <900000>; 439 regulator-max-microvolt = <900000>; 440 441 regulator-state-mem { 442 regulator-off-in-suspend; 443 }; 444 }; 445 446 vdda_0v9: LDO_REG2 { 447 regulator-name = "vdda_0v9"; 448 regulator-always-on; 449 regulator-boot-on; 450 regulator-min-microvolt = <900000>; 451 regulator-max-microvolt = <900000>; 452 453 regulator-state-mem { 454 regulator-off-in-suspend; 455 }; 456 }; 457 458 vdda0v9_pmu: LDO_REG3 { 459 regulator-name = "vdda0v9_pmu"; 460 regulator-always-on; 461 regulator-boot-on; 462 regulator-min-microvolt = <900000>; 463 regulator-max-microvolt = <900000>; 464 465 regulator-state-mem { 466 regulator-on-in-suspend; 467 regulator-suspend-microvolt = <900000>; 468 }; 469 }; 470 471 vccio_acodec: LDO_REG4 { 472 regulator-name = "vccio_acodec"; 473 regulator-always-on; 474 regulator-min-microvolt = <3300000>; 475 regulator-max-microvolt = <3300000>; 476 477 regulator-state-mem { 478 regulator-off-in-suspend; 479 }; 480 }; 481 482 vccio_sd: LDO_REG5 { 483 regulator-name = "vccio_sd"; 484 regulator-min-microvolt = <1800000>; 485 regulator-max-microvolt = <3300000>; 486 487 regulator-state-mem { 488 regulator-off-in-suspend; 489 }; 490 }; 491 492 vcc3v3_pmu: LDO_REG6 { 493 regulator-name = "vcc3v3_pmu"; 494 regulator-always-on; 495 regulator-boot-on; 496 regulator-min-microvolt = <3300000>; 497 regulator-max-microvolt = <3300000>; 498 499 regulator-state-mem { 500 regulator-on-in-suspend; 501 regulator-suspend-microvolt = <3300000>; 502 }; 503 }; 504 505 vcca_1v8: LDO_REG7 { 506 regulator-name = "vcca_1v8"; 507 regulator-always-on; 508 regulator-boot-on; 509 regulator-min-microvolt = <1800000>; 510 regulator-max-microvolt = <1800000>; 511 512 regulator-state-mem { 513 regulator-off-in-suspend; 514 }; 515 }; 516 517 vcca1v8_pmu: LDO_REG8 { 518 regulator-name = "vcca1v8_pmu"; 519 regulator-always-on; 520 regulator-boot-on; 521 regulator-min-microvolt = <1800000>; 522 regulator-max-microvolt = <1800000>; 523 524 regulator-state-mem { 525 regulator-on-in-suspend; 526 regulator-suspend-microvolt = <1800000>; 527 }; 528 }; 529 530 vcca1v8_image: LDO_REG9 { 531 regulator-name = "vcca1v8_image"; 532 regulator-min-microvolt = <1800000>; 533 regulator-max-microvolt = <1800000>; 534 535 regulator-state-mem { 536 regulator-off-in-suspend; 537 }; 538 }; 539 540 vcc_3v3: SWITCH_REG1 { 541 regulator-name = "vcc_3v3"; 542 regulator-always-on; 543 regulator-boot-on; 544 545 regulator-state-mem { 546 regulator-off-in-suspend; 547 }; 548 }; 549 550 vcc3v3_sd: SWITCH_REG2 { 551 regulator-name = "vcc3v3_sd"; 552 553 regulator-state-mem { 554 regulator-off-in-suspend; 555 }; 556 }; 557 }; 558 559 codec { 560 rockchip,mic-in-differential; 561 }; 562 }; 563}; 564 565&i2c5 { 566 status = "okay"; 567 568 rtc0: rtc@51 { 569 compatible = "nxp,pcf8563"; 570 reg = <0x51>; 571 #clock-cells = <0>; 572 }; 573}; 574 575&i2s0_8ch { 576 status = "okay"; 577}; 578 579&i2s1_8ch { 580 pinctrl-0 = <&i2s1m0_sclktx &i2s1m0_lrcktx &i2s1m0_sdi0 &i2s1m0_sdo0>; 581 rockchip,trcm-sync-tx-only; 582 status = "okay"; 583}; 584 585/* used for AP6275S Bluetooth Sound */ 586&i2s3_2ch { 587 status = "okay"; 588}; 589 590&mdio0 { 591 rgmii_phy0: ethernet-phy@3 { 592 compatible = "ethernet-phy-ieee802.3-c22"; 593 reg = <3>; 594 reset-assert-us = <20000>; 595 reset-deassert-us = <100000>; 596 reset-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>; 597 598 leds { 599 #address-cells = <1>; 600 #size-cells = <0>; 601 602 led@1 { 603 reg = <1>; 604 color = <LED_COLOR_ID_GREEN>; 605 function = LED_FUNCTION_LAN; 606 default-state = "keep"; 607 }; 608 609 /* Note: The LED polarity is inverted */ 610 led@2 { 611 reg = <2>; 612 color = <LED_COLOR_ID_AMBER>; 613 function = LED_FUNCTION_LAN; 614 default-state = "keep"; 615 }; 616 }; 617 }; 618}; 619 620&mdio1 { 621 rgmii_phy1: ethernet-phy@2 { 622 compatible = "ethernet-phy-ieee802.3-c22"; 623 reg = <2>; 624 reset-assert-us = <20000>; 625 reset-deassert-us = <100000>; 626 reset-gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>; 627 628 leds { 629 #address-cells = <1>; 630 #size-cells = <0>; 631 632 led@1 { 633 reg = <1>; 634 color = <LED_COLOR_ID_GREEN>; 635 function = LED_FUNCTION_LAN; 636 default-state = "keep"; 637 }; 638 639 /* Note: The LED polarity is inverted */ 640 led@2 { 641 reg = <2>; 642 color = <LED_COLOR_ID_AMBER>; 643 function = LED_FUNCTION_LAN; 644 default-state = "keep"; 645 }; 646 }; 647 }; 648}; 649 650&pcie30phy { 651 status = "okay"; 652}; 653 654&pcie3x2 { 655 pinctrl-names = "default"; 656 pinctrl-0 = <&pcie_reset_pin>; 657 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>; 658 vpcie3v3-supply = <&vcc3v3_pcie>; 659 status = "okay"; 660}; 661 662&pdm { 663 status = "okay"; 664}; 665 666&pinctrl { 667 leds { 668 led_work_en: led_work_en { 669 rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; 670 }; 671 }; 672 673 pmic { 674 pmic_int: pmic_int { 675 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 676 }; 677 }; 678 679 sdio-pwrseq { 680 wifi_enable: wifi-enable { 681 rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 682 }; 683 }; 684 685 usb { 686 vcc5v0_usb_host_en: vcc5v0_usb_host_en { 687 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 688 }; 689 vcc5v0_usb_otg_en: vcc5v0_usb_otg_en { 690 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 691 }; 692 }; 693 694 pcie { 695 pcie_reset_pin: pcie-reset-pin { 696 rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 697 }; 698 vcc3v3_pcie_en_pin: vcc3v3-pcie-en-pin { 699 rockchip,pins = <3 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 700 }; 701 }; 702}; 703 704&pmu_io_domains { 705 pmuio1-supply = <&vcc3v3_pmu>; 706 pmuio2-supply = <&vcc3v3_pmu>; 707 vccio1-supply = <&vccio_acodec>; 708 vccio2-supply = <&vcc_1v8>; 709 vccio3-supply = <&vccio_sd>; 710 vccio4-supply = <&vcc_1v8>; 711 vccio5-supply = <&vcc_3v3>; 712 vccio6-supply = <&vcc_1v8>; 713 vccio7-supply = <&vcc_3v3>; 714 status = "okay"; 715}; 716 717&pwm4 { 718 status = "okay"; 719}; 720 721/* Required remotectl for IR receiver */ 722&pwm7 { 723 status = "disabled"; 724}; 725 726&saradc { 727 vref-supply = <&vcca_1v8>; 728 status = "okay"; 729}; 730 731&sata2 { 732 status = "okay"; 733}; 734 735/* used for eMMC */ 736&sdhci { 737 bus-width = <8>; 738 max-frequency = <200000000>; 739 mmc-hs200-1_8v; 740 non-removable; 741 pinctrl-names = "default"; 742 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>; 743 status = "okay"; 744}; 745 746/* used for microSD (TF) Slot */ 747&sdmmc0 { 748 bus-width = <4>; 749 cap-sd-highspeed; 750 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 751 disable-wp; 752 pinctrl-names = "default"; 753 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; 754 sd-uhs-sdr104; 755 vmmc-supply = <&vcc3v3_sd>; 756 vqmmc-supply = <&vccio_sd>; 757 status = "okay"; 758}; 759 760/* used for AP6275S WiFi */ 761&sdmmc2 { 762 bus-width = <4>; 763 cap-sd-highspeed; 764 cap-sdio-irq; 765 keep-power-in-suspend; 766 mmc-pwrseq = <&sdio_pwrseq>; 767 non-removable; 768 pinctrl-names = "default"; 769 pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>; 770 sd-uhs-sdr104; 771 vmmc-supply = <&vcc3v3_sys>; 772 vqmmc-supply = <&vcc_1v8>; 773 status = "okay"; 774}; 775 776&spdif { 777 status = "okay"; 778}; 779 780&tsadc { 781 rockchip,hw-tshut-mode = <1>; 782 rockchip,hw-tshut-polarity = <0>; 783 status = "okay"; 784}; 785 786/* used for Debug */ 787&uart2 { 788 status = "okay"; 789}; 790 791&uart3 { 792 pinctrl-0 = <&uart3m1_xfer>; 793 status = "okay"; 794}; 795 796&uart4 { 797 pinctrl-0 = <&uart4m1_xfer>; 798 status = "okay"; 799}; 800 801/* used for WiFi/BT AP6275S */ 802&uart8 { 803 pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>; 804 status = "okay"; 805}; 806 807&uart9 { 808 pinctrl-0 = <&uart9m1_xfer>; 809 status = "okay"; 810}; 811 812&usb_host0_ehci { 813 status = "okay"; 814}; 815 816&usb_host0_ohci { 817 status = "okay"; 818}; 819 820&usb_host0_xhci { 821 extcon = <&usb2phy0>; 822 status = "okay"; 823}; 824 825&usb_host1_ehci { 826 status = "okay"; 827}; 828 829&usb_host1_ohci { 830 status = "okay"; 831}; 832 833&usb_host1_xhci { 834 status = "okay"; 835}; 836 837&usb2phy0 { 838 status = "okay"; 839}; 840 841&usb2phy0_host { 842 phy-supply = <&vcc5v0_usb_host>; 843 status = "okay"; 844}; 845 846&usb2phy0_otg { 847 phy-supply = <&vcc5v0_usb_otg>; 848 status = "okay"; 849}; 850 851&usb2phy1 { 852 status = "okay"; 853}; 854 855&usb2phy1_host { 856 phy-supply = <&vcc5v0_usb_host>; 857 status = "okay"; 858}; 859 860&usb2phy1_otg { 861 phy-supply = <&vcc5v0_usb_host>; 862 status = "okay"; 863}; 864 865&vop { 866 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>; 867 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>; 868 status = "okay"; 869}; 870 871&vop_mmu { 872 status = "okay"; 873}; 874 875&vp0 { 876 vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 877 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 878 remote-endpoint = <&hdmi_in_vp0>; 879 }; 880}; 881