diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2017-05-31 10:18:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-01 21:53:07 +0300 |
commit | 6f9461d6a489b3e9884a7a4eb9df6f20ad7c5857 (patch) | |
tree | 85bca031b84f6de17a5c434c69f16d8cfc58bd85 /arch | |
parent | 29eb9d2984402db5e303c476c8efa8a2f587196b (diff) | |
download | linux-6f9461d6a489b3e9884a7a4eb9df6f20ad7c5857.tar.xz |
arm: sun8i: nanopi-neo: Enable dwmac-sun8i
The dwmac-sun8i hardware is present on the NanoPi Neo.
It uses the internal PHY.
This patch create the needed emac node.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts index 8d2cc6e9a03f..78f6c24952dd 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts @@ -46,3 +46,10 @@ model = "FriendlyARM NanoPi NEO"; compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3"; }; + +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +}; |