Back to home page

OSCL-LXR

 
 

    


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