2018-05-06 22:27:01 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
2017-06-23 09:17:51 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2017 Rockchip Electronics Co., Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "rk322x.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Rockchip RK3229 Evaluation board";
|
|
|
|
compatible = "rockchip,rk3229-evb", "rockchip,rk3229";
|
|
|
|
|
|
|
|
memory@60000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x60000000 0x40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ext_gmac: ext_gmac {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <125000000>;
|
|
|
|
clock-output-names = "ext_gmac";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_phy: vcc-phy-regulator {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
enable-active-high;
|
|
|
|
regulator-name = "vcc_phy";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gmac {
|
|
|
|
assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>;
|
|
|
|
assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>;
|
|
|
|
clock_in_out = "input";
|
|
|
|
phy-supply = <&vcc_phy>;
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&rgmii_pins>;
|
|
|
|
snps,reset-gpio = <&gpio2 RK_PD0 GPIO_ACTIVE_LOW>;
|
|
|
|
snps,reset-active-low;
|
|
|
|
snps,reset-delays-us = <0 10000 1000000>;
|
|
|
|
tx_delay = <0x30>;
|
|
|
|
rx_delay = <0x10>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-07-21 10:21:09 +00:00
|
|
|
&sdmmc {
|
|
|
|
status = "okay";
|
|
|
|
bus-width = <4>;
|
|
|
|
cap-mmc-highspeed;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
card-detect-delay = <200>;
|
|
|
|
disable-wp;
|
|
|
|
num-slots = <1>;
|
|
|
|
supports-sd;
|
|
|
|
};
|
|
|
|
|
2017-06-23 09:17:51 +00:00
|
|
|
&uart2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-07-13 02:59:54 +00:00
|
|
|
|
|
|
|
&usb20_otg {
|
|
|
|
status = "okay";
|
|
|
|
};
|