xref: /openbmc/u-boot/arch/arm/dts/rk3399-evb.dts (revision 699c4e59)
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
11/ {
12	model = "Rockchip RK3399 Evaluation Board";
13	compatible = "rockchip,rk3399-evb", "rockchip,rk3399",
14		     "google,rk3399evb-rev2";
15
16	chosen {
17		stdout-path = &uart2;
18	};
19
20	vdd_center: vdd-center {
21		compatible = "pwm-regulator";
22		pwms = <&pwm3 0 25000 0>;
23		regulator-name = "vdd_center";
24		regulator-min-microvolt = <800000>;
25		regulator-max-microvolt = <1400000>;
26		regulator-always-on;
27		regulator-boot-on;
28		status = "okay";
29	};
30
31	vcc3v3_sys: vcc3v3-sys {
32		compatible = "regulator-fixed";
33		regulator-name = "vcc3v3_sys";
34		regulator-always-on;
35		regulator-boot-on;
36		regulator-min-microvolt = <3300000>;
37		regulator-max-microvolt = <3300000>;
38	};
39
40	vcc_phy: vcc-phy-regulator {
41		compatible = "regulator-fixed";
42		regulator-name = "vcc_phy";
43		regulator-always-on;
44		regulator-boot-on;
45	};
46};
47
48&emmc_phy {
49	status = "okay";
50};
51
52&pwm0 {
53	status = "okay";
54};
55
56&pwm2 {
57	status = "okay";
58};
59
60&pwm3 {
61	status = "okay";
62};
63
64&sdhci {
65	bus-width = <8>;
66	mmc-hs400-1_8v;
67	mmc-hs400-enhanced-strobe;
68	non-removable;
69	status = "okay";
70};
71
72&uart2 {
73	status = "okay";
74};
75
76&usb_host0_ehci {
77	status = "okay";
78};
79
80&usb_host0_ohci {
81	status = "okay";
82};
83
84&usb_host1_ehci {
85	status = "okay";
86};
87
88&usb_host1_ohci {
89	status = "okay";
90};
91
92&pinctrl {
93	pmic {
94		pmic_int_l: pmic-int-l {
95			rockchip,pins =
96				<1 21 RK_FUNC_GPIO &pcfg_pull_up>;
97		};
98
99		pmic_dvs2: pmic-dvs2 {
100			rockchip,pins =
101				<1 18 RK_FUNC_GPIO &pcfg_pull_down>;
102		};
103	};
104};
105