]> git.sur5r.net Git - u-boot/blob - arch/arm/dts/rk3328-evb.dts
rockchip: dts: rk3328: support and enable dwc2
[u-boot] / arch / arm / dts / rk3328-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 "rk3328.dtsi"
9
10 / {
11         model = "Rockchip RK3328 EVB";
12         compatible = "rockchip,rk3328-evb", "rockchip,rk3328";
13
14         chosen {
15                 stdout-path = &uart2;
16         };
17
18         vcc5v0_otg: vcc5v0-otg-drv {
19                 compatible = "regulator-fixed";
20                 enable-active-high;
21                 regulator-name = "vcc5v0_otg";
22                 gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
23                 regulator-min-microvolt = <5000000>;
24                 regulator-max-microvolt = <5000000>;
25         };
26
27         vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
28                 compatible = "regulator-fixed";
29                 enable-active-high;
30                 regulator-name = "vcc5v0_host_xhci";
31                 gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
32                 regulator-min-microvolt = <5000000>;
33                 regulator-max-microvolt = <5000000>;
34         };
35 };
36
37 &uart2 {
38         status = "okay";
39 };
40
41 &sdmmc {
42         bus-width = <4>;
43         cap-mmc-highspeed;
44         cap-sd-highspeed;
45         card-detect-delay = <200>;
46         disable-wp;
47         num-slots = <1>;
48         pinctrl-names = "default";
49         pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>;
50         status = "okay";
51 };
52
53 &emmc {
54         bus-width = <8>;
55         cap-mmc-highspeed;
56         supports-emmc;
57         disable-wp;
58         non-removable;
59         num-slots = <1>;
60         pinctrl-names = "default";
61         pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
62         status = "okay";
63 };
64
65 &usb_host0_ehci {
66         status = "okay";
67 };
68
69 &usb_host0_ohci {
70         status = "okay";
71 };
72
73 &usb20_otg {
74         vbus-supply = <&vcc5v0_otg>;
75         status = "okay";
76 };
77
78 &usb_host0_xhci {
79         vbus-supply = <&vcc5v0_host_xhci>;
80         status = "okay";
81 };