aboutsummaryrefslogtreecommitdiff
path: root/src/arm64/allwinner/sun50i-h5-orangepi-prime.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/arm64/allwinner/sun50i-h5-orangepi-prime.dts
parent550370858c61e6f7fe3832de73daa9cc25ba716a (diff)
downloadsrc-ddd6780776883367710292cab34926f25d427831.tar.gz
src-ddd6780776883367710292cab34926f25d427831.zip
Update our copies of the Device Tree Source to Linux 4.15vendor/device-tree/4.15
Diffstat (limited to 'src/arm64/allwinner/sun50i-h5-orangepi-prime.dts')
-rw-r--r--src/arm64/allwinner/sun50i-h5-orangepi-prime.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/arm64/allwinner/sun50i-h5-orangepi-prime.dts b/src/arm64/allwinner/sun50i-h5-orangepi-prime.dts
index 6be06873e5af..b47790650144 100644
--- a/src/arm64/allwinner/sun50i-h5-orangepi-prime.dts
+++ b/src/arm64/allwinner/sun50i-h5-orangepi-prime.dts
@@ -54,6 +54,7 @@
compatible = "xunlong,orangepi-prime", "allwinner,sun50i-h5";
aliases {
+ ethernet0 = &emac;
serial0 = &uart0;
};
@@ -143,6 +144,22 @@
status = "okay";
};
+&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>;
+ };
+};
+
&ir {
pinctrl-names = "default";
pinctrl-0 = <&ir_pins_a>;