projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29eb9d2
)
arm: sun8i: nanopi-neo: Enable dwmac-sun8i
author
LABBE Corentin
<
[email protected]
>
Wed, 31 May 2017 07:18:44 +0000
(09:18 +0200)
committer
David S. Miller
<
[email protected]
>
Thu, 1 Jun 2017 18:53:07 +0000
(14:53 -0400)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
index 8d2cc6e9a03faff3cc71965493e5c54c1359e9f3..78f6c24952dd128249fd3010d212222832bb060a 100644
(file)
--- 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";
+};