]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/dts/rk3399-evb.dts
Kconfig: rockchip: enable DM_PWM and DM_REGULATOR
[people/ms/u-boot.git] / arch / arm / dts / rk3399-evb.dts
CommitLineData
777c834f
KY
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 };
b850d929
KY
46
47 vcc5v0_host: vcc5v0-host-en {
48 compatible = "regulator-fixed";
49 regulator-name = "vcc5v0_host";
50 gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
51 };
777c834f
KY
52};
53
54&emmc_phy {
55 status = "okay";
56};
57
58&pwm0 {
59 status = "okay";
60};
61
62&pwm2 {
63 status = "okay";
64};
65
66&pwm3 {
67 status = "okay";
68};
69
da8ff82e
KY
70&sdmmc {
71 status = "okay";
72};
73
777c834f
KY
74&sdhci {
75 bus-width = <8>;
76 mmc-hs400-1_8v;
77 mmc-hs400-enhanced-strobe;
78 non-removable;
79 status = "okay";
80};
81
82&uart2 {
83 status = "okay";
84};
85
86&usb_host0_ehci {
87 status = "okay";
88};
89
90&usb_host0_ohci {
91 status = "okay";
92};
93
fa5e2d16
M
94&dwc3_typec0 {
95 status = "okay";
96};
97
777c834f
KY
98&usb_host1_ehci {
99 status = "okay";
100};
101
102&usb_host1_ohci {
103 status = "okay";
104};
105
fa5e2d16
M
106&dwc3_typec1 {
107 status = "okay";
108};
109
777c834f
KY
110&pinctrl {
111 pmic {
112 pmic_int_l: pmic-int-l {
113 rockchip,pins =
114 <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
115 };
116
117 pmic_dvs2: pmic-dvs2 {
118 rockchip,pins =
119 <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
120 };
121 };
122};