blob: a959989735ffbace8bfda1e0252e7446057f7c9c [file] [log] [blame]
Kever Yang777c8342016-07-19 21:16:58 +08001/*
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"
Kever Yanga82426e2017-02-22 16:56:36 +080010#include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
Kever Yang777c8342016-07-19 21:16:58 +080011
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>;
Kever Yangc553de92016-09-23 15:57:22 +080027 regulator-init-microvolt = <950000>;
Kever Yang777c8342016-07-19 21:16:58 +080028 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 };
Kever Yangb850d922016-08-24 12:02:21 +080048
49 vcc5v0_host: vcc5v0-host-en {
50 compatible = "regulator-fixed";
51 regulator-name = "vcc5v0_host";
52 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
53 };
Kever Yang777c8342016-07-19 21:16:58 +080054};
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
Kever Yangda8ff822016-08-04 11:44:59 +080072&sdmmc {
Kever Yanga82426e2017-02-22 16:56:36 +080073 bus-width = <4>;
Kever Yangda8ff822016-08-04 11:44:59 +080074 status = "okay";
75};
76
Kever Yang777c8342016-07-19 21:16:58 +080077&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
MengDongyangfa5e2d12016-08-24 12:02:20 +080097&dwc3_typec0 {
98 status = "okay";
99};
100
Kever Yang777c8342016-07-19 21:16:58 +0800101&usb_host1_ehci {
102 status = "okay";
103};
104
105&usb_host1_ohci {
106 status = "okay";
107};
108
MengDongyangfa5e2d12016-08-24 12:02:20 +0800109&dwc3_typec1 {
110 status = "okay";
111};
112
Kever Yang777c8342016-07-19 21:16:58 +0800113&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};