blob: 220d0ab35031f659f61503ee7172f0f1b6ee3f7b [file] [log] [blame]
Kever Yange94ffee2017-02-23 15:37:50 +08001/*
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 };
Meng Dongyang296bd192017-06-28 19:22:41 +080017
Meng Dongyang863456a2017-06-28 19:22:45 +080018 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
Meng Dongyang296bd192017-06-28 19:22:41 +080027 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 };
Kever Yange94ffee2017-02-23 15:37:50 +080035};
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};
Meng Dongyangef82a0d2017-05-17 18:21:46 +080064
65&usb_host0_ehci {
66 status = "okay";
67};
68
69&usb_host0_ohci {
70 status = "okay";
71};
Meng Dongyang75ff9182017-05-17 18:25:28 +080072
Meng Dongyang863456a2017-06-28 19:22:45 +080073&usb20_otg {
74 vbus-supply = <&vcc5v0_otg>;
75 status = "okay";
76};
77
Meng Dongyang75ff9182017-05-17 18:25:28 +080078&usb_host0_xhci {
Meng Dongyang296bd192017-06-28 19:22:41 +080079 vbus-supply = <&vcc5v0_host_xhci>;
Meng Dongyang75ff9182017-05-17 18:25:28 +080080 status = "okay";
81};