xref: /linux/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dtsi (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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-r2.dtsi"
12
13&gmac2io {
14	phy-handle = <&rtl8211e>;
15	tx_delay = <0x24>;
16	rx_delay = <0x18>;
17	status = "okay";
18
19	mdio {
20		rtl8211e: ethernet-phy@1 {
21			reg = <1>;
22			pinctrl-0 = <&eth_phy_reset_pin>;
23			pinctrl-names = "default";
24			reset-assert-us = <10000>;
25			reset-deassert-us = <50000>;
26			reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
27		};
28	};
29};
30