blob: 93291d787341c2a7ce74c63aa93a825c67596190 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Kever Yangbbd6e6d2017-11-28 16:04:15 +08002/*
3 * (C) Copyright 2017 Rockchip Electronics Co., Ltd
Kever Yangbbd6e6d2017-11-28 16:04:15 +08004 */
5
6/dts-v1/;
7
8#include "rk3128.dtsi"
9
10/ {
11 model = "Rockchip RK3128 Evaluation board";
12 compatible = "rockchip,rk3128-evb", "rockchip,rk3128";
13
14 chosen {
15 stdout-path = &uart2;
16 };
17
Johan Jonker565d77b2022-09-09 22:19:24 +020018 memory@60000000 {
19 device_type = "memory";
20 reg = <0x60000000 0x40000000>;
21 };
22
Kever Yangbbd6e6d2017-11-28 16:04:15 +080023 vcc5v0_otg: vcc5v0-otg-drv {
24 compatible = "regulator-fixed";
25 regulator-name = "vcc5v0_otg";
26 gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
27 pinctrl-names = "default";
28 pinctrl-0 = <&otg_vbus_drv>;
29 regulator-min-microvolt = <5000000>;
30 regulator-max-microvolt = <5000000>;
31 };
32
33 vcc5v0_host: vcc5v0-host-drv {
34 compatible = "regulator-fixed";
35 regulator-name = "vcc5v0_host";
36 gpio = <&gpio2 23 GPIO_ACTIVE_HIGH>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&host_vbus_drv>;
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
41 regulator-always-on;
42 };
43};
44
Johan Jonkerb919d432022-09-09 22:19:06 +020045&emmc {
46 fifo-mode;
47 status = "okay";
48};
49
Kever Yangbbd6e6d2017-11-28 16:04:15 +080050&i2c1 {
51 status = "okay";
52
53 hym8563: hym8563@51 {
54 compatible = "haoyu,hym8563";
55 reg = <0x51>;
56 #clock-cells = <0>;
57 clock-frequency = <32768>;
58 clock-output-names = "xin32k";
59 };
60};
61
62&u2phy {
63 status = "okay";
64};
65
66&u2phy_otg {
67 status = "okay";
68};
69
70&u2phy_host {
71 status = "okay";
72};
73
74&usb_host_ehci {
75 status = "okay";
76};
77
78&usb_host_ohci {
79 status = "okay";
80};
81
82&usb_otg {
83 vbus-supply = <&vcc5v0_otg>;
84 status = "okay";
85};
86
Kever Yangbbd6e6d2017-11-28 16:04:15 +080087&pinctrl {
88 usb_otg {
89 otg_vbus_drv: host-vbus-drv {
Johan Jonkerc6434682022-09-09 22:18:55 +020090 rockchip,pins = <0 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
Kever Yangbbd6e6d2017-11-28 16:04:15 +080091 };
92 };
93
94 usb_host {
95 host_vbus_drv: host-vbus-drv {
Johan Jonkerc6434682022-09-09 22:18:55 +020096 rockchip,pins = <2 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
Kever Yangbbd6e6d2017-11-28 16:04:15 +080097 };
98 };
99};