Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * RK3399-based FriendlyElec boards device tree source
0004  *
0005  * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
0006  *
0007  * Copyright (c) 2018 FriendlyElec Computer Tech. Co., Ltd.
0008  * (http://www.friendlyarm.com)
0009  *
0010  * Copyright (c) 2018 Collabora Ltd.
0011  * Copyright (c) 2019 Arm Ltd.
0012  */
0013 
0014 /dts-v1/;
0015 #include <dt-bindings/input/linux-event-codes.h>
0016 #include "rk3399.dtsi"
0017 #include "rk3399-opp.dtsi"
0018 
0019 / {
0020         aliases {
0021                 mmc0 = &sdio0;
0022                 mmc1 = &sdmmc;
0023                 mmc2 = &sdhci;
0024         };
0025 
0026         chosen {
0027                 stdout-path = "serial2:1500000n8";
0028         };
0029 
0030         clkin_gmac: external-gmac-clock {
0031                 compatible = "fixed-clock";
0032                 clock-frequency = <125000000>;
0033                 clock-output-names = "clkin_gmac";
0034                 #clock-cells = <0>;
0035         };
0036 
0037         vcc3v3_sys: vcc3v3-sys {
0038                 compatible = "regulator-fixed";
0039                 regulator-always-on;
0040                 regulator-boot-on;
0041                 regulator-min-microvolt = <3300000>;
0042                 regulator-max-microvolt = <3300000>;
0043                 regulator-name = "vcc3v3_sys";
0044         };
0045 
0046         vcc5v0_sys: vcc5v0-sys {
0047                 compatible = "regulator-fixed";
0048                 regulator-always-on;
0049                 regulator-boot-on;
0050                 regulator-min-microvolt = <5000000>;
0051                 regulator-max-microvolt = <5000000>;
0052                 regulator-name = "vcc5v0_sys";
0053                 vin-supply = <&vdd_5v>;
0054         };
0055 
0056         /* switched by pmic_sleep */
0057         vcc1v8_s3: vcc1v8-s3 {
0058                 compatible = "regulator-fixed";
0059                 regulator-always-on;
0060                 regulator-boot-on;
0061                 regulator-min-microvolt = <1800000>;
0062                 regulator-max-microvolt = <1800000>;
0063                 regulator-name = "vcc1v8_s3";
0064                 vin-supply = <&vcc_1v8>;
0065         };
0066 
0067         vcc3v0_sd: vcc3v0-sd {
0068                 compatible = "regulator-fixed";
0069                 enable-active-high;
0070                 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
0071                 pinctrl-names = "default";
0072                 pinctrl-0 = <&sdmmc0_pwr_h>;
0073                 regulator-always-on;
0074                 regulator-min-microvolt = <3000000>;
0075                 regulator-max-microvolt = <3000000>;
0076                 regulator-name = "vcc3v0_sd";
0077                 vin-supply = <&vcc3v3_sys>;
0078         };
0079 
0080         /*
0081          * Really, this is supplied by vcc_1v8, and vcc1v8_s3 only
0082          * drives the enable pin, but we can't quite model that.
0083          */
0084         vcca0v9_s3: vcca0v9-s3 {
0085                 compatible = "regulator-fixed";
0086                 regulator-min-microvolt = <900000>;
0087                 regulator-max-microvolt = <900000>;
0088                 regulator-name = "vcca0v9_s3";
0089                 vin-supply = <&vcc1v8_s3>;
0090         };
0091 
0092         /* As above, actually supplied by vcc3v3_sys */
0093         vcca1v8_s3: vcca1v8-s3 {
0094                 compatible = "regulator-fixed";
0095                 regulator-min-microvolt = <1800000>;
0096                 regulator-max-microvolt = <1800000>;
0097                 regulator-name = "vcca1v8_s3";
0098                 vin-supply = <&vcc1v8_s3>;
0099         };
0100 
0101         vbus_typec: vbus-typec {
0102                 compatible = "regulator-fixed";
0103                 regulator-min-microvolt = <5000000>;
0104                 regulator-max-microvolt = <5000000>;
0105                 regulator-name = "vbus_typec";
0106         };
0107 
0108         gpio-keys {
0109                 compatible = "gpio-keys";
0110                 autorepeat;
0111                 pinctrl-names = "default";
0112                 pinctrl-0 = <&power_key>;
0113 
0114                 key-power {
0115                         debounce-interval = <100>;
0116                         gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
0117                         label = "GPIO Key Power";
0118                         linux,code = <KEY_POWER>;
0119                         wakeup-source;
0120                 };
0121         };
0122 
0123         leds: gpio-leds {
0124                 compatible = "gpio-leds";
0125                 pinctrl-names = "default";
0126                 pinctrl-0 = <&status_led_pin>;
0127 
0128                 status_led: led-0 {
0129                         gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
0130                         label = "status_led";
0131                         linux,default-trigger = "heartbeat";
0132                 };
0133         };
0134 
0135         sdio_pwrseq: sdio-pwrseq {
0136                 compatible = "mmc-pwrseq-simple";
0137                 clocks = <&rk808 1>;
0138                 clock-names = "ext_clock";
0139                 pinctrl-names = "default";
0140                 pinctrl-0 = <&wifi_reg_on_h>;
0141                 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
0142         };
0143 };
0144 
0145 &cpu_b0 {
0146         cpu-supply = <&vdd_cpu_b>;
0147 };
0148 
0149 &cpu_b1 {
0150         cpu-supply = <&vdd_cpu_b>;
0151 };
0152 
0153 &cpu_l0 {
0154         cpu-supply = <&vdd_cpu_l>;
0155 };
0156 
0157 &cpu_l1 {
0158         cpu-supply = <&vdd_cpu_l>;
0159 };
0160 
0161 &cpu_l2 {
0162         cpu-supply = <&vdd_cpu_l>;
0163 };
0164 
0165 &cpu_l3 {
0166         cpu-supply = <&vdd_cpu_l>;
0167 };
0168 
0169 &emmc_phy {
0170         status = "okay";
0171 };
0172 
0173 &gmac {
0174         assigned-clock-parents = <&clkin_gmac>;
0175         assigned-clocks = <&cru SCLK_RMII_SRC>;
0176         clock_in_out = "input";
0177         pinctrl-names = "default";
0178         pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
0179         phy-handle = <&rtl8211e>;
0180         phy-mode = "rgmii";
0181         phy-supply = <&vcc3v3_s3>;
0182         tx_delay = <0x28>;
0183         rx_delay = <0x11>;
0184         status = "okay";
0185 
0186         mdio {
0187                 compatible = "snps,dwmac-mdio";
0188                 #address-cells = <1>;
0189                 #size-cells = <0>;
0190 
0191                 rtl8211e: ethernet-phy@1 {
0192                         reg = <1>;
0193                         interrupt-parent = <&gpio3>;
0194                         interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>;
0195                         reset-assert-us = <10000>;
0196                         reset-deassert-us = <30000>;
0197                         reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
0198                 };
0199         };
0200 };
0201 
0202 &gpu {
0203         mali-supply = <&vdd_gpu>;
0204         status = "okay";
0205 };
0206 
0207 &hdmi {
0208         ddc-i2c-bus = <&i2c7>;
0209         pinctrl-names = "default";
0210         pinctrl-0 = <&hdmi_cec>;
0211         status = "okay";
0212 };
0213 
0214 &hdmi_sound {
0215         status = "okay";
0216 };
0217 
0218 &i2c0 {
0219         clock-frequency = <400000>;
0220         i2c-scl-rising-time-ns = <160>;
0221         i2c-scl-falling-time-ns = <30>;
0222         status = "okay";
0223 
0224         vdd_cpu_b: regulator@40 {
0225                 compatible = "silergy,syr827";
0226                 reg = <0x40>;
0227                 fcs,suspend-voltage-selector = <1>;
0228                 pinctrl-names = "default";
0229                 pinctrl-0 = <&cpu_b_sleep>;
0230                 regulator-always-on;
0231                 regulator-boot-on;
0232                 regulator-min-microvolt = <712500>;
0233                 regulator-max-microvolt = <1500000>;
0234                 regulator-name = "vdd_cpu_b";
0235                 regulator-ramp-delay = <1000>;
0236                 vin-supply = <&vcc3v3_sys>;
0237 
0238                 regulator-state-mem {
0239                         regulator-off-in-suspend;
0240                 };
0241         };
0242 
0243         vdd_gpu: regulator@41 {
0244                 compatible = "silergy,syr828";
0245                 reg = <0x41>;
0246                 fcs,suspend-voltage-selector = <1>;
0247                 pinctrl-names = "default";
0248                 pinctrl-0 = <&gpu_sleep>;
0249                 regulator-always-on;
0250                 regulator-boot-on;
0251                 regulator-min-microvolt = <712500>;
0252                 regulator-max-microvolt = <1500000>;
0253                 regulator-name = "vdd_gpu";
0254                 regulator-ramp-delay = <1000>;
0255                 vin-supply = <&vcc3v3_sys>;
0256 
0257                 regulator-state-mem {
0258                         regulator-off-in-suspend;
0259                 };
0260         };
0261 
0262         rk808: pmic@1b {
0263                 compatible = "rockchip,rk808";
0264                 reg = <0x1b>;
0265                 clock-output-names = "xin32k", "rtc_clko_wifi";
0266                 #clock-cells = <1>;
0267                 interrupt-parent = <&gpio1>;
0268                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
0269                 pinctrl-names = "default";
0270                 pinctrl-0 = <&pmic_int_l>, <&ap_pwroff>, <&clk_32k>;
0271                 rockchip,system-power-controller;
0272                 wakeup-source;
0273 
0274                 vcc1-supply = <&vcc3v3_sys>;
0275                 vcc2-supply = <&vcc3v3_sys>;
0276                 vcc3-supply = <&vcc3v3_sys>;
0277                 vcc4-supply = <&vcc3v3_sys>;
0278                 vcc6-supply = <&vcc3v3_sys>;
0279                 vcc7-supply = <&vcc3v3_sys>;
0280                 vcc8-supply = <&vcc3v3_sys>;
0281                 vcc9-supply = <&vcc3v3_sys>;
0282                 vcc10-supply = <&vcc3v3_sys>;
0283                 vcc11-supply = <&vcc3v3_sys>;
0284                 vcc12-supply = <&vcc3v3_sys>;
0285                 vddio-supply = <&vcc_3v0>;
0286 
0287                 regulators {
0288                         vdd_center: DCDC_REG1 {
0289                                 regulator-always-on;
0290                                 regulator-boot-on;
0291                                 regulator-min-microvolt = <750000>;
0292                                 regulator-max-microvolt = <1350000>;
0293                                 regulator-name = "vdd_center";
0294                                 regulator-ramp-delay = <6001>;
0295 
0296                                 regulator-state-mem {
0297                                         regulator-off-in-suspend;
0298                                 };
0299                         };
0300 
0301                         vdd_cpu_l: DCDC_REG2 {
0302                                 regulator-always-on;
0303                                 regulator-boot-on;
0304                                 regulator-min-microvolt = <750000>;
0305                                 regulator-max-microvolt = <1350000>;
0306                                 regulator-name = "vdd_cpu_l";
0307                                 regulator-ramp-delay = <6001>;
0308 
0309                                 regulator-state-mem {
0310                                         regulator-off-in-suspend;
0311                                 };
0312                         };
0313 
0314                         vcc_ddr: DCDC_REG3 {
0315                                 regulator-always-on;
0316                                 regulator-boot-on;
0317                                 regulator-name = "vcc_ddr";
0318 
0319                                 regulator-state-mem {
0320                                         regulator-on-in-suspend;
0321                                 };
0322                         };
0323 
0324                         vcc_1v8: DCDC_REG4 {
0325                                 regulator-always-on;
0326                                 regulator-boot-on;
0327                                 regulator-min-microvolt = <1800000>;
0328                                 regulator-max-microvolt = <1800000>;
0329                                 regulator-name = "vcc_1v8";
0330 
0331                                 regulator-state-mem {
0332                                         regulator-on-in-suspend;
0333                                         regulator-suspend-microvolt = <1800000>;
0334                                 };
0335                         };
0336 
0337                         vcc1v8_cam: LDO_REG1 {
0338                                 regulator-always-on;
0339                                 regulator-boot-on;
0340                                 regulator-min-microvolt = <1800000>;
0341                                 regulator-max-microvolt = <1800000>;
0342                                 regulator-name = "vcc1v8_cam";
0343 
0344                                 regulator-state-mem {
0345                                         regulator-off-in-suspend;
0346                                 };
0347                         };
0348 
0349                         vcc3v0_touch: LDO_REG2 {
0350                                 regulator-always-on;
0351                                 regulator-boot-on;
0352                                 regulator-min-microvolt = <3000000>;
0353                                 regulator-max-microvolt = <3000000>;
0354                                 regulator-name = "vcc3v0_touch";
0355 
0356                                 regulator-state-mem {
0357                                         regulator-off-in-suspend;
0358                                 };
0359                         };
0360 
0361                         vcc1v8_pmupll: LDO_REG3 {
0362                                 regulator-always-on;
0363                                 regulator-boot-on;
0364                                 regulator-min-microvolt = <1800000>;
0365                                 regulator-max-microvolt = <1800000>;
0366                                 regulator-name = "vcc1v8_pmupll";
0367 
0368                                 regulator-state-mem {
0369                                         regulator-on-in-suspend;
0370                                         regulator-suspend-microvolt = <1800000>;
0371                                 };
0372                         };
0373 
0374                         vcc_sdio: LDO_REG4 {
0375                                 regulator-always-on;
0376                                 regulator-boot-on;
0377                                 regulator-init-microvolt = <3000000>;
0378                                 regulator-min-microvolt = <1800000>;
0379                                 regulator-max-microvolt = <3300000>;
0380                                 regulator-name = "vcc_sdio";
0381 
0382                                 regulator-state-mem {
0383                                         regulator-on-in-suspend;
0384                                         regulator-suspend-microvolt = <3000000>;
0385                                 };
0386                         };
0387 
0388                         vcca3v0_codec: LDO_REG5 {
0389                                 regulator-always-on;
0390                                 regulator-boot-on;
0391                                 regulator-min-microvolt = <3000000>;
0392                                 regulator-max-microvolt = <3000000>;
0393                                 regulator-name = "vcca3v0_codec";
0394 
0395                                 regulator-state-mem {
0396                                         regulator-off-in-suspend;
0397                                 };
0398                         };
0399 
0400                         vcc_1v5: LDO_REG6 {
0401                                 regulator-always-on;
0402                                 regulator-boot-on;
0403                                 regulator-min-microvolt = <1500000>;
0404                                 regulator-max-microvolt = <1500000>;
0405                                 regulator-name = "vcc_1v5";
0406 
0407                                 regulator-state-mem {
0408                                         regulator-on-in-suspend;
0409                                         regulator-suspend-microvolt = <1500000>;
0410                                 };
0411                         };
0412 
0413                         vcca1v8_codec: LDO_REG7 {
0414                                 regulator-always-on;
0415                                 regulator-boot-on;
0416                                 regulator-min-microvolt = <1800000>;
0417                                 regulator-max-microvolt = <1800000>;
0418                                 regulator-name = "vcca1v8_codec";
0419 
0420                                 regulator-state-mem {
0421                                         regulator-off-in-suspend;
0422                                 };
0423                         };
0424 
0425                         vcc_3v0: LDO_REG8 {
0426                                 regulator-always-on;
0427                                 regulator-boot-on;
0428                                 regulator-min-microvolt = <3000000>;
0429                                 regulator-max-microvolt = <3000000>;
0430                                 regulator-name = "vcc_3v0";
0431 
0432                                 regulator-state-mem {
0433                                         regulator-on-in-suspend;
0434                                         regulator-suspend-microvolt = <3000000>;
0435                                 };
0436                         };
0437 
0438                         vcc3v3_s3: SWITCH_REG1 {
0439                                 regulator-always-on;
0440                                 regulator-boot-on;
0441                                 regulator-name = "vcc3v3_s3";
0442 
0443                                 regulator-state-mem {
0444                                         regulator-off-in-suspend;
0445                                 };
0446                         };
0447 
0448                         vcc3v3_s0: SWITCH_REG2 {
0449                                 regulator-always-on;
0450                                 regulator-boot-on;
0451                                 regulator-name = "vcc3v3_s0";
0452 
0453                                 regulator-state-mem {
0454                                         regulator-off-in-suspend;
0455                                 };
0456                         };
0457                 };
0458         };
0459 };
0460 
0461 &i2c1 {
0462         clock-frequency = <200000>;
0463         i2c-scl-rising-time-ns = <150>;
0464         i2c-scl-falling-time-ns = <30>;
0465         status = "okay";
0466 };
0467 
0468 &i2c2 {
0469         status = "okay";
0470 };
0471 
0472 &i2c4 {
0473         clock-frequency = <400000>;
0474         i2c-scl-rising-time-ns = <160>;
0475         i2c-scl-falling-time-ns = <30>;
0476         status = "okay";
0477 
0478         fusb0: typec-portc@22 {
0479                 compatible = "fcs,fusb302";
0480                 reg = <0x22>;
0481                 interrupt-parent = <&gpio1>;
0482                 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
0483                 pinctrl-names = "default";
0484                 pinctrl-0 = <&fusb0_int>;
0485                 vbus-supply = <&vbus_typec>;
0486         };
0487 };
0488 
0489 &i2c7 {
0490         status = "okay";
0491 };
0492 
0493 &i2s2 {
0494         status = "okay";
0495 };
0496 
0497 &io_domains {
0498         bt656-supply = <&vcc_1v8>;
0499         audio-supply = <&vcca1v8_codec>;
0500         sdmmc-supply = <&vcc_sdio>;
0501         gpio1830-supply = <&vcc_3v0>;
0502         status = "okay";
0503 };
0504 
0505 &pcie_phy {
0506         assigned-clock-parents = <&cru SCLK_PCIEPHY_REF100M>;
0507         assigned-clock-rates = <100000000>;
0508         assigned-clocks = <&cru SCLK_PCIEPHY_REF>;
0509         status = "okay";
0510 };
0511 
0512 &pcie0 {
0513         num-lanes = <2>;
0514         vpcie0v9-supply = <&vcca0v9_s3>;
0515         vpcie1v8-supply = <&vcca1v8_s3>;
0516         status = "okay";
0517 };
0518 
0519 &pinctrl {
0520         fusb30x {
0521                 fusb0_int: fusb0-int {
0522                         rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
0523                 };
0524         };
0525 
0526         gpio-leds {
0527                 status_led_pin: status-led-pin {
0528                         rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
0529                 };
0530         };
0531 
0532         gmac {
0533                 phy_intb: phy-intb {
0534                         rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
0535                 };
0536 
0537                 phy_rstb: phy-rstb {
0538                         rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
0539                 };
0540         };
0541 
0542         pmic {
0543                 cpu_b_sleep: cpu-b-sleep {
0544                         rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
0545                 };
0546 
0547                 gpu_sleep: gpu-sleep {
0548                         rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
0549                 };
0550 
0551                 pmic_int_l: pmic-int-l {
0552                         rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
0553                 };
0554         };
0555 
0556         rockchip-key {
0557                 power_key: power-key {
0558                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
0559                 };
0560         };
0561 
0562         sdio {
0563                 bt_host_wake_l: bt-host-wake-l {
0564                         rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
0565                 };
0566 
0567                 bt_reg_on_h: bt-reg-on-h {
0568                         /* external pullup to VCC1V8_PMUPLL */
0569                         rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
0570                 };
0571 
0572                 bt_wake_l: bt-wake-l {
0573                         rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
0574                 };
0575 
0576                 wifi_reg_on_h: wifi-reg_on-h {
0577                         rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
0578                 };
0579         };
0580 
0581         sdmmc {
0582                 sdmmc0_det_l: sdmmc0-det-l {
0583                         rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
0584                 };
0585 
0586                 sdmmc0_pwr_h: sdmmc0-pwr-h {
0587                         rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
0588                 };
0589         };
0590 };
0591 
0592 &pmu_io_domains {
0593         pmu1830-supply = <&vcc_3v0>;
0594         status = "okay";
0595 };
0596 
0597 &pwm0 {
0598         status = "okay";
0599 };
0600 
0601 &pwm1 {
0602         status = "okay";
0603 };
0604 
0605 &pwm2 {
0606         pinctrl-names = "active";
0607         pinctrl-0 = <&pwm2_pin_pull_down>;
0608         status = "okay";
0609 };
0610 
0611 &saradc {
0612         vref-supply = <&vcca1v8_s3>;
0613         status = "okay";
0614 };
0615 
0616 &sdhci {
0617         bus-width = <8>;
0618         mmc-hs200-1_8v;
0619         non-removable;
0620         status = "okay";
0621 };
0622 
0623 &sdio0 {
0624         bus-width = <4>;
0625         cap-sd-highspeed;
0626         cap-sdio-irq;
0627         keep-power-in-suspend;
0628         mmc-pwrseq = <&sdio_pwrseq>;
0629         non-removable;
0630         pinctrl-names = "default";
0631         pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
0632         sd-uhs-sdr104;
0633         status = "okay";
0634 };
0635 
0636 &sdmmc {
0637         bus-width = <4>;
0638         cap-sd-highspeed;
0639         cap-mmc-highspeed;
0640         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
0641         disable-wp;
0642         pinctrl-names = "default";
0643         pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc0_det_l>;
0644         sd-uhs-sdr104;
0645         vmmc-supply = <&vcc3v0_sd>;
0646         vqmmc-supply = <&vcc_sdio>;
0647         status = "okay";
0648 };
0649 
0650 &tcphy0 {
0651         status = "okay";
0652 };
0653 
0654 &tcphy1 {
0655         status = "okay";
0656 };
0657 
0658 &tsadc {
0659         /* tshut mode 0:CRU 1:GPIO */
0660         rockchip,hw-tshut-mode = <1>;
0661         /* tshut polarity 0:LOW 1:HIGH */
0662         rockchip,hw-tshut-polarity = <1>;
0663         status = "okay";
0664 };
0665 
0666 &u2phy0 {
0667         status = "okay";
0668 };
0669 
0670 &u2phy0_host {
0671         status = "okay";
0672 };
0673 
0674 &u2phy0_otg {
0675         status = "okay";
0676 };
0677 
0678 &u2phy1 {
0679         status = "okay";
0680 };
0681 
0682 &u2phy1_host {
0683         status = "okay";
0684 };
0685 
0686 &u2phy1_otg {
0687         status = "okay";
0688 };
0689 
0690 &uart0 {
0691         pinctrl-names = "default";
0692         pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>;
0693         status = "okay";
0694 
0695         bluetooth {
0696                 compatible = "brcm,bcm43438-bt";
0697                 clocks = <&rk808 1>;
0698                 clock-names = "lpo";
0699                 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
0700                 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
0701                 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
0702                 max-speed = <4000000>;
0703                 pinctrl-names = "default";
0704                 pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>;
0705                 vbat-supply = <&vcc3v3_sys>;
0706                 vddio-supply = <&vcc_1v8>;
0707         };
0708 };
0709 
0710 &uart2 {
0711         status = "okay";
0712 };
0713 
0714 &usbdrd3_0 {
0715         status = "okay";
0716 };
0717 
0718 &usbdrd3_1 {
0719         status = "okay";
0720 };
0721 
0722 &usbdrd_dwc3_0 {
0723         status = "okay";
0724 };
0725 
0726 &usbdrd_dwc3_1 {
0727         dr_mode = "host";
0728         status = "okay";
0729 };
0730 
0731 &usb_host0_ehci {
0732         status = "okay";
0733 };
0734 
0735 &usb_host0_ohci {
0736         status = "okay";
0737 };
0738 
0739 &usb_host1_ehci {
0740         status = "okay";
0741 };
0742 
0743 &usb_host1_ohci {
0744         status = "okay";
0745 };
0746 
0747 &vopb {
0748         status = "okay";
0749 };
0750 
0751 &vopb_mmu {
0752         status = "okay";
0753 };
0754 
0755 &vopl {
0756         status = "okay";
0757 };
0758 
0759 &vopl_mmu {
0760         status = "okay";
0761 };