1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. 4 * Copyright (c) 2018 Akash Gajjar <Akash_Gajjar@mentor.com> 5 */ 6 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 chosen { 14 stdout-path = "serial2:1500000n8"; 15 }; 16 17 clkin_gmac: external-gmac-clock { 18 compatible = "fixed-clock"; 19 clock-frequency = <125000000>; 20 clock-output-names = "clkin_gmac"; 21 #clock-cells = <0>; 22 }; 23 24 gpio-keys { 25 compatible = "gpio-keys"; 26 autorepeat; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&pwrbtn>; 29 30 power { 31 debounce-interval = <100>; 32 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 33 label = "GPIO Key Power"; 34 linux,code = <KEY_POWER>; 35 wakeup-source; 36 }; 37 }; 38 39 leds { 40 compatible = "gpio-leds"; 41 pinctrl-names = "default"; 42 pinctrl-0 = <&work_led_gpio>, <&diy_led_gpio>; 43 44 work-led { 45 label = "work"; 46 default-state = "on"; 47 gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; 48 }; 49 50 diy-led { 51 label = "diy"; 52 default-state = "off"; 53 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; 54 }; 55 }; 56 57 fan: pwm-fan { 58 compatible = "pwm-fan"; 59 #cooling-cells = <2>; 60 fan-supply = <&vcc12v_dcin>; 61 pwms = <&pwm1 0 50000 0>; 62 }; 63 64 sdio_pwrseq: sdio-pwrseq { 65 compatible = "mmc-pwrseq-simple"; 66 clocks = <&rk808 1>; 67 clock-names = "ext_clock"; 68 pinctrl-names = "default"; 69 pinctrl-0 = <&wifi_enable_h>; 70 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 71 }; 72 73 sound { 74 compatible = "audio-graph-card"; 75 label = "rockchip,rk3399"; 76 dais = <&i2s1_p0>; 77 }; 78 79 vcc12v_dcin: vcc12v-dcin { 80 compatible = "regulator-fixed"; 81 regulator-name = "vcc12v_dcin"; 82 regulator-always-on; 83 regulator-boot-on; 84 regulator-min-microvolt = <12000000>; 85 regulator-max-microvolt = <12000000>; 86 }; 87 88 /* switched by pmic_sleep */ 89 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 { 90 compatible = "regulator-fixed"; 91 regulator-name = "vcc1v8_s3"; 92 regulator-always-on; 93 regulator-boot-on; 94 regulator-min-microvolt = <1800000>; 95 regulator-max-microvolt = <1800000>; 96 vin-supply = <&vcc_1v8>; 97 }; 98 99 /* micro SD card power */ 100 vcc3v0_sd: vcc3v0-sd { 101 compatible = "regulator-fixed"; 102 enable-active-high; 103 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>; 104 pinctrl-names = "default"; 105 pinctrl-0 = <&sdmmc0_pwr_h>; 106 regulator-name = "vcc3v0_sd"; 107 regulator-always-on; 108 regulator-min-microvolt = <3000000>; 109 regulator-max-microvolt = <3000000>; 110 vin-supply = <&vcc3v3_sys>; 111 112 regulator-state-mem { 113 regulator-off-in-suspend; 114 }; 115 }; 116 117 vcc3v3_pcie: vcc3v3-pcie-regulator { 118 compatible = "regulator-fixed"; 119 enable-active-high; 120 gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>; 121 pinctrl-names = "default"; 122 pinctrl-0 = <&pcie_pwr_en>; 123 regulator-name = "vcc3v3_pcie"; 124 regulator-always-on; 125 regulator-boot-on; 126 vin-supply = <&vcc12v_dcin>; 127 }; 128 129 vcc3v3_sys: vcc3v3-sys { 130 compatible = "regulator-fixed"; 131 regulator-name = "vcc3v3_sys"; 132 regulator-always-on; 133 regulator-boot-on; 134 regulator-min-microvolt = <3300000>; 135 regulator-max-microvolt = <3300000>; 136 vin-supply = <&vcc5v0_sys>; 137 }; 138 139 /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */ 140 vcc5v0_host: vcc5v0-host-regulator { 141 compatible = "regulator-fixed"; 142 enable-active-high; 143 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; 144 pinctrl-names = "default"; 145 pinctrl-0 = <&vcc5v0_host_en>; 146 regulator-name = "vcc5v0_host"; 147 regulator-always-on; 148 vin-supply = <&vcc5v0_usb>; 149 }; 150 151 vcc5v0_typec: vcc5v0-typec-regulator { 152 compatible = "regulator-fixed"; 153 enable-active-high; 154 gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; 155 pinctrl-names = "default"; 156 pinctrl-0 = <&vcc5v0_typec_en>; 157 regulator-name = "vcc5v0_typec"; 158 regulator-always-on; 159 vin-supply = <&vcc5v0_usb>; 160 }; 161 162 vcc5v0_sys: vcc5v0-sys { 163 compatible = "regulator-fixed"; 164 regulator-name = "vcc5v0_sys"; 165 regulator-always-on; 166 regulator-boot-on; 167 regulator-min-microvolt = <5000000>; 168 regulator-max-microvolt = <5000000>; 169 vin-supply = <&vcc12v_dcin>; 170 }; 171 172 vcc5v0_usb: vcc5v0-usb { 173 compatible = "regulator-fixed"; 174 regulator-name = "vcc5v0_usb"; 175 regulator-always-on; 176 regulator-boot-on; 177 regulator-min-microvolt = <5000000>; 178 regulator-max-microvolt = <5000000>; 179 vin-supply = <&vcc12v_dcin>; 180 }; 181 182 vdd_log: vdd-log { 183 compatible = "pwm-regulator"; 184 pwms = <&pwm2 0 25000 1>; 185 regulator-name = "vdd_log"; 186 regulator-always-on; 187 regulator-boot-on; 188 regulator-min-microvolt = <800000>; 189 regulator-max-microvolt = <1700000>; 190 vin-supply = <&vcc5v0_sys>; 191 }; 192}; 193 194&cpu_l0 { 195 cpu-supply = <&vdd_cpu_l>; 196}; 197 198&cpu_l1 { 199 cpu-supply = <&vdd_cpu_l>; 200}; 201 202&cpu_l2 { 203 cpu-supply = <&vdd_cpu_l>; 204}; 205 206&cpu_l3 { 207 cpu-supply = <&vdd_cpu_l>; 208}; 209 210&cpu_b0 { 211 cpu-supply = <&vdd_cpu_b>; 212}; 213 214&cpu_b1 { 215 cpu-supply = <&vdd_cpu_b>; 216}; 217 218&emmc_phy { 219 status = "okay"; 220}; 221 222&gmac { 223 assigned-clocks = <&cru SCLK_RMII_SRC>; 224 assigned-clock-parents = <&clkin_gmac>; 225 clock_in_out = "input"; 226 phy-supply = <&vcc_lan>; 227 phy-mode = "rgmii"; 228 pinctrl-names = "default"; 229 pinctrl-0 = <&rgmii_pins>; 230 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 231 snps,reset-active-low; 232 snps,reset-delays-us = <0 10000 50000>; 233 tx_delay = <0x28>; 234 rx_delay = <0x11>; 235 status = "okay"; 236}; 237 238&hdmi { 239 ddc-i2c-bus = <&i2c3>; 240 pinctrl-names = "default"; 241 pinctrl-0 = <&hdmi_cec>; 242 status = "okay"; 243}; 244 245&hdmi_sound { 246 status = "okay"; 247}; 248 249&gpu { 250 mali-supply = <&vdd_gpu>; 251 status = "okay"; 252}; 253 254&i2c0 { 255 clock-frequency = <400000>; 256 i2c-scl-rising-time-ns = <168>; 257 i2c-scl-falling-time-ns = <4>; 258 status = "okay"; 259 260 rk808: pmic@1b { 261 compatible = "rockchip,rk808"; 262 reg = <0x1b>; 263 interrupt-parent = <&gpio3>; 264 interrupts = <10 IRQ_TYPE_LEVEL_LOW>; 265 #clock-cells = <1>; 266 clock-output-names = "xin32k", "rk808-clkout2"; 267 pinctrl-names = "default"; 268 pinctrl-0 = <&pmic_int_l>; 269 rockchip,system-power-controller; 270 wakeup-source; 271 272 vcc1-supply = <&vcc5v0_sys>; 273 vcc2-supply = <&vcc5v0_sys>; 274 vcc3-supply = <&vcc5v0_sys>; 275 vcc4-supply = <&vcc5v0_sys>; 276 vcc6-supply = <&vcc5v0_sys>; 277 vcc7-supply = <&vcc5v0_sys>; 278 vcc8-supply = <&vcc3v3_sys>; 279 vcc9-supply = <&vcc5v0_sys>; 280 vcc10-supply = <&vcc5v0_sys>; 281 vcc11-supply = <&vcc5v0_sys>; 282 vcc12-supply = <&vcc3v3_sys>; 283 vddio-supply = <&vcca_1v8>; 284 285 regulators { 286 vdd_center: DCDC_REG1 { 287 regulator-name = "vdd_center"; 288 regulator-always-on; 289 regulator-boot-on; 290 regulator-min-microvolt = <750000>; 291 regulator-max-microvolt = <1350000>; 292 regulator-ramp-delay = <6001>; 293 regulator-state-mem { 294 regulator-off-in-suspend; 295 }; 296 }; 297 298 vdd_cpu_l: DCDC_REG2 { 299 regulator-name = "vdd_cpu_l"; 300 regulator-always-on; 301 regulator-boot-on; 302 regulator-min-microvolt = <750000>; 303 regulator-max-microvolt = <1350000>; 304 regulator-ramp-delay = <6001>; 305 regulator-state-mem { 306 regulator-off-in-suspend; 307 }; 308 }; 309 310 vcc_ddr: DCDC_REG3 { 311 regulator-name = "vcc_ddr"; 312 regulator-always-on; 313 regulator-boot-on; 314 regulator-state-mem { 315 regulator-on-in-suspend; 316 }; 317 }; 318 319 vcc_1v8: DCDC_REG4 { 320 regulator-name = "vcc_1v8"; 321 regulator-always-on; 322 regulator-boot-on; 323 regulator-min-microvolt = <1800000>; 324 regulator-max-microvolt = <1800000>; 325 regulator-state-mem { 326 regulator-on-in-suspend; 327 regulator-suspend-microvolt = <1800000>; 328 }; 329 }; 330 331 vcc1v8_dvp: LDO_REG1 { 332 regulator-name = "vcc1v8_dvp"; 333 regulator-always-on; 334 regulator-boot-on; 335 regulator-min-microvolt = <1800000>; 336 regulator-max-microvolt = <1800000>; 337 regulator-state-mem { 338 regulator-off-in-suspend; 339 }; 340 }; 341 342 vcc3v0_touch: LDO_REG2 { 343 regulator-name = "vcc3v0_touch"; 344 regulator-always-on; 345 regulator-boot-on; 346 regulator-min-microvolt = <3000000>; 347 regulator-max-microvolt = <3000000>; 348 regulator-state-mem { 349 regulator-off-in-suspend; 350 }; 351 }; 352 353 vcca_1v8: LDO_REG3 { 354 regulator-name = "vcca_1v8"; 355 regulator-always-on; 356 regulator-boot-on; 357 regulator-min-microvolt = <1800000>; 358 regulator-max-microvolt = <1800000>; 359 regulator-state-mem { 360 regulator-on-in-suspend; 361 regulator-suspend-microvolt = <1800000>; 362 }; 363 }; 364 365 vcc_sdio: LDO_REG4 { 366 regulator-name = "vcc_sdio"; 367 regulator-always-on; 368 regulator-boot-on; 369 regulator-min-microvolt = <1800000>; 370 regulator-max-microvolt = <3000000>; 371 regulator-state-mem { 372 regulator-on-in-suspend; 373 regulator-suspend-microvolt = <3000000>; 374 }; 375 }; 376 377 vcca3v0_codec: LDO_REG5 { 378 regulator-name = "vcca3v0_codec"; 379 regulator-always-on; 380 regulator-boot-on; 381 regulator-min-microvolt = <3000000>; 382 regulator-max-microvolt = <3000000>; 383 regulator-state-mem { 384 regulator-off-in-suspend; 385 }; 386 }; 387 388 vcc_1v5: LDO_REG6 { 389 regulator-name = "vcc_1v5"; 390 regulator-always-on; 391 regulator-boot-on; 392 regulator-min-microvolt = <1500000>; 393 regulator-max-microvolt = <1500000>; 394 regulator-state-mem { 395 regulator-on-in-suspend; 396 regulator-suspend-microvolt = <1500000>; 397 }; 398 }; 399 400 vcca1v8_codec: LDO_REG7 { 401 regulator-name = "vcca1v8_codec"; 402 regulator-always-on; 403 regulator-boot-on; 404 regulator-min-microvolt = <1800000>; 405 regulator-max-microvolt = <1800000>; 406 regulator-state-mem { 407 regulator-off-in-suspend; 408 }; 409 }; 410 411 vcc_3v0: LDO_REG8 { 412 regulator-name = "vcc_3v0"; 413 regulator-always-on; 414 regulator-boot-on; 415 regulator-min-microvolt = <3000000>; 416 regulator-max-microvolt = <3000000>; 417 regulator-state-mem { 418 regulator-on-in-suspend; 419 regulator-suspend-microvolt = <3000000>; 420 }; 421 }; 422 423 vcc3v3_s3: vcc_lan: SWITCH_REG1 { 424 regulator-name = "vcc3v3_s3"; 425 regulator-always-on; 426 regulator-boot-on; 427 regulator-state-mem { 428 regulator-off-in-suspend; 429 }; 430 }; 431 432 vcc3v3_s0: SWITCH_REG2 { 433 regulator-name = "vcc3v3_s0"; 434 regulator-always-on; 435 regulator-boot-on; 436 regulator-state-mem { 437 regulator-off-in-suspend; 438 }; 439 }; 440 }; 441 }; 442 443 vdd_cpu_b: regulator@40 { 444 compatible = "silergy,syr827"; 445 reg = <0x40>; 446 fcs,suspend-voltage-selector = <1>; 447 pinctrl-names = "default"; 448 pinctrl-0 = <&vsel1_gpio>; 449 regulator-name = "vdd_cpu_b"; 450 regulator-min-microvolt = <712500>; 451 regulator-max-microvolt = <1500000>; 452 regulator-ramp-delay = <1000>; 453 regulator-always-on; 454 regulator-boot-on; 455 vin-supply = <&vcc5v0_sys>; 456 457 regulator-state-mem { 458 regulator-off-in-suspend; 459 }; 460 }; 461 462 vdd_gpu: regulator@41 { 463 compatible = "silergy,syr828"; 464 reg = <0x41>; 465 fcs,suspend-voltage-selector = <1>; 466 pinctrl-names = "default"; 467 pinctrl-0 = <&vsel2_gpio>; 468 regulator-name = "vdd_gpu"; 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 = <&vcc5v0_sys>; 475 476 regulator-state-mem { 477 regulator-off-in-suspend; 478 }; 479 }; 480}; 481 482&i2c1 { 483 i2c-scl-rising-time-ns = <300>; 484 i2c-scl-falling-time-ns = <15>; 485 status = "okay"; 486}; 487 488&i2c3 { 489 i2c-scl-rising-time-ns = <450>; 490 i2c-scl-falling-time-ns = <15>; 491 status = "okay"; 492}; 493 494&i2c4 { 495 i2c-scl-rising-time-ns = <600>; 496 i2c-scl-falling-time-ns = <20>; 497 status = "okay"; 498 499 fusb0: typec-portc@22 { 500 compatible = "fcs,fusb302"; 501 reg = <0x22>; 502 interrupt-parent = <&gpio1>; 503 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>; 504 pinctrl-names = "default"; 505 pinctrl-0 = <&fusb0_int>; 506 vbus-supply = <&vcc5v0_typec>; 507 status = "okay"; 508 }; 509}; 510 511&i2s0 { 512 rockchip,playback-channels = <8>; 513 rockchip,capture-channels = <8>; 514 status = "okay"; 515}; 516 517&i2s1 { 518 rockchip,playback-channels = <2>; 519 rockchip,capture-channels = <2>; 520 status = "okay"; 521 522 i2s1_p0: port { 523 i2s1_p0_0: endpoint { 524 dai-format = "i2s"; 525 mclk-fs = <256>; 526 remote-endpoint = <&es8316_p0_0>; 527 }; 528 }; 529}; 530 531&i2s2 { 532 status = "okay"; 533}; 534 535&io_domains { 536 status = "okay"; 537 538 bt656-supply = <&vcc1v8_dvp>; 539 audio-supply = <&vcc_3v0>; 540 sdmmc-supply = <&vcc_sdio>; 541 gpio1830-supply = <&vcc_3v0>; 542}; 543 544&pcie0 { 545 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; 546 num-lanes = <4>; 547 pinctrl-names = "default"; 548 pinctrl-0 = <&pcie_perst>; 549 vpcie12v-supply = <&vcc12v_dcin>; 550 vpcie3v3-supply = <&vcc3v3_pcie>; 551 status = "okay"; 552}; 553 554&pcie_phy { 555 status = "okay"; 556}; 557 558&pmu_io_domains { 559 pmu1830-supply = <&vcc_3v0>; 560 status = "okay"; 561}; 562 563&pinctrl { 564 bt { 565 bt_enable_h: bt-enable-h { 566 rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 567 }; 568 569 bt_host_wake_l: bt-host-wake-l { 570 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>; 571 }; 572 573 bt_wake_l: bt-wake-l { 574 rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 575 }; 576 }; 577 578 buttons { 579 pwrbtn: pwrbtn { 580 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 581 }; 582 }; 583 584 fusb302x { 585 fusb0_int: fusb0-int { 586 rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; 587 }; 588 }; 589 590 leds { 591 work_led_gpio: work_led-gpio { 592 rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 593 }; 594 595 diy_led_gpio: diy_led-gpio { 596 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 597 }; 598 }; 599 600 pcie { 601 pcie_perst: pcie-perst { 602 rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 603 }; 604 605 pcie_pwr_en: pcie-pwr-en { 606 rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 607 }; 608 }; 609 610 pmic { 611 pmic_int_l: pmic-int-l { 612 rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 613 }; 614 615 vsel1_gpio: vsel1-gpio { 616 rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>; 617 }; 618 619 vsel2_gpio: vsel2-gpio { 620 rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; 621 }; 622 }; 623 624 sdcard { 625 sdmmc0_pwr_h: sdmmc0-pwr-h { 626 rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 627 }; 628 629 }; 630 631 sdio-pwrseq { 632 wifi_enable_h: wifi-enable-h { 633 rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 634 }; 635 }; 636 637 usb-typec { 638 vcc5v0_typec_en: vcc5v0_typec_en { 639 rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 640 }; 641 }; 642 643 usb2 { 644 vcc5v0_host_en: vcc5v0-host-en { 645 rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 646 }; 647 }; 648}; 649 650&pwm0 { 651 status = "okay"; 652}; 653 654&pwm1 { 655 status = "okay"; 656}; 657 658&pwm2 { 659 status = "okay"; 660}; 661 662&saradc { 663 vref-supply = <&vcca1v8_s3>; 664 status = "okay"; 665}; 666 667&sdio0 { 668 bus-width = <4>; 669 cap-sd-highspeed; 670 cap-sdio-irq; 671 disable-wp; 672 keep-power-in-suspend; 673 mmc-pwrseq = <&sdio_pwrseq>; 674 non-removable; 675 pinctrl-names = "default"; 676 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; 677 sd-uhs-sdr104; 678 status = "okay"; 679}; 680 681&sdmmc { 682 bus-width = <4>; 683 cap-sd-highspeed; 684 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 685 disable-wp; 686 max-frequency = <150000000>; 687 pinctrl-names = "default"; 688 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; 689 vmmc-supply = <&vcc3v0_sd>; 690 vqmmc-supply = <&vcc_sdio>; 691 status = "okay"; 692}; 693 694&sdhci { 695 bus-width = <8>; 696 mmc-hs200-1_8v; 697 non-removable; 698 status = "okay"; 699}; 700 701&spi1 { 702 status = "okay"; 703 704 flash@0 { 705 compatible = "jedec,spi-nor"; 706 reg = <0>; 707 spi-max-frequency = <10000000>; 708 }; 709}; 710 711&tcphy0 { 712 status = "okay"; 713}; 714 715&tcphy1 { 716 status = "okay"; 717}; 718 719&tsadc { 720 /* tshut mode 0:CRU 1:GPIO */ 721 rockchip,hw-tshut-mode = <1>; 722 /* tshut polarity 0:LOW 1:HIGH */ 723 rockchip,hw-tshut-polarity = <1>; 724 status = "okay"; 725}; 726 727&u2phy0 { 728 status = "okay"; 729 730 u2phy0_otg: otg-port { 731 status = "okay"; 732 }; 733 734 u2phy0_host: host-port { 735 phy-supply = <&vcc5v0_host>; 736 status = "okay"; 737 }; 738}; 739 740&u2phy1 { 741 status = "okay"; 742 743 u2phy1_otg: otg-port { 744 status = "okay"; 745 }; 746 747 u2phy1_host: host-port { 748 phy-supply = <&vcc5v0_host>; 749 status = "okay"; 750 }; 751}; 752 753&uart0 { 754 pinctrl-names = "default"; 755 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 756 status = "okay"; 757 758 bluetooth { 759 compatible = "brcm,bcm43438-bt"; 760 clocks = <&rk808 1>; 761 clock-names = "lpo"; 762 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 763 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 764 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 765 pinctrl-names = "default"; 766 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 767 vbat-supply = <&vcc3v3_sys>; 768 vddio-supply = <&vcc_1v8>; 769 }; 770}; 771 772&uart2 { 773 status = "okay"; 774}; 775 776&usb_host0_ehci { 777 status = "okay"; 778}; 779 780&usb_host0_ohci { 781 status = "okay"; 782}; 783 784&usb_host1_ehci { 785 status = "okay"; 786}; 787 788&usb_host1_ohci { 789 status = "okay"; 790}; 791 792&usbdrd3_0 { 793 status = "okay"; 794}; 795 796&usbdrd_dwc3_0 { 797 status = "okay"; 798 dr_mode = "otg"; 799}; 800 801&usbdrd3_1 { 802 status = "okay"; 803}; 804 805&usbdrd_dwc3_1 { 806 status = "okay"; 807 dr_mode = "host"; 808}; 809 810&vopb { 811 status = "okay"; 812}; 813 814&vopb_mmu { 815 status = "okay"; 816}; 817 818&vopl { 819 status = "okay"; 820}; 821 822&vopl_mmu { 823 status = "okay"; 824}; 825