summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
diff options
context:
space:
mode:
authorPhilipp Rossak <embed3d@gmail.com>2017-12-16 01:39:01 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-12-19 11:53:49 +0300
commitb1f9b5fd21d862ab78ae2bb50ce49d0ea1189359 (patch)
tree10317315a0899273dbf1bd58c313be7f6068e948 /arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
parentad87b75f166920accfbadc3a01cec09d85c4172b (diff)
downloadlinux-b1f9b5fd21d862ab78ae2bb50ce49d0ea1189359.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts')
-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 3a2ccdb28afd..c77fbca4f227 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>;