aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2017-10-31 09:19:12 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-11-02 09:02:13 +0100
commit4904337fe34fa7fc529d6f4d9ee8b96fe7db310a (patch)
treee80a123e7e08ef138c03d37590d7e6fe3fafcd55 /arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
parentARM: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac (diff)
downloadlinux-dev-4904337fe34fa7fc529d6f4d9ee8b96fe7db310a.tar.xz
linux-dev-4904337fe34fa7fc529d6f4d9ee8b96fe7db310a.zip
ARM: dts: sunxi: Restore EMAC changes (boards)
The original dwmac-sun8i DT bindings have some issue on how to handle integrated PHY and was reverted in last RC of 4.13. But now we have a solution so we need to get back that was reverted. This patch restore all boards DT about dwmac-sun8i This reverts partially commit fe45174b72ae ("arm: dts: sunxi: Revert EMAC changes") Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Florian Fainelli <f.fainelli@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.dts7
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";
+};