summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle van der Waa <[email protected]>2016-12-05 19:47:21 +0100
committerJagan Teki <[email protected]>2017-01-15 18:16:12 +0100
commit2fc554d3e37c27c5b8d2540d7a571dc53152a301 (patch)
tree10ae1578dee8c239469892f86ab72e5b5b9ee4fe
parent7f73ca484f792a0d2a7ee09860c32f3d02b3030d (diff)
sunxi: enable H3 EMAC for the nanopi neo
The nanopi already had the CONFIG_SUN8I_EMAC=y enabled in it's defconfig file, but was missing the &emac the device tree entry. Signed-off-by: Jelle van der Waa <[email protected]> Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
-rw-r--r--arch/arm/dts/sun8i-h3-nanopi-neo.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/sun8i-h3-nanopi-neo.dts
index 3d64cafc1e9..096ff0b5a53 100644
--- a/arch/arm/dts/sun8i-h3-nanopi-neo.dts
+++ b/arch/arm/dts/sun8i-h3-nanopi-neo.dts
@@ -123,3 +123,14 @@
/* 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>;
+ };
+};