aboutsummaryrefslogtreecommitdiff
path: root/src/arm/sun8i-h3-orangepi-plus2e.dts
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-02-09 22:33:22 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-02-09 22:33:22 +0000
commit16ae49e2bea5badc71c2265966ec2a9b0ba541dc (patch)
tree5ff3ed27eadaf4f2d05b771bc108bd500b3d8f48 /src/arm/sun8i-h3-orangepi-plus2e.dts
parent550370858c61e6f7fe3832de73daa9cc25ba716a (diff)
downloadsrc-16ae49e2bea5badc71c2265966ec2a9b0ba541dc.tar.gz
src-16ae49e2bea5badc71c2265966ec2a9b0ba541dc.zip
Notes
Diffstat (limited to 'src/arm/sun8i-h3-orangepi-plus2e.dts')
-rw-r--r--src/arm/sun8i-h3-orangepi-plus2e.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arm/sun8i-h3-orangepi-plus2e.dts b/src/arm/sun8i-h3-orangepi-plus2e.dts
index 97920b12a944..6dbf7b2e0c13 100644
--- a/src/arm/sun8i-h3-orangepi-plus2e.dts
+++ b/src/arm/sun8i-h3-orangepi-plus2e.dts
@@ -61,3 +61,19 @@
gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
};
};
+
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emac_rgmii_pins>;
+ phy-supply = <&reg_gmac_3v3>;
+ phy-handle = <&ext_rgmii_phy>;
+ phy-mode = "rgmii";
+ status = "okay";
+};
+
+&external_mdio {
+ ext_rgmii_phy: ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+ };
+};