blob: 8a14c653e4697d8cd5e28330a1d38bbcf786d02f [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
Kever Yangdf813322017-06-08 15:32:06 +080018 vcc3v3_sdmmc: sdmmc-pwren {
19 compatible = "regulator-fixed";
20 regulator-name = "vcc3v3";
21 gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
22 regulator-always-on;
23 regulator-boot-on;
24 };
25
Meng Dongyang863456a2017-06-28 19:22:45 +080026 vcc5v0_otg: vcc5v0-otg-drv {
27 compatible = "regulator-fixed";
28 enable-active-high;
29 regulator-name = "vcc5v0_otg";
30 gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>;
31 regulator-min-microvolt = <5000000>;
32 regulator-max-microvolt = <5000000>;
33 };
34
Meng Dongyang296bd192017-06-28 19:22:41 +080035 vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
36 compatible = "regulator-fixed";
37 enable-active-high;
38 regulator-name = "vcc5v0_host_xhci";
39 gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
42 };
Kever Yange94ffee2017-02-23 15:37:50 +080043};
44
45&uart2 {
46 status = "okay";
47};
48
49&sdmmc {
50 bus-width = <4>;
51 cap-mmc-highspeed;
52 cap-sd-highspeed;
53 card-detect-delay = <200>;
54 disable-wp;
55 num-slots = <1>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>;
58 status = "okay";
59};
60
61&emmc {
62 bus-width = <8>;
63 cap-mmc-highspeed;
64 supports-emmc;
65 disable-wp;
66 non-removable;
67 num-slots = <1>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
70 status = "okay";
71};
Meng Dongyangef82a0d2017-05-17 18:21:46 +080072
73&usb_host0_ehci {
74 status = "okay";
75};
76
77&usb_host0_ohci {
78 status = "okay";
79};
Meng Dongyang75ff9182017-05-17 18:25:28 +080080
Meng Dongyang863456a2017-06-28 19:22:45 +080081&usb20_otg {
82 vbus-supply = <&vcc5v0_otg>;
83 status = "okay";
84};
85
Meng Dongyang75ff9182017-05-17 18:25:28 +080086&usb_host0_xhci {
Meng Dongyang296bd192017-06-28 19:22:41 +080087 vbus-supply = <&vcc5v0_host_xhci>;
Meng Dongyang75ff9182017-05-17 18:25:28 +080088 status = "okay";
89};