1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2024 Radxa Computer (Shenzhen) Co., Ltd. 4 */ 5 6/dts-v1/; 7 8#include <dt-bindings/gpio/gpio.h> 9#include <dt-bindings/leds/common.h> 10#include <dt-bindings/pinctrl/rockchip.h> 11#include <dt-bindings/soc/rockchip,vop2.h> 12#include "rk3588s.dtsi" 13 14/ { 15 model = "Radxa ROCK 5C"; 16 compatible = "radxa,rock-5c", "rockchip,rk3588s"; 17 18 aliases { 19 ethernet0 = &gmac1; 20 mmc0 = &sdhci; 21 mmc1 = &sdmmc; 22 }; 23 24 chosen { 25 stdout-path = "serial2:1500000n8"; 26 }; 27 28 analog-sound { 29 compatible = "audio-graph-card"; 30 label = "rk3588-es8316"; 31 dais = <&i2s0_8ch_p0>; 32 routing = "MIC2", "Mic Jack", 33 "Headphones", "HPOL", 34 "Headphones", "HPOR"; 35 widgets = "Microphone", "Mic Jack", 36 "Headphone", "Headphones"; 37 }; 38 39 hdmi0-con { 40 compatible = "hdmi-connector"; 41 type = "a"; 42 43 port { 44 hdmi0_con_in: endpoint { 45 remote-endpoint = <&hdmi0_out_con>; 46 }; 47 }; 48 }; 49 50 leds { 51 compatible = "gpio-leds"; 52 pinctrl-names = "default"; 53 pinctrl-0 = <&led_pins>; 54 55 led-0 { 56 color = <LED_COLOR_ID_GREEN>; 57 default-state = "on"; 58 function = LED_FUNCTION_POWER; 59 gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>; 60 }; 61 62 led-1 { 63 color = <LED_COLOR_ID_BLUE>; 64 default-state = "on"; 65 function = LED_FUNCTION_HEARTBEAT; 66 gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; 67 linux,default-trigger = "heartbeat"; 68 }; 69 }; 70 71 fan: fan { 72 compatible = "pwm-fan"; 73 #cooling-cells = <2>; 74 cooling-levels = <0 24 44 64 128 192 255>; 75 fan-supply = <&vcc_5v0>; 76 pwms = <&pwm3 0 10000 0>; 77 }; 78 79 pcie2x1l2_3v3: regulator-pcie2x1l2-3v3 { 80 compatible = "regulator-fixed"; 81 enable-active-high; 82 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; 83 pinctrl-names = "default"; 84 pinctrl-0 = <&pow_en>; 85 regulator-name = "pcie2x1l2_3v3"; 86 regulator-min-microvolt = <3300000>; 87 regulator-max-microvolt = <3300000>; 88 vin-supply = <&vcc_sysin>; 89 }; 90 91 vcc5v_dcin: regulator-vcc5v-dcin { 92 compatible = "regulator-fixed"; 93 regulator-name = "vcc5v_dcin"; 94 regulator-always-on; 95 regulator-boot-on; 96 regulator-min-microvolt = <5000000>; 97 regulator-max-microvolt = <5000000>; 98 }; 99 100 vcc5v0_usb_host: regulator-vcc5v0-usb-host { 101 compatible = "regulator-fixed"; 102 enable-active-high; 103 gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; 104 pinctrl-names = "default"; 105 pinctrl-0 = <&usb_host_pwren_h>; 106 regulator-name = "vcc5v0_usb_host"; 107 regulator-min-microvolt = <5000000>; 108 regulator-max-microvolt = <5000000>; 109 vin-supply = <&vcc_sysin>; 110 }; 111 112 vcc5v0_usb_otg0: regulator-vcc5v0-usb-otg0 { 113 compatible = "regulator-fixed"; 114 enable-active-high; 115 gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 116 pinctrl-names = "default"; 117 pinctrl-0 = <&usb_otg_pwren_h>; 118 regulator-name = "vcc5v0_usb_otg0"; 119 regulator-min-microvolt = <5000000>; 120 regulator-max-microvolt = <5000000>; 121 vin-supply = <&vcc_sysin>; 122 }; 123 124 vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 125 compatible = "regulator-fixed"; 126 regulator-name = "vcc_1v1_nldo_s3"; 127 regulator-always-on; 128 regulator-boot-on; 129 regulator-min-microvolt = <1100000>; 130 regulator-max-microvolt = <1100000>; 131 vin-supply = <&vcc_sysin>; 132 }; 133 134 vcc_3v3_pmu: regulator-vcc-3v3-pmu { 135 compatible = "regulator-fixed"; 136 regulator-name = "vcc_3v3_pmu"; 137 regulator-always-on; 138 regulator-boot-on; 139 regulator-min-microvolt = <3300000>; 140 regulator-max-microvolt = <3300000>; 141 vin-supply = <&vcc_3v3_s3>; 142 }; 143 144 vcc_3v3_s0: regulator-vcc-3v3-s0 { 145 compatible = "regulator-fixed"; 146 regulator-name = "vcc_3v3_s0"; 147 regulator-always-on; 148 regulator-boot-on; 149 regulator-min-microvolt = <3300000>; 150 regulator-max-microvolt = <3300000>; 151 vin-supply = <&vcc_1v8_s0>; 152 }; 153 154 vcc_5v0: regulator-vcc-5v0 { 155 compatible = "regulator-fixed"; 156 enable-active-high; 157 gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; 158 pinctrl-names = "default"; 159 pinctrl-0 = <&vcc_5v0_pwren_h>; 160 regulator-name = "vcc_5v0"; 161 regulator-min-microvolt = <5000000>; 162 regulator-max-microvolt = <5000000>; 163 vin-supply = <&vcc_sysin>; 164 }; 165 166 vcc_sysin: regulator-vcc-sysin { 167 compatible = "regulator-fixed"; 168 regulator-name = "vcc_sysin"; 169 regulator-always-on; 170 regulator-boot-on; 171 regulator-min-microvolt = <5000000>; 172 regulator-max-microvolt = <5000000>; 173 vin-supply = <&vcc5v_dcin>; 174 }; 175 176 vcca: regulator-vcca { 177 compatible = "regulator-fixed"; 178 regulator-name = "vcca"; 179 regulator-always-on; 180 regulator-boot-on; 181 regulator-min-microvolt = <4000000>; 182 regulator-max-microvolt = <4000000>; 183 vin-supply = <&vcc_sysin>; 184 }; 185 186 vdd_3v3: regulator-vdd-3v3 { 187 compatible = "regulator-fixed"; 188 enable-active-high; 189 gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; 190 pinctrl-names = "default"; 191 pinctrl-0 = <&usb_wifi_pwr>; 192 regulator-name = "vdd_3v3"; 193 regulator-always-on; 194 regulator-boot-on; 195 regulator-min-microvolt = <3300000>; 196 regulator-max-microvolt = <3300000>; 197 vin-supply = <&vcc_3v3_s3>; 198 }; 199}; 200 201&combphy0_ps { 202 status = "okay"; 203}; 204 205&combphy2_psu { 206 status = "okay"; 207}; 208 209&cpu_b0 { 210 cpu-supply = <&vdd_cpu_big0_s0>; 211}; 212 213&cpu_b1 { 214 cpu-supply = <&vdd_cpu_big0_s0>; 215}; 216 217&cpu_b2 { 218 cpu-supply = <&vdd_cpu_big1_s0>; 219}; 220 221&cpu_b3 { 222 cpu-supply = <&vdd_cpu_big1_s0>; 223}; 224 225&cpu_l0 { 226 cpu-supply = <&vdd_cpu_lit_s0>; 227}; 228 229&cpu_l1 { 230 cpu-supply = <&vdd_cpu_lit_s0>; 231}; 232 233&cpu_l2 { 234 cpu-supply = <&vdd_cpu_lit_s0>; 235}; 236 237&cpu_l3 { 238 cpu-supply = <&vdd_cpu_lit_s0>; 239}; 240 241&gmac1 { 242 phy-handle = <&rgmii_phy1>; 243 phy-mode = "rgmii-id"; 244 phy-supply = <&vcc_3v3_s0>; 245 pinctrl-0 = <&gmac1_miim 246 &gmac1_tx_bus2 247 &gmac1_rx_bus2 248 &gmac1_rgmii_clk 249 &gmac1_rgmii_bus 250 &gmac1_clkinout>; 251 pinctrl-names = "default"; 252 status = "okay"; 253}; 254 255&gpu { 256 mali-supply = <&vdd_gpu_s0>; 257 status = "okay"; 258}; 259 260&hdmi0 { 261 pinctrl-names = "default"; 262 pinctrl-0 = <&hdmim0_tx0_cec 263 &hdmim1_tx0_hpd 264 &hdmim0_tx0_scl 265 &hdmim0_tx0_sda>; 266 status = "okay"; 267}; 268 269&hdmi0_in { 270 hdmi0_in_vp0: endpoint { 271 remote-endpoint = <&vp0_out_hdmi0>; 272 }; 273}; 274 275&hdmi0_out { 276 hdmi0_out_con: endpoint { 277 remote-endpoint = <&hdmi0_con_in>; 278 }; 279}; 280 281&hdptxphy0 { 282 status = "okay"; 283}; 284 285&i2c0 { 286 pinctrl-names = "default"; 287 pinctrl-0 = <&i2c0m2_xfer>; 288 status = "okay"; 289 290 vdd_cpu_big0_s0: regulator@42 { 291 compatible = "rockchip,rk8602"; 292 reg = <0x42>; 293 fcs,suspend-voltage-selector = <1>; 294 regulator-name = "vdd_cpu_big0_s0"; 295 regulator-always-on; 296 regulator-boot-on; 297 regulator-min-microvolt = <550000>; 298 regulator-max-microvolt = <1050000>; 299 regulator-ramp-delay = <2300>; 300 vin-supply = <&vcc_sysin>; 301 302 regulator-state-mem { 303 regulator-off-in-suspend; 304 }; 305 }; 306 307 vdd_cpu_big1_s0: regulator@43 { 308 compatible = "rockchip,rk8603", "rockchip,rk8602"; 309 reg = <0x43>; 310 fcs,suspend-voltage-selector = <1>; 311 regulator-name = "vdd_cpu_big1_s0"; 312 regulator-always-on; 313 regulator-boot-on; 314 regulator-min-microvolt = <550000>; 315 regulator-max-microvolt = <1050000>; 316 regulator-ramp-delay = <2300>; 317 vin-supply = <&vcc_sysin>; 318 319 regulator-state-mem { 320 regulator-off-in-suspend; 321 }; 322 }; 323 324 eeprom@50 { 325 compatible = "belling,bl24c16a", "atmel,24c16"; 326 reg = <0x50>; 327 pagesize = <16>; 328 vcc-supply = <&vcc_3v3_pmu>; 329 }; 330}; 331 332&i2c2 { 333 status = "okay"; 334 335 vdd_npu_s0: regulator@42 { 336 compatible = "rockchip,rk8602"; 337 reg = <0x42>; 338 fcs,suspend-voltage-selector = <1>; 339 regulator-name = "vdd_npu_s0"; 340 regulator-always-on; 341 regulator-boot-on; 342 regulator-min-microvolt = <550000>; 343 regulator-max-microvolt = <950000>; 344 regulator-ramp-delay = <2300>; 345 vin-supply = <&vcc_sysin>; 346 347 regulator-state-mem { 348 regulator-off-in-suspend; 349 }; 350 }; 351}; 352 353&i2c5 { 354 pinctrl-names = "default"; 355 pinctrl-0 = <&i2c5m2_xfer>; 356 status = "okay"; 357 358 rtc@51 { 359 compatible = "haoyu,hym8563"; 360 reg = <0x51>; 361 #clock-cells = <0>; 362 clock-output-names = "rtcic_32kout"; 363 interrupt-parent = <&gpio0>; 364 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 365 pinctrl-names = "default"; 366 pinctrl-0 = <&rtc_int_l>; 367 }; 368}; 369 370&i2c7 { 371 status = "okay"; 372 373 audio-codec@11 { 374 compatible = "everest,es8316"; 375 reg = <0x11>; 376 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; 377 assigned-clock-rates = <12288000>; 378 clocks = <&cru I2S0_8CH_MCLKOUT>; 379 clock-names = "mclk"; 380 #sound-dai-cells = <0>; 381 382 port { 383 es8316_p0_0: endpoint { 384 remote-endpoint = <&i2s0_8ch_p0_0>; 385 }; 386 }; 387 }; 388}; 389 390&i2s0_8ch { 391 pinctrl-names = "default"; 392 pinctrl-0 = <&i2s0_lrck 393 &i2s0_mclk 394 &i2s0_sclk 395 &i2s0_sdi0 396 &i2s0_sdo0>; 397 status = "okay"; 398 399 i2s0_8ch_p0: port { 400 i2s0_8ch_p0_0: endpoint { 401 dai-format = "i2s"; 402 mclk-fs = <256>; 403 remote-endpoint = <&es8316_p0_0>; 404 }; 405 }; 406}; 407 408&mdio1 { 409 rgmii_phy1: ethernet-phy@1 { 410 compatible = "ethernet-phy-id001c.c916"; 411 reg = <1>; 412 pinctrl-names = "default"; 413 pinctrl-0 = <&gmac1_rstn>; 414 reset-assert-us = <20000>; 415 reset-deassert-us = <100000>; 416 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 417 }; 418}; 419 420&package_thermal { 421 polling-delay = <1000>; 422 423 trips { 424 package_fan0: package-fan0 { 425 temperature = <55000>; 426 hysteresis = <2000>; 427 type = "active"; 428 }; 429 430 package_fan1: package-fan1 { 431 temperature = <65000>; 432 hysteresis = <2000>; 433 type = "active"; 434 }; 435 }; 436 437 cooling-maps { 438 map0 { 439 trip = <&package_fan0>; 440 cooling-device = <&fan THERMAL_NO_LIMIT 1>; 441 }; 442 443 map1 { 444 trip = <&package_fan1>; 445 cooling-device = <&fan 2 THERMAL_NO_LIMIT>; 446 }; 447 }; 448}; 449 450&pcie2x1l2 { 451 pinctrl-names = "default"; 452 pinctrl-0 = <&pcie20x1_2_perstn_m0>; 453 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; 454 vpcie3v3-supply = <&pcie2x1l2_3v3>; 455 status = "okay"; 456}; 457 458&pd_gpu { 459 domain-supply = <&vdd_gpu_s0>; 460}; 461 462&pinctrl { 463 leds { 464 led_pins: led-pins { 465 rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>, 466 <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 467 }; 468 }; 469 470 mdio { 471 gmac1_rstn: gmac1-rstn { 472 rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 473 }; 474 }; 475 476 pcie { 477 pcie20x1_2_perstn_m0: pcie20x1-2-perstn-m0 { 478 rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; 479 }; 480 481 pow_en: pow-en { 482 rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 483 }; 484 }; 485 486 rtc { 487 rtc_int_l: rtc-int-l { 488 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 489 }; 490 }; 491 492 usb { 493 usb_host_pwren_h: usb-host-pwren-h { 494 rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 495 }; 496 497 usb_otg_pwren_h: usb-otg-pwren-h { 498 rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 499 }; 500 501 usb_wifi_pwr: usb-wifi-pwr { 502 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 503 }; 504 505 vcc_5v0_pwren_h: vcc-5v0-pwren-h { 506 rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 507 }; 508 }; 509}; 510 511&pwm3 { 512 pinctrl-names = "default"; 513 pinctrl-0 = <&pwm3m1_pins>; 514 status = "okay"; 515}; 516 517&saradc { 518 vref-supply = <&vcca_1v8_s0>; 519 status = "okay"; 520}; 521 522&sdhci { 523 bus-width = <8>; 524 mmc-hs400-1_8v; 525 mmc-hs400-enhanced-strobe; 526 no-sdio; 527 no-sd; 528 non-removable; 529 status = "okay"; 530}; 531 532&sdmmc { 533 bus-width = <4>; 534 cap-mmc-highspeed; 535 cap-sd-highspeed; 536 disable-wp; 537 no-sdio; 538 no-mmc; 539 sd-uhs-sdr104; 540 vmmc-supply = <&vcc_3v3_s3>; 541 vqmmc-supply = <&vccio_sd_s0>; 542 status = "okay"; 543}; 544 545&sfc { 546 pinctrl-names = "default"; 547 pinctrl-0 = <&fspim0_pins>; 548 549 flash@0 { 550 compatible = "jedec,spi-nor"; 551 reg = <0>; 552 spi-max-frequency = <104000000>; 553 spi-rx-bus-width = <4>; 554 spi-tx-bus-width = <1>; 555 }; 556}; 557 558&spi2 { 559 status = "okay"; 560 assigned-clocks = <&cru CLK_SPI2>; 561 assigned-clock-rates = <200000000>; 562 num-cs = <1>; 563 pinctrl-names = "default"; 564 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; 565 566 pmic@0 { 567 compatible = "rockchip,rk806"; 568 reg = <0>; 569 gpio-controller; 570 #gpio-cells = <2>; 571 interrupt-parent = <&gpio0>; 572 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 573 pinctrl-names = "default"; 574 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 575 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 576 spi-max-frequency = <1000000>; 577 system-power-controller; 578 579 vcc1-supply = <&vcc_sysin>; 580 vcc2-supply = <&vcc_sysin>; 581 vcc3-supply = <&vcc_sysin>; 582 vcc4-supply = <&vcc_sysin>; 583 vcc5-supply = <&vcc_sysin>; 584 vcc6-supply = <&vcc_sysin>; 585 vcc7-supply = <&vcc_sysin>; 586 vcc8-supply = <&vcc_sysin>; 587 vcc9-supply = <&vcc_sysin>; 588 vcc10-supply = <&vcc_sysin>; 589 vcc11-supply = <&vcc_2v0_pldo_s3>; 590 vcc12-supply = <&vcc_sysin>; 591 vcc13-supply = <&vcc_1v1_nldo_s3>; 592 vcc14-supply = <&vcc_1v1_nldo_s3>; 593 vcca-supply = <&vcca>; 594 595 rk806_dvs1_null: dvs1-null-pins { 596 pins = "gpio_pwrctrl1"; 597 function = "pin_fun0"; 598 }; 599 600 rk806_dvs2_null: dvs2-null-pins { 601 pins = "gpio_pwrctrl2"; 602 function = "pin_fun0"; 603 }; 604 605 rk806_dvs3_null: dvs3-null-pins { 606 pins = "gpio_pwrctrl3"; 607 function = "pin_fun0"; 608 }; 609 610 regulators { 611 vdd_gpu_s0: dcdc-reg1 { 612 regulator-name = "vdd_gpu_s0"; 613 regulator-boot-on; 614 regulator-min-microvolt = <550000>; 615 regulator-max-microvolt = <950000>; 616 regulator-ramp-delay = <12500>; 617 regulator-enable-ramp-delay = <400>; 618 619 regulator-state-mem { 620 regulator-off-in-suspend; 621 }; 622 }; 623 624 vdd_cpu_lit_s0: dcdc-reg2 { 625 regulator-name = "vdd_cpu_lit_s0"; 626 regulator-always-on; 627 regulator-boot-on; 628 regulator-min-microvolt = <550000>; 629 regulator-max-microvolt = <950000>; 630 regulator-ramp-delay = <12500>; 631 632 regulator-state-mem { 633 regulator-off-in-suspend; 634 }; 635 }; 636 637 vdd_logic_s0: dcdc-reg3 { 638 regulator-name = "vdd_logic_s0"; 639 regulator-always-on; 640 regulator-boot-on; 641 regulator-min-microvolt = <675000>; 642 regulator-max-microvolt = <750000>; 643 regulator-ramp-delay = <12500>; 644 645 regulator-state-mem { 646 regulator-on-in-suspend; 647 regulator-suspend-microvolt = <750000>; 648 }; 649 }; 650 651 vdd_vdenc_s0: dcdc-reg4 { 652 regulator-name = "vdd_vdenc_s0"; 653 regulator-always-on; 654 regulator-boot-on; 655 regulator-min-microvolt = <550000>; 656 regulator-max-microvolt = <950000>; 657 regulator-ramp-delay = <12500>; 658 659 regulator-state-mem { 660 regulator-off-in-suspend; 661 }; 662 }; 663 664 vdd_ddr_s0: dcdc-reg5 { 665 regulator-name = "vdd_ddr_s0"; 666 regulator-always-on; 667 regulator-boot-on; 668 regulator-min-microvolt = <675000>; 669 regulator-max-microvolt = <900000>; 670 regulator-ramp-delay = <12500>; 671 672 regulator-state-mem { 673 regulator-off-in-suspend; 674 regulator-suspend-microvolt = <850000>; 675 }; 676 }; 677 678 vdd2_ddr_s3: dcdc-reg6 { 679 regulator-name = "vdd2_ddr_s3"; 680 regulator-always-on; 681 regulator-boot-on; 682 683 regulator-state-mem { 684 regulator-on-in-suspend; 685 }; 686 }; 687 688 vcc_2v0_pldo_s3: dcdc-reg7 { 689 regulator-name = "vdd_2v0_pldo_s3"; 690 regulator-always-on; 691 regulator-boot-on; 692 regulator-min-microvolt = <2000000>; 693 regulator-max-microvolt = <2000000>; 694 regulator-ramp-delay = <12500>; 695 696 regulator-state-mem { 697 regulator-on-in-suspend; 698 regulator-suspend-microvolt = <2000000>; 699 }; 700 }; 701 702 vcc_3v3_s3: dcdc-reg8 { 703 regulator-name = "vcc_3v3_s3"; 704 regulator-always-on; 705 regulator-boot-on; 706 regulator-min-microvolt = <3300000>; 707 regulator-max-microvolt = <3300000>; 708 709 regulator-state-mem { 710 regulator-on-in-suspend; 711 regulator-suspend-microvolt = <3300000>; 712 }; 713 }; 714 715 vddq_ddr_s0: dcdc-reg9 { 716 regulator-name = "vddq_ddr_s0"; 717 regulator-always-on; 718 regulator-boot-on; 719 720 regulator-state-mem { 721 regulator-off-in-suspend; 722 }; 723 }; 724 725 vcc1v8_pmu_ddr_s3: dcdc-reg10 { 726 regulator-name = "vcc1v8_pmu_ddr_s3"; 727 regulator-always-on; 728 regulator-boot-on; 729 regulator-min-microvolt = <1800000>; 730 regulator-max-microvolt = <1800000>; 731 732 regulator-state-mem { 733 regulator-on-in-suspend; 734 regulator-suspend-microvolt = <1800000>; 735 }; 736 }; 737 738 vcc_1v8_s0: pldo-reg1 { 739 regulator-name = "vcc_1v8_s0"; 740 regulator-always-on; 741 regulator-boot-on; 742 regulator-min-microvolt = <1800000>; 743 regulator-max-microvolt = <1800000>; 744 745 regulator-state-mem { 746 regulator-on-in-suspend; 747 regulator-suspend-microvolt = <1800000>; 748 }; 749 }; 750 751 vcca_1v8_s0: pldo-reg2 { 752 regulator-name = "vcca_1v8_s0"; 753 regulator-always-on; 754 regulator-boot-on; 755 regulator-min-microvolt = <1800000>; 756 regulator-max-microvolt = <1800000>; 757 758 regulator-state-mem { 759 regulator-on-in-suspend; 760 regulator-suspend-microvolt = <1800000>; 761 }; 762 }; 763 764 vdda_1v2_s0: pldo-reg3 { 765 regulator-name = "vdda_1v2_s0"; 766 regulator-always-on; 767 regulator-boot-on; 768 regulator-min-microvolt = <1200000>; 769 regulator-max-microvolt = <1200000>; 770 771 regulator-state-mem { 772 regulator-off-in-suspend; 773 }; 774 }; 775 776 vcca_3v3_s0: pldo-reg4 { 777 regulator-name = "vcca_3v3_s0"; 778 regulator-always-on; 779 regulator-boot-on; 780 regulator-min-microvolt = <3300000>; 781 regulator-max-microvolt = <3300000>; 782 783 regulator-state-mem { 784 regulator-on-in-suspend; 785 regulator-suspend-microvolt = <3300000>; 786 }; 787 }; 788 789 vccio_sd_s0: pldo-reg5 { 790 regulator-name = "vccio_sd_s0"; 791 regulator-always-on; 792 regulator-boot-on; 793 regulator-min-microvolt = <1800000>; 794 regulator-max-microvolt = <3300000>; 795 796 regulator-state-mem { 797 regulator-off-in-suspend; 798 }; 799 }; 800 801 pldo6_s3: pldo-reg6 { 802 regulator-name = "pldo6_s3"; 803 regulator-always-on; 804 regulator-boot-on; 805 regulator-min-microvolt = <1800000>; 806 regulator-max-microvolt = <1800000>; 807 808 regulator-state-mem { 809 regulator-on-in-suspend; 810 regulator-suspend-microvolt = <1800000>; 811 }; 812 }; 813 814 vdd_0v75_s3: nldo-reg1 { 815 regulator-name = "vdd_0v75_s3"; 816 regulator-always-on; 817 regulator-boot-on; 818 regulator-min-microvolt = <750000>; 819 regulator-max-microvolt = <750000>; 820 821 regulator-state-mem { 822 regulator-on-in-suspend; 823 regulator-suspend-microvolt = <750000>; 824 }; 825 }; 826 827 vdda_ddr_pll_s0: nldo-reg2 { 828 regulator-name = "vdda_ddr_pll_s0"; 829 regulator-always-on; 830 regulator-boot-on; 831 regulator-min-microvolt = <850000>; 832 regulator-max-microvolt = <850000>; 833 834 regulator-state-mem { 835 regulator-on-in-suspend; 836 regulator-suspend-microvolt = <850000>; 837 }; 838 }; 839 840 vdda_0v75_s0: nldo-reg3 { 841 regulator-name = "vdda_0v75_s0"; 842 regulator-always-on; 843 regulator-boot-on; 844 regulator-min-microvolt = <750000>; 845 regulator-max-microvolt = <750000>; 846 847 regulator-state-mem { 848 regulator-off-in-suspend; 849 }; 850 }; 851 852 vdda_0v85_s0: nldo-reg4 { 853 regulator-name = "vdda_0v85_s0"; 854 regulator-always-on; 855 regulator-boot-on; 856 regulator-min-microvolt = <850000>; 857 regulator-max-microvolt = <850000>; 858 859 regulator-state-mem { 860 regulator-off-in-suspend; 861 }; 862 }; 863 864 vdd_0v75_s0: nldo-reg5 { 865 regulator-name = "vdd_0v75_s0"; 866 regulator-always-on; 867 regulator-boot-on; 868 regulator-min-microvolt = <750000>; 869 regulator-max-microvolt = <750000>; 870 871 regulator-state-mem { 872 regulator-off-in-suspend; 873 }; 874 }; 875 }; 876 }; 877}; 878 879&tsadc { 880 rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ 881 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */ 882 status = "okay"; 883}; 884 885&u2phy0 { 886 status = "okay"; 887}; 888 889&u2phy0_otg { 890 phy-supply = <&vcc5v0_usb_otg0>; 891 status = "okay"; 892}; 893 894&u2phy2 { 895 status = "okay"; 896}; 897 898&u2phy2_host { 899 /* connected to USB hub, which is powered by vcc_5v0 */ 900 phy-supply = <&vcc_5v0>; 901 status = "okay"; 902}; 903 904&u2phy3 { 905 status = "okay"; 906}; 907 908&u2phy3_host { 909 phy-supply = <&vcc5v0_usb_host>; 910 status = "okay"; 911}; 912 913&uart2 { 914 pinctrl-0 = <&uart2m0_xfer>; 915 status = "okay"; 916}; 917 918&usbdp_phy0 { 919 status = "okay"; 920}; 921 922&usb_host0_ehci { 923 status = "okay"; 924}; 925 926&usb_host0_xhci { 927 dr_mode = "host"; 928 status = "okay"; 929}; 930 931&usb_host1_ehci { 932 status = "okay"; 933}; 934 935&usb_host1_ohci { 936 status = "okay"; 937}; 938 939&usb_host2_xhci { 940 status = "okay"; 941}; 942 943&vop_mmu { 944 status = "okay"; 945}; 946 947&vop { 948 status = "okay"; 949}; 950 951&vp0 { 952 vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 953 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 954 remote-endpoint = <&hdmi0_in_vp0>; 955 }; 956}; 957