]> git.sur5r.net Git - u-boot/blob - arch/arm/dts/rk3399-evb.dts
rockchip: dts: tinker: add usb host power supply node
[u-boot] / arch / arm / dts / rk3399-evb.dts
1 /*
2  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
9 #include "rk3399.dtsi"
10 #include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
11
12 / {
13         model = "Rockchip RK3399 Evaluation Board";
14         compatible = "rockchip,rk3399-evb", "rockchip,rk3399",
15                      "google,rk3399evb-rev2";
16
17         chosen {
18                 stdout-path = &uart2;
19         };
20
21         vdd_center: vdd-center {
22                 compatible = "pwm-regulator";
23                 pwms = <&pwm3 0 25000 0>;
24                 regulator-name = "vdd_center";
25                 regulator-min-microvolt = <800000>;
26                 regulator-max-microvolt = <1400000>;
27                 regulator-init-microvolt = <950000>;
28                 regulator-always-on;
29                 regulator-boot-on;
30                 status = "okay";
31         };
32
33         vcc3v3_sys: vcc3v3-sys {
34                 compatible = "regulator-fixed";
35                 regulator-name = "vcc3v3_sys";
36                 regulator-always-on;
37                 regulator-boot-on;
38                 regulator-min-microvolt = <3300000>;
39                 regulator-max-microvolt = <3300000>;
40         };
41
42         vcc_phy: vcc-phy-regulator {
43                 compatible = "regulator-fixed";
44                 regulator-name = "vcc_phy";
45                 regulator-always-on;
46                 regulator-boot-on;
47         };
48
49         vcc5v0_host: vcc5v0-host-en {
50                 compatible = "regulator-fixed";
51                 regulator-name = "vcc5v0_host";
52                 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
53         };
54 };
55
56 &emmc_phy {
57         status = "okay";
58 };
59
60 &pwm0 {
61         status = "okay";
62 };
63
64 &pwm2 {
65         status = "okay";
66 };
67
68 &pwm3 {
69         status = "okay";
70 };
71
72 &sdmmc {
73         bus-width = <4>;
74         status = "okay";
75 };
76
77 &sdhci {
78         bus-width = <8>;
79         mmc-hs400-1_8v;
80         mmc-hs400-enhanced-strobe;
81         non-removable;
82         status = "okay";
83 };
84
85 &uart2 {
86         status = "okay";
87 };
88
89 &usb_host0_ehci {
90         status = "okay";
91 };
92
93 &usb_host0_ohci {
94         status = "okay";
95 };
96
97 &dwc3_typec0 {
98         status = "okay";
99 };
100
101 &usb_host1_ehci {
102         status = "okay";
103 };
104
105 &usb_host1_ohci {
106         status = "okay";
107 };
108
109 &dwc3_typec1 {
110         status = "okay";
111 };
112
113 &pinctrl {
114         pmic {
115                 pmic_int_l: pmic-int-l {
116                         rockchip,pins =
117                                 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
118                 };
119
120                 pmic_dvs2: pmic-dvs2 {
121                         rockchip,pins =
122                                 <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
123                 };
124         };
125 };