summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sun8i-h3-orangepi-pc.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/sun8i-h3-orangepi-pc.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/sun8i-h3-orangepi-pc.dts')
-rw-r--r--arch/arm/dts/sun8i-h3-orangepi-pc.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/dts/sun8i-h3-orangepi-pc.dts
index 30ccca0..0a74a91 100644
--- a/arch/arm/dts/sun8i-h3-orangepi-pc.dts
+++ b/arch/arm/dts/sun8i-h3-orangepi-pc.dts
@@ -173,3 +173,15 @@
/* USB VBUS is always on */
status = "okay";
};
+
+&emac {
+ phy = <&phy1>;
+ phy-mode = "mii";
+ allwinner,use-internal-phy;
+ allwinner,leds-active-low;
+ status = "okay";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};