Back to home page

OSCL-LXR

 
 

    


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