mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-25 16:21:32 +00:00
37 lines
750 B
Diff
37 lines
750 B
Diff
diff --git a/arch/arm/dts/sun50i-h6-pine-h64.dts b/arch/arm/dts/sun50i-h6-pine-h64.dts
|
|
index ceffc40..00d5a2f 100644
|
|
--- a/arch/arm/dts/sun50i-h6-pine-h64.dts
|
|
+++ b/arch/arm/dts/sun50i-h6-pine-h64.dts
|
|
@@ -15,6 +15,7 @@
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
+ ethernet0 = &emac;
|
|
};
|
|
|
|
chosen {
|
|
@@ -41,6 +42,24 @@
|
|
};
|
|
};
|
|
|
|
+&emac {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&ext_rgmii_pins>;
|
|
+ phy-mode = "rgmii";
|
|
+ phy-handle = <&ext_rgmii_phy>;
|
|
+ phy-supply = <®_aldo2>;
|
|
+ allwinner,rx-delay-ps = <200>;
|
|
+ allwinner,tx-delay-ps = <200>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&mdio {
|
|
+ ext_rgmii_phy: ethernet-phy@1 {
|
|
+ compatible = "ethernet-phy-ieee802.3-c22";
|
|
+ reg = <1>;
|
|
+ };
|
|
+};
|
|
+
|
|
&mmc0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc0_pins>;
|