blob: d2681d1a0599c9543f1208b452e25723972b4901 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Kever Yang61ef0612017-06-23 17:17:51 +08002/*
3 * (C) Copyright 2017 Rockchip Electronics Co., Ltd.
Kever Yang61ef0612017-06-23 17:17:51 +08004 */
5
6/dts-v1/;
7
8#include "rk322x.dtsi"
9
10/ {
11 model = "Rockchip RK3229 Evaluation board";
12 compatible = "rockchip,rk3229-evb", "rockchip,rk3229";
13
Kever Yang61ef0612017-06-23 17:17:51 +080014 memory@60000000 {
15 device_type = "memory";
16 reg = <0x60000000 0x40000000>;
17 };
18
19 ext_gmac: ext_gmac {
20 compatible = "fixed-clock";
21 clock-frequency = <125000000>;
22 clock-output-names = "ext_gmac";
23 #clock-cells = <0>;
24 };
25
26 vcc_phy: vcc-phy-regulator {
27 compatible = "regulator-fixed";
28 enable-active-high;
29 regulator-name = "vcc_phy";
30 regulator-min-microvolt = <1800000>;
31 regulator-max-microvolt = <1800000>;
32 regulator-always-on;
33 regulator-boot-on;
34 };
35};
36
Kever Yang61ef0612017-06-23 17:17:51 +080037&gmac {
38 assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>;
39 assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>;
40 clock_in_out = "input";
41 phy-supply = <&vcc_phy>;
42 phy-mode = "rgmii";
43 pinctrl-names = "default";
44 pinctrl-0 = <&rgmii_pins>;
45 snps,reset-gpio = <&gpio2 RK_PD0 GPIO_ACTIVE_LOW>;
46 snps,reset-active-low;
47 snps,reset-delays-us = <0 10000 1000000>;
48 tx_delay = <0x30>;
49 rx_delay = <0x10>;
50 status = "okay";
51};
52
53&emmc {
Kever Yang61ef0612017-06-23 17:17:51 +080054 status = "okay";
55};
56
Kever Yangb0aafcc2017-07-21 18:21:09 +080057&sdmmc {
58 status = "okay";
59 bus-width = <4>;
60 cap-mmc-highspeed;
61 cap-sd-highspeed;
62 card-detect-delay = <200>;
63 disable-wp;
Kever Yangb0aafcc2017-07-21 18:21:09 +080064 num-slots = <1>;
65 supports-sd;
66};
67
Kever Yang61ef0612017-06-23 17:17:51 +080068&uart2 {
69 status = "okay";
70};
Meng Dongyang7441a762017-07-13 10:59:54 +080071
Johan Jonker36517222022-04-15 23:21:35 +020072&usb_otg {
Meng Dongyang7441a762017-07-13 10:59:54 +080073 status = "okay";
74};