1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2023 Rockchip Electronics Co., Ltd. 4 * 5 * https://cool-pi.com/topic/130/coolpi-4b-product-spec-introduction 6 * 7 */ 8 9/dts-v1/; 10 11#include <dt-bindings/gpio/gpio.h> 12#include <dt-bindings/leds/common.h> 13#include <dt-bindings/pinctrl/rockchip.h> 14#include <dt-bindings/soc/rockchip,vop2.h> 15#include "rk3588s.dtsi" 16 17/ { 18 model = "RK3588S CoolPi 4 Model B"; 19 compatible = "coolpi,pi-4b", "rockchip,rk3588s"; 20 21 aliases { 22 mmc0 = &sdhci; 23 mmc1 = &sdmmc; 24 mmc2 = &sdio; 25 }; 26 27 analog-sound { 28 compatible = "audio-graph-card"; 29 dais = <&i2s0_8ch_p0>; 30 label = "rk3588-es8316"; 31 routing = "MIC2", "Mic Jack", 32 "Headphones", "HPOL", 33 "Headphones", "HPOR"; 34 widgets = "Microphone", "Mic Jack", 35 "Headphone", "Headphones"; 36 }; 37 38 chosen { 39 stdout-path = "serial2:1500000n8"; 40 }; 41 42 hdmi-con { 43 compatible = "hdmi-connector"; 44 type = "d"; 45 46 port { 47 hdmi_con_in: endpoint { 48 remote-endpoint = <&hdmi0_out_con>; 49 }; 50 }; 51 }; 52 53 leds: leds { 54 compatible = "gpio-leds"; 55 pinctrl-names = "default"; 56 pinctrl-0 = <&gpio_leds>; 57 58 led0: led-green { 59 color = <LED_COLOR_ID_GREEN>; 60 function = LED_FUNCTION_STATUS; 61 gpios = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>; 62 linux,default-trigger = "heartbeat"; 63 }; 64 65 led1: led-red { 66 color = <LED_COLOR_ID_RED>; 67 default-state = "off"; 68 function = LED_FUNCTION_WLAN; 69 gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; 70 linux,default-trigger = "phy0tx"; 71 }; 72 }; 73 74 sdio_pwrseq: sdio-pwrseq { 75 compatible = "mmc-pwrseq-simple"; 76 clocks = <&hym8563>; 77 clock-names = "ext_clock"; 78 pinctrl-names = "default"; 79 pinctrl-0 = <&wifi_enable_h>; 80 /* 81 * On the module itself this is one of these (depending 82 * on the actual card populated): 83 * - SDIO_RESET_L_WL_REG_ON 84 * - PDN (power down when low) 85 */ 86 post-power-on-delay-ms = <200>; 87 reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>; 88 }; 89 90 vcc12v_dcin: regulator-vcc12v-dcin { 91 compatible = "regulator-fixed"; 92 regulator-name = "vcc12v_dcin"; 93 regulator-always-on; 94 regulator-boot-on; 95 regulator-min-microvolt = <12000000>; 96 regulator-max-microvolt = <12000000>; 97 }; 98 99 vcc5v0_sys: regulator-vcc5v0-sys { 100 compatible = "regulator-fixed"; 101 regulator-name = "vcc5v0_sys"; 102 regulator-always-on; 103 regulator-boot-on; 104 regulator-min-microvolt = <5000000>; 105 regulator-max-microvolt = <5000000>; 106 vin-supply = <&vcc12v_dcin>; 107 }; 108 109 vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { 110 compatible = "regulator-fixed"; 111 regulator-name = "vcc5v0_usbdcin"; 112 regulator-always-on; 113 regulator-boot-on; 114 regulator-min-microvolt = <5000000>; 115 regulator-max-microvolt = <5000000>; 116 vin-supply = <&vcc12v_dcin>; 117 }; 118 119 vcc5v0_usb: regulator-vcc5v0-usb { 120 compatible = "regulator-fixed"; 121 regulator-name = "vcc5v0_usb"; 122 regulator-always-on; 123 regulator-boot-on; 124 regulator-min-microvolt = <5000000>; 125 regulator-max-microvolt = <5000000>; 126 vin-supply = <&vcc5v0_usbdcin>; 127 }; 128 129 avdd0v85_pcie20: regulator-avdd0v85-pcie20 { 130 compatible = "regulator-fixed"; 131 regulator-name = "avdd0v85_pcie20"; 132 regulator-boot-on; 133 regulator-always-on; 134 regulator-min-microvolt = <850000>; 135 regulator-max-microvolt = <850000>; 136 vin-supply = <&vdd_0v85_s0>; 137 }; 138 139 avdd1v8_pcie20: regulator-avdd1v8-pcie20 { 140 compatible = "regulator-fixed"; 141 regulator-name = "avdd1v8_pcie20"; 142 regulator-boot-on; 143 regulator-always-on; 144 regulator-min-microvolt = <1800000>; 145 regulator-max-microvolt = <1800000>; 146 vin-supply = <&avcc_1v8_s0>; 147 }; 148 149 vcc3v3_mipi: regulator-vcc3v3-mipi { 150 compatible = "regulator-fixed"; 151 enable-active-high; 152 gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>; 153 regulator-name = "vcc3v3_mipi"; 154 regulator-boot-on; 155 regulator-always-on; 156 vin-supply = <&vcc_3v3_s3>; 157 }; 158 159 vcc5v0_host: regulator-vcc5v0-host { 160 compatible = "regulator-fixed"; 161 enable-active-high; 162 gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; 163 pinctrl-names = "default"; 164 pinctrl-0 = <&vcc5v0_host_en>; 165 regulator-name = "vcc5v0_host"; 166 regulator-boot-on; 167 regulator-always-on; 168 regulator-min-microvolt = <5000000>; 169 regulator-max-microvolt = <5000000>; 170 vin-supply = <&vcc5v0_sys>; 171 }; 172 173 vcc5v0_otg: regulator-vcc5v0-otg { 174 compatible = "regulator-fixed"; 175 enable-active-high; 176 gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; 177 pinctrl-names = "default"; 178 pinctrl-0 = <&vcc5v0_u3host_en>; 179 regulator-name = "vcc5v0_otg"; 180 regulator-boot-on; 181 regulator-always-on; 182 regulator-min-microvolt = <5000000>; 183 regulator-max-microvolt = <5000000>; 184 vin-supply = <&vcc5v0_sys>; 185 }; 186 187 vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { 188 compatible = "regulator-fixed"; 189 regulator-name = "vcc_1v1_nldo_s3"; 190 regulator-always-on; 191 regulator-boot-on; 192 regulator-min-microvolt = <1100000>; 193 regulator-max-microvolt = <1100000>; 194 vin-supply = <&vcc5v0_sys>; 195 }; 196}; 197 198&combphy0_ps { 199 status = "okay"; 200}; 201 202&combphy2_psu { 203 status = "okay"; 204}; 205 206&cpu_l0 { 207 cpu-supply = <&vdd_cpu_lit_s0>; 208}; 209 210&cpu_b0 { 211 cpu-supply = <&vdd_cpu_big0_s0>; 212}; 213 214&cpu_b2 { 215 cpu-supply = <&vdd_cpu_big1_s0>; 216}; 217 218&gpu { 219 mali-supply = <&vdd_gpu_s0>; 220 status = "okay"; 221}; 222 223&hdmi0 { 224 status = "okay"; 225}; 226 227&hdmi0_in { 228 hdmi0_in_vp0: endpoint { 229 remote-endpoint = <&vp0_out_hdmi0>; 230 }; 231}; 232 233&hdmi0_out { 234 hdmi0_out_con: endpoint { 235 remote-endpoint = <&hdmi_con_in>; 236 }; 237}; 238 239&hdptxphy0 { 240 status = "okay"; 241}; 242 243&i2c0 { 244 pinctrl-0 = <&i2c0m2_xfer>; 245 status = "okay"; 246 247 vdd_cpu_big0_s0: regulator@42 { 248 compatible = "rockchip,rk8602"; 249 reg = <0x42>; 250 fcs,suspend-voltage-selector = <1>; 251 regulator-name = "vdd_cpu_big0_s0"; 252 regulator-always-on; 253 regulator-boot-on; 254 regulator-min-microvolt = <550000>; 255 regulator-max-microvolt = <1050000>; 256 regulator-ramp-delay = <2300>; 257 vin-supply = <&vcc5v0_sys>; 258 259 regulator-state-mem { 260 regulator-off-in-suspend; 261 }; 262 }; 263 264 vdd_cpu_big1_s0: regulator@43 { 265 compatible = "rockchip,rk8603", "rockchip,rk8602"; 266 reg = <0x43>; 267 fcs,suspend-voltage-selector = <1>; 268 regulator-name = "vdd_cpu_big1_s0"; 269 regulator-always-on; 270 regulator-boot-on; 271 regulator-min-microvolt = <550000>; 272 regulator-max-microvolt = <1050000>; 273 regulator-ramp-delay = <2300>; 274 vin-supply = <&vcc5v0_sys>; 275 276 regulator-state-mem { 277 regulator-off-in-suspend; 278 }; 279 }; 280}; 281 282&i2c2 { 283 status = "okay"; 284 285 vdd_npu_s0: regulator@42 { 286 compatible = "rockchip,rk8602"; 287 reg = <0x42>; 288 fcs,suspend-voltage-selector = <1>; 289 regulator-name = "vdd_npu_s0"; 290 regulator-always-on; 291 regulator-boot-on; 292 regulator-min-microvolt = <550000>; 293 regulator-max-microvolt = <950000>; 294 regulator-ramp-delay = <2300>; 295 vin-supply = <&vcc5v0_sys>; 296 297 regulator-state-mem { 298 regulator-off-in-suspend; 299 }; 300 }; 301}; 302 303&i2c6 { 304 pinctrl-0 = <&i2c6m3_xfer>; 305 status = "okay"; 306 307 hym8563: rtc@51 { 308 compatible = "haoyu,hym8563"; 309 reg = <0x51>; 310 interrupt-parent = <&gpio0>; 311 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 312 #clock-cells = <0>; 313 clock-output-names = "hym8563"; 314 pinctrl-names = "default"; 315 pinctrl-0 = <&hym8563_int>; 316 }; 317}; 318 319&i2c7 { 320 pinctrl-0 = <&i2c7m0_xfer>; 321 status = "okay"; 322 323 es8316: audio-codec@10 { 324 compatible = "everest,es8316"; 325 reg = <0x10>; 326 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; 327 assigned-clock-rates = <12288000>; 328 clocks = <&cru I2S0_8CH_MCLKOUT>; 329 clock-names = "mclk"; 330 #sound-dai-cells = <0>; 331 332 port { 333 es8316_p0_0: endpoint { 334 remote-endpoint = <&i2s0_8ch_p0_0>; 335 }; 336 }; 337 }; 338}; 339 340&i2s0_8ch { 341 pinctrl-0 = <&i2s0_lrck 342 &i2s0_mclk 343 &i2s0_sclk 344 &i2s0_sdi0 345 &i2s0_sdo0>; 346 status = "okay"; 347 348 i2s0_8ch_p0: port { 349 i2s0_8ch_p0_0: endpoint { 350 dai-format = "i2s"; 351 mclk-fs = <256>; 352 remote-endpoint = <&es8316_p0_0>; 353 }; 354 }; 355}; 356 357&pcie2x1l2 { 358 pinctrl-names = "default"; 359 pinctrl-0 = <&rtl8111_isolate>; 360 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; 361 status = "okay"; 362}; 363 364&pd_gpu { 365 domain-supply = <&vdd_gpu_s0>; 366}; 367 368&pinctrl { 369 hym8563 { 370 hym8563_int: hym8563-int { 371 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 372 }; 373 }; 374 375 led { 376 gpio_leds: gpio-leds { 377 rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>, 378 <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_down>; 379 }; 380 }; 381 382 rtl8111 { 383 rtl8111_isolate: rtl8111-isolate { 384 rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 385 }; 386 }; 387 388 sdio-pwrseq { 389 wifi_enable_h: wifi-enable-h { 390 rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>; 391 }; 392 }; 393 394 usb { 395 vcc5v0_host_en: vcc5v0-host-en { 396 rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>, 397 <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; 398 }; 399 400 vcc5v0_u3host_en: vcc5v0-u3host-en { 401 rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; 402 }; 403 }; 404 405 wireless-bluetooth { 406 bt_reset_gpio: bt-reset-pin { 407 rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 408 }; 409 410 bt_wake_gpio: bt-wake-pin { 411 rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 412 }; 413 414 bt_wake_host_irq: bt-wake-host-irq { 415 rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>; 416 }; 417 }; 418 419 wireless-wlan { 420 wifi_host_wake_irq: wifi-host-wake-irq { 421 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; 422 }; 423 424 wifi_poweren_pin: wifi-poweren-pin { 425 rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; 426 }; 427 }; 428}; 429 430&pwm2 { 431 pinctrl-0 = <&pwm2m1_pins>; 432 status = "okay"; 433}; 434 435&pwm13 { 436 pinctrl-names = "default"; 437 pinctrl-0 = <&pwm13m2_pins>; 438 status = "okay"; 439}; 440 441&saradc { 442 vref-supply = <&vcc_1v8_s0>; 443 status = "okay"; 444}; 445 446&sdhci { 447 bus-width = <8>; 448 max-frequency = <200000000>; 449 mmc-hs400-1_8v; 450 mmc-hs400-enhanced-strobe; 451 no-sdio; 452 no-sd; 453 non-removable; 454 status = "okay"; 455}; 456 457&sdio { 458 bus-width = <4>; 459 cap-sd-highspeed; 460 cap-sdio-irq; 461 disable-wp; 462 keep-power-in-suspend; 463 max-frequency = <150000000>; 464 mmc-pwrseq = <&sdio_pwrseq>; 465 no-sd; 466 no-mmc; 467 non-removable; 468 pinctrl-names = "default"; 469 pinctrl-0 = <&sdiom1_pins>,<&wifi_poweren_pin>; 470 status = "okay"; 471}; 472 473&sdmmc { 474 bus-width = <4>; 475 cap-mmc-highspeed; 476 cap-sd-highspeed; 477 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 478 disable-wp; 479 max-frequency = <150000000>; 480 no-sdio; 481 no-mmc; 482 sd-uhs-sdr104; 483 vmmc-supply = <&vcc_3v3_s3>; 484 vqmmc-supply = <&vccio_sd_s0>; 485 status = "okay"; 486}; 487 488&spi2 { 489 assigned-clocks = <&cru CLK_SPI2>; 490 assigned-clock-rates = <200000000>; 491 num-cs = <1>; 492 pinctrl-names = "default"; 493 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; 494 status = "okay"; 495 496 pmic@0 { 497 compatible = "rockchip,rk806"; 498 reg = <0x0>; 499 interrupt-parent = <&gpio0>; 500 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 501 gpio-controller; 502 #gpio-cells = <2>; 503 pinctrl-names = "default"; 504 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 505 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 506 spi-max-frequency = <1000000>; 507 vcc1-supply = <&vcc5v0_sys>; 508 vcc2-supply = <&vcc5v0_sys>; 509 vcc3-supply = <&vcc5v0_sys>; 510 vcc4-supply = <&vcc5v0_sys>; 511 vcc5-supply = <&vcc5v0_sys>; 512 vcc6-supply = <&vcc5v0_sys>; 513 vcc7-supply = <&vcc5v0_sys>; 514 vcc8-supply = <&vcc5v0_sys>; 515 vcc9-supply = <&vcc5v0_sys>; 516 vcc10-supply = <&vcc5v0_sys>; 517 vcc11-supply = <&vcc_2v0_pldo_s3>; 518 vcc12-supply = <&vcc5v0_sys>; 519 vcc13-supply = <&vcc_1v1_nldo_s3>; 520 vcc14-supply = <&vcc_1v1_nldo_s3>; 521 vcca-supply = <&vcc5v0_sys>; 522 523 rk806_dvs1_null: dvs1-null-pins { 524 pins = "gpio_pwrctrl1"; 525 function = "pin_fun0"; 526 }; 527 528 rk806_dvs2_null: dvs2-null-pins { 529 pins = "gpio_pwrctrl2"; 530 function = "pin_fun0"; 531 }; 532 533 rk806_dvs3_null: dvs3-null-pins { 534 pins = "gpio_pwrctrl3"; 535 function = "pin_fun0"; 536 }; 537 538 regulators { 539 vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { 540 regulator-name = "vdd_gpu_s0"; 541 regulator-boot-on; 542 regulator-min-microvolt = <550000>; 543 regulator-max-microvolt = <950000>; 544 regulator-ramp-delay = <12500>; 545 regulator-enable-ramp-delay = <400>; 546 547 regulator-state-mem { 548 regulator-off-in-suspend; 549 }; 550 }; 551 552 vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 { 553 regulator-name = "vdd_cpu_lit_s0"; 554 regulator-always-on; 555 regulator-boot-on; 556 regulator-min-microvolt = <550000>; 557 regulator-max-microvolt = <950000>; 558 regulator-ramp-delay = <12500>; 559 560 regulator-state-mem { 561 regulator-off-in-suspend; 562 }; 563 }; 564 565 vdd_log_s0: dcdc-reg3 { 566 regulator-name = "vdd_log_s0"; 567 regulator-always-on; 568 regulator-boot-on; 569 regulator-min-microvolt = <675000>; 570 regulator-max-microvolt = <750000>; 571 regulator-ramp-delay = <12500>; 572 573 regulator-state-mem { 574 regulator-off-in-suspend; 575 regulator-suspend-microvolt = <750000>; 576 }; 577 }; 578 579 vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { 580 regulator-name = "vdd_vdenc_s0"; 581 regulator-always-on; 582 regulator-boot-on; 583 regulator-min-microvolt = <550000>; 584 regulator-max-microvolt = <950000>; 585 regulator-ramp-delay = <12500>; 586 587 regulator-state-mem { 588 regulator-off-in-suspend; 589 }; 590 }; 591 592 vdd_ddr_s0: dcdc-reg5 { 593 regulator-name = "vdd_ddr_s0"; 594 regulator-always-on; 595 regulator-boot-on; 596 regulator-min-microvolt = <675000>; 597 regulator-max-microvolt = <900000>; 598 regulator-ramp-delay = <12500>; 599 600 regulator-state-mem { 601 regulator-off-in-suspend; 602 regulator-suspend-microvolt = <850000>; 603 }; 604 }; 605 606 vdd2_ddr_s3: dcdc-reg6 { 607 regulator-name = "vdd2_ddr_s3"; 608 regulator-always-on; 609 regulator-boot-on; 610 611 regulator-state-mem { 612 regulator-on-in-suspend; 613 }; 614 }; 615 616 vcc_2v0_pldo_s3: dcdc-reg7 { 617 regulator-name = "vdd_2v0_pldo_s3"; 618 regulator-always-on; 619 regulator-boot-on; 620 regulator-min-microvolt = <2000000>; 621 regulator-max-microvolt = <2000000>; 622 regulator-ramp-delay = <12500>; 623 624 regulator-state-mem { 625 regulator-on-in-suspend; 626 regulator-suspend-microvolt = <2000000>; 627 }; 628 }; 629 630 vcc_3v3_s3: dcdc-reg8 { 631 regulator-name = "vcc_3v3_s3"; 632 regulator-always-on; 633 regulator-boot-on; 634 regulator-min-microvolt = <3300000>; 635 regulator-max-microvolt = <3300000>; 636 637 regulator-state-mem { 638 regulator-on-in-suspend; 639 regulator-suspend-microvolt = <3300000>; 640 }; 641 }; 642 643 vddq_ddr_s0: dcdc-reg9 { 644 regulator-name = "vddq_ddr_s0"; 645 regulator-always-on; 646 regulator-boot-on; 647 648 regulator-state-mem { 649 regulator-off-in-suspend; 650 }; 651 }; 652 653 vcc_1v8_s3: dcdc-reg10 { 654 regulator-name = "vcc_1v8_s3"; 655 regulator-always-on; 656 regulator-boot-on; 657 regulator-min-microvolt = <1800000>; 658 regulator-max-microvolt = <1800000>; 659 660 regulator-state-mem { 661 regulator-on-in-suspend; 662 regulator-suspend-microvolt = <1800000>; 663 }; 664 }; 665 666 avcc_1v8_s0: pldo-reg1 { 667 regulator-name = "avcc_1v8_s0"; 668 regulator-always-on; 669 regulator-boot-on; 670 regulator-min-microvolt = <1800000>; 671 regulator-max-microvolt = <1800000>; 672 673 regulator-state-mem { 674 regulator-off-in-suspend; 675 }; 676 }; 677 678 vcc_1v8_s0: pldo-reg2 { 679 regulator-name = "vcc_1v8_s0"; 680 regulator-always-on; 681 regulator-boot-on; 682 regulator-min-microvolt = <1800000>; 683 regulator-max-microvolt = <1800000>; 684 685 regulator-state-mem { 686 regulator-off-in-suspend; 687 regulator-suspend-microvolt = <1800000>; 688 }; 689 }; 690 691 avdd_1v2_s0: pldo-reg3 { 692 regulator-name = "avdd_1v2_s0"; 693 regulator-always-on; 694 regulator-boot-on; 695 regulator-min-microvolt = <1200000>; 696 regulator-max-microvolt = <1200000>; 697 698 regulator-state-mem { 699 regulator-off-in-suspend; 700 }; 701 }; 702 703 vcc_3v3_s0: pldo-reg4 { 704 regulator-name = "vcc_3v3_s0"; 705 regulator-always-on; 706 regulator-boot-on; 707 regulator-min-microvolt = <3300000>; 708 regulator-max-microvolt = <3300000>; 709 regulator-ramp-delay = <12500>; 710 711 regulator-state-mem { 712 regulator-off-in-suspend; 713 }; 714 }; 715 716 vccio_sd_s0: pldo-reg5 { 717 regulator-name = "vccio_sd_s0"; 718 regulator-always-on; 719 regulator-boot-on; 720 regulator-min-microvolt = <1800000>; 721 regulator-max-microvolt = <3300000>; 722 regulator-ramp-delay = <12500>; 723 724 regulator-state-mem { 725 regulator-off-in-suspend; 726 }; 727 }; 728 729 pldo6_s3: pldo-reg6 { 730 regulator-name = "pldo6_s3"; 731 regulator-always-on; 732 regulator-boot-on; 733 regulator-min-microvolt = <1800000>; 734 regulator-max-microvolt = <1800000>; 735 736 regulator-state-mem { 737 regulator-on-in-suspend; 738 regulator-suspend-microvolt = <1800000>; 739 }; 740 }; 741 742 vdd_0v75_s3: nldo-reg1 { 743 regulator-name = "vdd_0v75_s3"; 744 regulator-always-on; 745 regulator-boot-on; 746 regulator-min-microvolt = <750000>; 747 regulator-max-microvolt = <750000>; 748 749 regulator-state-mem { 750 regulator-on-in-suspend; 751 regulator-suspend-microvolt = <750000>; 752 }; 753 }; 754 755 vdd_ddr_pll_s0: nldo-reg2 { 756 regulator-name = "vdd_ddr_pll_s0"; 757 regulator-always-on; 758 regulator-boot-on; 759 regulator-min-microvolt = <850000>; 760 regulator-max-microvolt = <850000>; 761 762 regulator-state-mem { 763 regulator-off-in-suspend; 764 regulator-suspend-microvolt = <850000>; 765 }; 766 }; 767 768 avdd_0v75_s0: nldo-reg3 { 769 regulator-name = "avdd_0v75_s0"; 770 regulator-always-on; 771 regulator-boot-on; 772 regulator-min-microvolt = <750000>; 773 regulator-max-microvolt = <750000>; 774 775 regulator-state-mem { 776 regulator-off-in-suspend; 777 }; 778 }; 779 780 vdd_0v85_s0: nldo-reg4 { 781 regulator-name = "vdd_0v85_s0"; 782 regulator-always-on; 783 regulator-boot-on; 784 regulator-min-microvolt = <850000>; 785 regulator-max-microvolt = <850000>; 786 787 regulator-state-mem { 788 regulator-off-in-suspend; 789 }; 790 }; 791 792 vdd_0v75_s0: nldo-reg5 { 793 regulator-name = "vdd_0v75_s0"; 794 regulator-always-on; 795 regulator-boot-on; 796 regulator-min-microvolt = <750000>; 797 regulator-max-microvolt = <750000>; 798 799 regulator-state-mem { 800 regulator-off-in-suspend; 801 }; 802 }; 803 }; 804 }; 805}; 806 807&tsadc { 808 status = "okay"; 809}; 810 811&u2phy0 { 812 status = "okay"; 813}; 814 815&u2phy0_otg { 816 status = "okay"; 817}; 818 819&u2phy2 { 820 status = "okay"; 821}; 822 823&u2phy3 { 824 status = "okay"; 825}; 826 827&u2phy2_host { 828 phy-supply = <&vcc5v0_host>; 829 status = "okay"; 830}; 831 832&u2phy3_host { 833 status = "okay"; 834}; 835 836&uart2 { 837 pinctrl-0 = <&uart2m0_xfer>; 838 status = "okay"; 839}; 840 841/* bt */ 842&uart9 { 843 status = "okay"; 844 pinctrl-names = "default"; 845 pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>; 846}; 847 848&usbdp_phy0 { 849 /* 850 * USBDP PHY0 is wired to a USB3 Type-A OTG connector. Additionally 851 * the differential pairs 0+1 and the aux channel are wired to a 852 * mini DP connector. 853 */ 854 rockchip,dp-lane-mux = <0 1>; 855 status = "okay"; 856}; 857 858&usb_host0_ehci { 859 status = "okay"; 860}; 861 862&usb_host0_ohci { 863 status = "okay"; 864}; 865 866&usb_host0_xhci { 867 extcon = <&u2phy0>; 868 status = "okay"; 869}; 870 871&usb_host1_ehci { 872 status = "okay"; 873}; 874 875&usb_host1_ohci { 876 status = "okay"; 877}; 878 879&vop { 880 status = "okay"; 881}; 882 883&vop_mmu { 884 status = "okay"; 885}; 886 887&vp0 { 888 vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 889 reg = <ROCKCHIP_VOP2_EP_HDMI0>; 890 remote-endpoint = <&hdmi0_in_vp0>; 891 }; 892}; 893