1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2023 Ondřej Jirman <megi@xff.cz> 4 */ 5 6 /dts-v1/; 7 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/usb/pd.h> 13 #include "rk3588.dtsi" 14 15 / { 16 model = "Xunlong Orange Pi 5 Plus"; 17 compatible = "xunlong,orangepi-5-plus", "rockchip,rk3588"; 18 19 aliases { 20 mmc0 = &sdhci; 21 mmc1 = &sdmmc; 22 }; 23 24 chosen { 25 stdout-path = "serial2:1500000n8"; 26 }; 27 28 adc-keys-0 { 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-maskrom { 36 label = "Mask Rom"; 37 linux,code = <KEY_SETUP>; 38 press-threshold-microvolt = <2000>; 39 }; 40 }; 41 42 adc-keys-1 { 43 compatible = "adc-keys"; 44 io-channels = <&saradc 1>; 45 io-channel-names = "buttons"; 46 keyup-threshold-microvolt = <1800000>; 47 poll-interval = <100>; 48 49 button-recovery { 50 label = "Recovery"; 51 linux,code = <KEY_VENDOR>; 52 press-threshold-microvolt = <2000>; 53 }; 54 }; 55 56 speaker_amp: speaker-audio-amplifier { 57 compatible = "simple-audio-amplifier"; 58 enable-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; 59 sound-name-prefix = "Speaker Amp"; 60 }; 61 62 headphone_amp: headphones-audio-amplifier { 63 compatible = "simple-audio-amplifier"; 64 enable-gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; 65 sound-name-prefix = "Headphones Amp"; 66 }; 67 68 ir-receiver { 69 compatible = "gpio-ir-receiver"; 70 gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; 71 pinctrl-names = "default"; 72 pinctrl-0 = <&ir_receiver_pin>; 73 }; 74 75 gpio-leds { 76 compatible = "gpio-leds"; 77 pinctrl-names = "default"; 78 pinctrl-0 = <&blue_led_pin>; 79 80 led { 81 color = <LED_COLOR_ID_BLUE>; 82 function = LED_FUNCTION_INDICATOR; 83 function-enumerator = <1>; 84 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; 85 }; 86 }; 87 88 fan: pwm-fan { 89 compatible = "pwm-fan"; 90 cooling-levels = <0 70 75 80 100>; 91 fan-supply = <&vcc5v0_sys>; 92 pwms = <&pwm3 0 50000 0>; 93 #cooling-cells = <2>; 94 }; 95 96 pwm-leds { 97 compatible = "pwm-leds"; 98 99 led { 100 color = <LED_COLOR_ID_GREEN>; 101 function = LED_FUNCTION_INDICATOR; 102 function-enumerator = <2>; 103 max-brightness = <255>; 104 pwms = <&pwm2 0 25000 0>; 105 }; 106 }; 107 108 rfkill { 109 compatible = "rfkill-gpio"; 110 label = "rfkill-pcie-wlan"; 111 radio-type = "wlan"; 112 shutdown-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; 113 }; 114 115 sound { 116 compatible = "simple-audio-card"; 117 pinctrl-names = "default"; 118 pinctrl-0 = <&hp_detect>; 119 simple-audio-card,name = "Analog"; 120 simple-audio-card,aux-devs = <&speaker_amp>, <&headphone_amp>; 121 simple-audio-card,format = "i2s"; 122 simple-audio-card,mclk-fs = <256>; 123 simple-audio-card,hp-det-gpio = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>; 124 simple-audio-card,bitclock-master = <&daicpu>; 125 simple-audio-card,frame-master = <&daicpu>; 126 /*TODO: SARADC_IN3 is used as MIC detection / key input */ 127 128 simple-audio-card,widgets = 129 "Microphone", "Onboard Microphone", 130 "Microphone", "Microphone Jack", 131 "Speaker", "Speaker", 132 "Headphone", "Headphones"; 133 134 simple-audio-card,routing = 135 "Headphones", "LOUT1", 136 "Headphones", "ROUT1", 137 "Speaker", "LOUT2", 138 "Speaker", "ROUT2", 139 140 "Headphones", "Headphones Amp OUTL", 141 "Headphones", "Headphones Amp OUTR", 142 "Headphones Amp INL", "LOUT1", 143 "Headphones Amp INR", "ROUT1", 144 145 "Speaker", "Speaker Amp OUTL", 146 "Speaker", "Speaker Amp OUTR", 147 "Speaker Amp INL", "LOUT2", 148 "Speaker Amp INR", "ROUT2", 149 150 /* single ended signal to LINPUT1 */ 151 "LINPUT1", "Microphone Jack", 152 "RINPUT1", "Microphone Jack", 153 /* differential signal */ 154 "LINPUT2", "Onboard Microphone", 155 "RINPUT2", "Onboard Microphone"; 156 157 daicpu: simple-audio-card,cpu { 158 sound-dai = <&i2s0_8ch>; 159 system-clock-frequency = <12288000>; 160 }; 161 162 daicodec: simple-audio-card,codec { 163 sound-dai = <&es8388>; 164 system-clock-frequency = <12288000>; 165 }; 166 }; 167 168 vcc3v3_pcie30: vcc3v3-pcie30-regulator { 169 compatible = "regulator-fixed"; 170 enable-active-high; 171 gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>; 172 regulator-name = "vcc3v3_pcie30"; 173 regulator-min-microvolt = <3300000>; 174 regulator-max-microvolt = <3300000>; 175 startup-delay-us = <5000>; 176 vin-supply = <&vcc5v0_sys>; 177 }; 178 179 vcc3v3_pcie_eth: vcc3v3-pcie-eth-regulator { 180 compatible = "regulator-fixed"; 181 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>; 182 regulator-name = "vcc3v3_pcie_eth"; 183 regulator-min-microvolt = <3300000>; 184 regulator-max-microvolt = <3300000>; 185 startup-delay-us = <50000>; 186 vin-supply = <&vcc5v0_sys>; 187 }; 188 189 vcc3v3_wf: vcc3v3-wf-regulator { 190 compatible = "regulator-fixed"; 191 enable-active-high; 192 gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>; 193 regulator-name = "vcc3v3_wf"; 194 regulator-min-microvolt = <3300000>; 195 regulator-max-microvolt = <3300000>; 196 startup-delay-us = <50000>; 197 vin-supply = <&vcc5v0_sys>; 198 }; 199 200 vcc5v0_sys: vcc5v0-sys-regulator { 201 compatible = "regulator-fixed"; 202 regulator-name = "vcc5v0_sys"; 203 regulator-always-on; 204 regulator-boot-on; 205 regulator-min-microvolt = <5000000>; 206 regulator-max-microvolt = <5000000>; 207 }; 208 209 vcc5v0_usb20: vcc5v0-usb20-regulator { 210 compatible = "regulator-fixed"; 211 enable-active-high; 212 gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>; 213 pinctrl-names = "default"; 214 pinctrl-0 = <&vcc5v0_usb20_en>; 215 regulator-name = "vcc5v0_usb20"; 216 regulator-min-microvolt = <5000000>; 217 regulator-max-microvolt = <5000000>; 218 vin-supply = <&vcc5v0_sys>; 219 }; 220 }; 221 222 &combphy0_ps { 223 status = "okay"; 224 }; 225 226 &combphy1_ps { 227 status = "okay"; 228 }; 229 230 &combphy2_psu { 231 status = "okay"; 232 }; 233 234 &cpu_b0 { 235 cpu-supply = <&vdd_cpu_big0_s0>; 236 }; 237 238 &cpu_b1 { 239 cpu-supply = <&vdd_cpu_big0_s0>; 240 }; 241 242 &cpu_b2 { 243 cpu-supply = <&vdd_cpu_big1_s0>; 244 }; 245 246 &cpu_b3 { 247 cpu-supply = <&vdd_cpu_big1_s0>; 248 }; 249 250 &cpu_l0 { 251 cpu-supply = <&vdd_cpu_lit_s0>; 252 }; 253 254 &cpu_l1 { 255 cpu-supply = <&vdd_cpu_lit_s0>; 256 }; 257 258 &cpu_l2 { 259 cpu-supply = <&vdd_cpu_lit_s0>; 260 }; 261 262 &cpu_l3 { 263 cpu-supply = <&vdd_cpu_lit_s0>; 264 }; 265 266 &i2c0 { 267 pinctrl-names = "default"; 268 pinctrl-0 = <&i2c0m2_xfer>; 269 status = "okay"; 270 271 vdd_cpu_big0_s0: regulator@42 { 272 compatible = "rockchip,rk8602"; 273 reg = <0x42>; 274 fcs,suspend-voltage-selector = <1>; 275 regulator-name = "vdd_cpu_big0_s0"; 276 regulator-always-on; 277 regulator-boot-on; 278 regulator-min-microvolt = <550000>; 279 regulator-max-microvolt = <1050000>; 280 regulator-ramp-delay = <2300>; 281 vin-supply = <&vcc5v0_sys>; 282 283 regulator-state-mem { 284 regulator-off-in-suspend; 285 }; 286 }; 287 288 vdd_cpu_big1_s0: regulator@43 { 289 compatible = "rockchip,rk8603", "rockchip,rk8602"; 290 reg = <0x43>; 291 fcs,suspend-voltage-selector = <1>; 292 regulator-name = "vdd_cpu_big1_s0"; 293 regulator-always-on; 294 regulator-boot-on; 295 regulator-min-microvolt = <550000>; 296 regulator-max-microvolt = <1050000>; 297 regulator-ramp-delay = <2300>; 298 vin-supply = <&vcc5v0_sys>; 299 300 regulator-state-mem { 301 regulator-off-in-suspend; 302 }; 303 }; 304 }; 305 306 &i2c6 { 307 clock-frequency = <400000>; 308 status = "okay"; 309 310 hym8563: rtc@51 { 311 compatible = "haoyu,hym8563"; 312 reg = <0x51>; 313 interrupt-parent = <&gpio0>; 314 interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 315 #clock-cells = <0>; 316 clock-output-names = "hym8563"; 317 pinctrl-names = "default"; 318 pinctrl-0 = <&hym8563_int>; 319 wakeup-source; 320 }; 321 }; 322 323 &i2c7 { 324 status = "okay"; 325 326 /* PLDO2 vcca 1.8V, BUCK8 gated by PLDO2 being enabled */ 327 es8388: audio-codec@11 { 328 compatible = "everest,es8388"; 329 reg = <0x11>; 330 clocks = <&cru I2S0_8CH_MCLKOUT>; 331 AVDD-supply = <&vcc_1v8_s0>; 332 DVDD-supply = <&vcc_1v8_s0>; 333 HPVDD-supply = <&vcc_3v3_s0>; 334 PVDD-supply = <&vcc_3v3_s0>; 335 assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; 336 assigned-clock-rates = <12288000>; 337 #sound-dai-cells = <0>; 338 }; 339 }; 340 341 &i2s0_8ch { 342 pinctrl-names = "default"; 343 pinctrl-0 = <&i2s0_lrck 344 &i2s0_mclk 345 &i2s0_sclk 346 &i2s0_sdi0 347 &i2s0_sdo0>; 348 status = "okay"; 349 }; 350 351 &i2s2_2ch { 352 pinctrl-names = "default"; 353 pinctrl-0 = <&i2s2m0_lrck 354 &i2s2m0_sclk 355 &i2s2m0_sdi 356 &i2s2m0_sdo>; 357 status = "okay"; 358 }; 359 360 /* phy1 - M.KEY socket */ 361 &pcie2x1l0 { 362 reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; 363 vpcie3v3-supply = <&vcc3v3_wf>; 364 status = "okay"; 365 }; 366 367 /* phy2 - right ethernet port */ 368 &pcie2x1l1 { 369 reset-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>; 370 vpcie3v3-supply = <&vcc3v3_pcie_eth>; 371 status = "okay"; 372 }; 373 374 /* phy0 - left ethernet port */ 375 &pcie2x1l2 { 376 reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; 377 vpcie3v3-supply = <&vcc3v3_pcie_eth>; 378 status = "okay"; 379 }; 380 381 &pcie30phy { 382 status = "okay"; 383 }; 384 385 &pcie3x4 { 386 reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; 387 vpcie3v3-supply = <&vcc3v3_pcie30>; 388 status = "okay"; 389 }; 390 391 &pinctrl { 392 hym8563 { 393 hym8563_int: hym8563-int { 394 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 395 }; 396 }; 397 398 leds { 399 blue_led_pin: blue-led { 400 rockchip,pins = <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; 401 }; 402 }; 403 404 ir-receiver { 405 ir_receiver_pin: ir-receiver-pin { 406 rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 407 }; 408 }; 409 410 sound { 411 hp_detect: hp-detect { 412 rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 413 }; 414 }; 415 416 usb { 417 vcc5v0_usb20_en: vcc5v0-usb20-en { 418 rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 419 }; 420 }; 421 }; 422 423 &pwm2 { 424 pinctrl-0 = <&pwm2m1_pins>; 425 pinctrl-names = "default"; 426 status = "okay"; 427 }; 428 429 &pwm3 { 430 pinctrl-0 = <&pwm3m1_pins>; 431 status = "okay"; 432 }; 433 434 &saradc { 435 vref-supply = <&vcc_1v8_s0>; 436 status = "okay"; 437 }; 438 439 &sdhci { 440 bus-width = <8>; 441 no-sdio; 442 no-sd; 443 non-removable; 444 max-frequency = <200000000>; 445 mmc-hs400-1_8v; 446 mmc-hs400-enhanced-strobe; 447 status = "okay"; 448 }; 449 450 &sdmmc { 451 bus-width = <4>; 452 cap-sd-highspeed; 453 cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; 454 disable-wp; 455 max-frequency = <150000000>; 456 no-sdio; 457 no-mmc; 458 sd-uhs-sdr104; 459 vmmc-supply = <&vcc_3v3_s3>; 460 vqmmc-supply = <&vccio_sd_s0>; 461 status = "okay"; 462 }; 463 464 &sfc { 465 pinctrl-names = "default"; 466 pinctrl-0 = <&fspim1_pins>; 467 status = "okay"; 468 469 spi_flash: flash@0 { 470 compatible = "jedec,spi-nor"; 471 reg = <0x0>; 472 spi-max-frequency = <100000000>; 473 spi-rx-bus-width = <4>; 474 spi-tx-bus-width = <1>; 475 }; 476 }; 477 478 &spi2 { 479 assigned-clocks = <&cru CLK_SPI2>; 480 assigned-clock-rates = <200000000>; 481 num-cs = <1>; 482 pinctrl-names = "default"; 483 pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; 484 status = "okay"; 485 486 pmic@0 { 487 compatible = "rockchip,rk806"; 488 reg = <0x0>; 489 interrupt-parent = <&gpio0>; 490 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 491 pinctrl-names = "default"; 492 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 493 <&rk806_dvs2_null>, <&rk806_dvs3_null>; 494 spi-max-frequency = <1000000>; 495 system-power-controller; 496 497 vcc1-supply = <&vcc5v0_sys>; 498 vcc2-supply = <&vcc5v0_sys>; 499 vcc3-supply = <&vcc5v0_sys>; 500 vcc4-supply = <&vcc5v0_sys>; 501 vcc5-supply = <&vcc5v0_sys>; 502 vcc6-supply = <&vcc5v0_sys>; 503 vcc7-supply = <&vcc5v0_sys>; 504 vcc8-supply = <&vcc5v0_sys>; 505 vcc9-supply = <&vcc5v0_sys>; 506 vcc10-supply = <&vcc5v0_sys>; 507 vcc11-supply = <&vcc_2v0_pldo_s3>; 508 vcc12-supply = <&vcc5v0_sys>; 509 vcc13-supply = <&vdd2_ddr_s3>; 510 vcc14-supply = <&vdd2_ddr_s3>; 511 vcca-supply = <&vcc5v0_sys>; 512 513 gpio-controller; 514 #gpio-cells = <2>; 515 516 rk806_dvs1_null: dvs1-null-pins { 517 pins = "gpio_pwrctrl1"; 518 function = "pin_fun0"; 519 }; 520 521 rk806_dvs2_null: dvs2-null-pins { 522 pins = "gpio_pwrctrl2"; 523 function = "pin_fun0"; 524 }; 525 526 rk806_dvs3_null: dvs3-null-pins { 527 pins = "gpio_pwrctrl3"; 528 function = "pin_fun0"; 529 }; 530 531 regulators { 532 vdd_gpu_s0: dcdc-reg1 { 533 regulator-name = "vdd_gpu_s0"; 534 regulator-boot-on; 535 regulator-enable-ramp-delay = <400>; 536 regulator-min-microvolt = <550000>; 537 regulator-max-microvolt = <950000>; 538 regulator-ramp-delay = <12500>; 539 540 regulator-state-mem { 541 regulator-off-in-suspend; 542 }; 543 }; 544 545 vdd_cpu_lit_s0: dcdc-reg2 { 546 regulator-name = "vdd_cpu_lit_s0"; 547 regulator-always-on; 548 regulator-boot-on; 549 regulator-min-microvolt = <550000>; 550 regulator-max-microvolt = <950000>; 551 regulator-ramp-delay = <12500>; 552 553 regulator-state-mem { 554 regulator-off-in-suspend; 555 }; 556 }; 557 558 vdd_log_s0: dcdc-reg3 { 559 regulator-name = "vdd_log_s0"; 560 regulator-always-on; 561 regulator-boot-on; 562 regulator-min-microvolt = <675000>; 563 regulator-max-microvolt = <825000>; 564 regulator-ramp-delay = <12500>; 565 566 regulator-state-mem { 567 regulator-off-in-suspend; 568 regulator-suspend-microvolt = <750000>; 569 }; 570 }; 571 572 vdd_vdenc_s0: dcdc-reg4 { 573 regulator-name = "vdd_vdenc_s0"; 574 regulator-always-on; 575 regulator-boot-on; 576 regulator-min-microvolt = <550000>; 577 regulator-max-microvolt = <825000>; 578 regulator-ramp-delay = <12500>; 579 580 regulator-state-mem { 581 regulator-off-in-suspend; 582 }; 583 }; 584 585 vdd_ddr_s0: dcdc-reg5 { 586 regulator-name = "vdd_ddr_s0"; 587 regulator-always-on; 588 regulator-boot-on; 589 regulator-min-microvolt = <675000>; 590 regulator-max-microvolt = <900000>; 591 regulator-ramp-delay = <12500>; 592 593 regulator-state-mem { 594 regulator-off-in-suspend; 595 regulator-suspend-microvolt = <850000>; 596 }; 597 }; 598 599 vdd2_ddr_s3: dcdc-reg6 { 600 regulator-name = "vdd2_ddr_s3"; 601 regulator-always-on; 602 regulator-boot-on; 603 604 regulator-state-mem { 605 regulator-on-in-suspend; 606 }; 607 }; 608 609 vcc_2v0_pldo_s3: dcdc-reg7 { 610 regulator-name = "vdd_2v0_pldo_s3"; 611 regulator-always-on; 612 regulator-boot-on; 613 regulator-min-microvolt = <2000000>; 614 regulator-max-microvolt = <2000000>; 615 regulator-ramp-delay = <12500>; 616 617 regulator-state-mem { 618 regulator-on-in-suspend; 619 regulator-suspend-microvolt = <2000000>; 620 }; 621 }; 622 623 vcc_3v3_s3: dcdc-reg8 { 624 regulator-name = "vcc_3v3_s3"; 625 regulator-always-on; 626 regulator-boot-on; 627 regulator-min-microvolt = <3300000>; 628 regulator-max-microvolt = <3300000>; 629 630 regulator-state-mem { 631 regulator-on-in-suspend; 632 regulator-suspend-microvolt = <3300000>; 633 }; 634 }; 635 636 vddq_ddr_s0: dcdc-reg9 { 637 regulator-name = "vddq_ddr_s0"; 638 regulator-always-on; 639 regulator-boot-on; 640 641 regulator-state-mem { 642 regulator-off-in-suspend; 643 }; 644 }; 645 646 vcc_1v8_s3: dcdc-reg10 { 647 regulator-name = "vcc_1v8_s3"; 648 regulator-always-on; 649 regulator-boot-on; 650 regulator-min-microvolt = <1800000>; 651 regulator-max-microvolt = <1800000>; 652 653 regulator-state-mem { 654 regulator-on-in-suspend; 655 regulator-suspend-microvolt = <1800000>; 656 }; 657 }; 658 659 avcc_1v8_s0: pldo-reg1 { 660 regulator-name = "avcc_1v8_s0"; 661 regulator-always-on; 662 regulator-boot-on; 663 regulator-min-microvolt = <1800000>; 664 regulator-max-microvolt = <1800000>; 665 666 regulator-state-mem { 667 regulator-off-in-suspend; 668 regulator-suspend-microvolt = <1800000>; 669 }; 670 }; 671 672 /* shorted to avcc_1v8_s0 on the board */ 673 vcc_1v8_s0: pldo-reg2 { 674 regulator-name = "vcc_1v8_s0"; 675 regulator-always-on; 676 regulator-boot-on; 677 regulator-min-microvolt = <1800000>; 678 regulator-max-microvolt = <1800000>; 679 680 regulator-state-mem { 681 regulator-off-in-suspend; 682 regulator-suspend-microvolt = <1800000>; 683 }; 684 }; 685 686 avdd_1v2_s0: pldo-reg3 { 687 regulator-name = "avdd_1v2_s0"; 688 regulator-always-on; 689 regulator-boot-on; 690 regulator-min-microvolt = <1200000>; 691 regulator-max-microvolt = <1200000>; 692 693 regulator-state-mem { 694 regulator-off-in-suspend; 695 }; 696 }; 697 698 vcc_3v3_s0: pldo-reg4 { 699 regulator-name = "vcc_3v3_s0"; 700 regulator-always-on; 701 regulator-boot-on; 702 regulator-min-microvolt = <3300000>; 703 regulator-max-microvolt = <3300000>; 704 regulator-ramp-delay = <12500>; 705 706 regulator-state-mem { 707 regulator-off-in-suspend; 708 }; 709 }; 710 711 vccio_sd_s0: pldo-reg5 { 712 regulator-name = "vccio_sd_s0"; 713 regulator-always-on; 714 regulator-boot-on; 715 regulator-min-microvolt = <1800000>; 716 regulator-max-microvolt = <3300000>; 717 regulator-ramp-delay = <12500>; 718 719 regulator-state-mem { 720 regulator-off-in-suspend; 721 }; 722 }; 723 724 pldo6_s3: pldo-reg6 { 725 regulator-name = "pldo6_s3"; 726 regulator-always-on; 727 regulator-boot-on; 728 regulator-min-microvolt = <1800000>; 729 regulator-max-microvolt = <1800000>; 730 731 regulator-state-mem { 732 regulator-on-in-suspend; 733 regulator-suspend-microvolt = <1800000>; 734 }; 735 }; 736 737 vdd_0v75_s3: nldo-reg1 { 738 regulator-name = "vdd_0v75_s3"; 739 regulator-always-on; 740 regulator-boot-on; 741 regulator-min-microvolt = <750000>; 742 regulator-max-microvolt = <750000>; 743 744 regulator-state-mem { 745 regulator-on-in-suspend; 746 regulator-suspend-microvolt = <750000>; 747 }; 748 }; 749 750 vdd_ddr_pll_s0: nldo-reg2 { 751 regulator-name = "vdd_ddr_pll_s0"; 752 regulator-always-on; 753 regulator-boot-on; 754 regulator-min-microvolt = <850000>; 755 regulator-max-microvolt = <850000>; 756 757 regulator-state-mem { 758 regulator-off-in-suspend; 759 regulator-suspend-microvolt = <850000>; 760 }; 761 }; 762 763 avdd_0v75_s0: nldo-reg3 { 764 regulator-name = "avdd_0v75_s0"; 765 regulator-always-on; 766 regulator-boot-on; 767 /* 768 * The schematic mentions that actual setting 769 * should be 0.8375V. RK3588 datasheet specifies 770 * maximum as 0.825V. So we set datasheet max 771 * here. 772 */ 773 regulator-min-microvolt = <825000>; 774 regulator-max-microvolt = <825000>; 775 776 regulator-state-mem { 777 regulator-off-in-suspend; 778 }; 779 }; 780 781 vdd_0v85_s0: nldo-reg4 { 782 regulator-name = "vdd_0v85_s0"; 783 regulator-always-on; 784 regulator-boot-on; 785 regulator-min-microvolt = <850000>; 786 regulator-max-microvolt = <850000>; 787 788 regulator-state-mem { 789 regulator-off-in-suspend; 790 }; 791 }; 792 793 vdd_0v75_s0: nldo-reg5 { 794 regulator-name = "vdd_0v75_s0"; 795 regulator-always-on; 796 regulator-boot-on; 797 regulator-min-microvolt = <750000>; 798 regulator-max-microvolt = <750000>; 799 800 regulator-state-mem { 801 regulator-off-in-suspend; 802 }; 803 }; 804 }; 805 }; 806 }; 807 808 &tsadc { 809 status = "okay"; 810 }; 811 812 &u2phy2 { 813 status = "okay"; 814 }; 815 816 &u2phy3 { 817 status = "okay"; 818 }; 819 820 &u2phy2_host { 821 phy-supply = <&vcc5v0_usb20>; 822 status = "okay"; 823 }; 824 825 &u2phy3_host { 826 phy-supply = <&vcc5v0_usb20>; 827 status = "okay"; 828 }; 829 830 &uart2 { 831 pinctrl-0 = <&uart2m0_xfer>; 832 status = "okay"; 833 }; 834 835 &uart9 { 836 pinctrl-0 = <&uart9m0_xfer>; 837 status = "okay"; 838 }; 839 840 &usb_host0_ehci { 841 status = "okay"; 842 }; 843 844 &usb_host0_ohci { 845 status = "okay"; 846 }; 847 848 &usb_host1_ehci { 849 status = "okay"; 850 }; 851 852 &usb_host1_ohci { 853 status = "okay"; 854 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.