diff options
author | Amit Singh Tomar <amittomer25@gmail.com> | 2016-07-06 17:59:44 +0530 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-07-15 08:34:34 +0200 |
commit | a29710c525ff43c3031b879e2beac306a09c6944 (patch) | |
tree | e132b91dc6c3a28dd0079ff029a7b00776445883 /arch/arm/dts/sun8i-h3-orangepi-pc.dts | |
parent | 26c0c15786039fb437925c08205702169462e343 (diff) | |
download | u-boot-a29710c525ff43c3031b879e2beac306a09c6944.tar.gz |
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.dts | 12 |
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 30ccca019d..0a74a9193b 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>; + }; +}; |