summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sun50i-a64-pine64-plus.dts
diff options
context:
space:
mode:
authorAmit Singh Tomar <amittomer25@gmail.com>2016-07-06 12:29:44 (GMT)
committerHans de Goede <hdegoede@redhat.com>2016-07-15 06:34:34 (GMT)
commita29710c525ff43c3031b879e2beac306a09c6944 (patch)
treee132b91dc6c3a28dd0079ff029a7b00776445883 /arch/arm/dts/sun50i-a64-pine64-plus.dts
parent26c0c15786039fb437925c08205702169462e343 (diff)
downloadu-boot-a29710c525ff43c3031b879e2beac306a09c6944.tar.xz
net: Add EMAC driver for H3/A83T/A64 SoCs.
This patch add EMAC driver support for H3/A83T/A64 SoCs. Tested on Pine64(A64-External PHY) and Orangepipc(H3-Internal PHY). BIG Thanks to Andre for providing some of the DT code. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/dts/sun50i-a64-pine64-plus.dts')
-rw-r--r--arch/arm/dts/sun50i-a64-pine64-plus.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/sun50i-a64-pine64-plus.dts b/arch/arm/dts/sun50i-a64-pine64-plus.dts
index 549dc15..389c609 100644
--- a/arch/arm/dts/sun50i-a64-pine64-plus.dts
+++ b/arch/arm/dts/sun50i-a64-pine64-plus.dts
@@ -57,3 +57,16 @@
reg = <0x40000000 0x40000000>;
};
};
+
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>;
+ phy-mode = "rgmii";
+ phy = <&phy1>;
+ status = "okay";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+