xref: /linux/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts (revision 55d0969c451159cff86949b38c39171cab962069)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * (C) Copyright 2018 FriendlyElec Computer Tech. Co., Ltd.
4 * (http://www.friendlyarm.com)
5 *
6 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
7 */
8
9/dts-v1/;
10
11#include "rk3328-nanopi-r2s.dtsi"
12
13/ {
14	compatible = "friendlyarm,nanopi-r2s-plus", "rockchip,rk3328";
15	model = "FriendlyElec NanoPi R2S Plus";
16
17	aliases {
18		mmc1 = &emmc;
19	};
20};
21
22&emmc {
23	bus-width = <8>;
24	cap-mmc-highspeed;
25	disable-wp;
26	mmc-hs200-1_8v;
27	non-removable;
28	num-slots = <1>;
29	pinctrl-names = "default";
30	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
31	supports-emmc;
32	status = "okay";
33};
34
35&gmac2io {
36	phy-handle = <&rtl8211e>;
37	tx_delay = <0x24>;
38	rx_delay = <0x18>;
39
40	mdio {
41		rtl8211e: ethernet-phy@1 {
42			reg = <1>;
43			pinctrl-0 = <&eth_phy_reset_pin>;
44			pinctrl-names = "default";
45			reset-assert-us = <10000>;
46			reset-deassert-us = <50000>;
47			reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
48		};
49	};
50};
51