diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-05-31 09:18:44 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-06-06 20:06:25 +0200 |
commit | 378af662f8d4a30ceddae1e5c5d1acb6da7f9796 (patch) | |
tree | 429e8169e3b745d6b5d6e8bb09ff048da763625e /arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts | |
parent | 75ee680cbd2e4d0156b94f9fec50076361ab12f2 (diff) | |
download | linux-378af662f8d4a30ceddae1e5c5d1acb6da7f9796.tar.bz2 |
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: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts')
-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"; +}; |