| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Based on rk3328-nanopi-r2s.dts, which is: |
| 4 |
* Copyright (c) 2020 David Bauer <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
|
| 9 |
#include "rk3328-orangepi-r1-plus.dtsi" |
| 10 |
|
| 11 |
/ { |
| 12 |
model = "Xunlong Orange Pi R1 Plus"; |
| 13 |
compatible = "xunlong,orangepi-r1-plus", "rockchip,rk3328"; |
| 14 |
}; |
| 15 |
|
| 16 |
&gmac2io { |
| 17 |
phy-handle = <&rtl8211e>; |
| 18 |
phy-mode = "rgmii"; |
| 19 |
tx_delay = <0x24>; |
| 20 |
rx_delay = <0x18>; |
| 21 |
status = "okay"; |
| 22 |
|
| 23 |
mdio { |
| 24 |
rtl8211e: ethernet-phy@1 { |
| 25 |
reg = <1>; |
| 26 |
pinctrl-0 = <ð_phy_reset_pin>; |
| 27 |
pinctrl-names = "default"; |
| 28 |
reset-assert-us = <10000>; |
| 29 |
reset-deassert-us = <50000>; |
| 30 |
reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; |
| 31 |
}; |
| 32 |
}; |
| 33 |
}; |