summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Rossak <embed3d@gmail.com>2017-12-15 23:39:01 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-12-19 09:53:49 +0100
commitb1f9b5fd21d862ab78ae2bb50ce49d0ea1189359 (patch)
tree10317315a0899273dbf1bd58c313be7f6068e948
parentad87b75f166920accfbadc3a01cec09d85c4172b (diff)
downloadop-kernel-dev-b1f9b5fd21d862ab78ae2bb50ce49d0ea1189359.zip
op-kernel-dev-b1f9b5fd21d862ab78ae2bb50ce49d0ea1189359.tar.gz
ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Nanopi M1
The dwmac-sun8i hardware is present on the Nanopi M1. It uses the internal PHY Signed-off-by: Philipp Rossak <embed3d@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
index 3a2ccdb..c77fbca 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
@@ -45,6 +45,10 @@
/ {
model = "FriendlyArm NanoPi M1";
compatible = "friendlyarm,nanopi-m1", "allwinner,sun8i-h3";
+
+ aliases {
+ ethernet0 = &emac;
+ };
};
&ehci1 {
@@ -55,6 +59,13 @@
status = "okay";
};
+&emac {
+ phy-handle = <&int_mii_phy>;
+ phy-mode = "mii";
+ allwinner,leds-active-low;
+ status = "okay";
+};
+
&ir {
pinctrl-names = "default";
pinctrl-0 = <&ir_pins_a>;
OpenPOWER on IntegriCloud