mirror of
https://github.com/armbian/build.git
synced 2025-08-15 23:56:57 +02:00
34 lines
744 B
Diff
34 lines
744 B
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
|
|
index 4f77c84..2d6ccab 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
|
|
@@ -60,6 +60,7 @@
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
+ ethernet0 = &emac;
|
|
};
|
|
|
|
chosen {
|
|
@@ -196,3 +197,20 @@
|
|
usb0_vbus-supply = <®_usb0_vbus>;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&mdio {
|
|
+ ext_rgmii_phy: ethernet-phy@1 {
|
|
+ reg = <0>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&emac {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&emac_rgmii_pins>;
|
|
+ phy-supply = <®_gmac_3v3>;
|
|
+ phy-handle = <&ext_rgmii_phy>;
|
|
+ phy-mode = "rgmii";
|
|
+
|
|
+ allwinner,leds-active-low;
|
|
+ status = "okay";
|
|
+};
|