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>
This commit is contained in:
Philipp Rossak 2017-12-15 23:39:01 +01:00 committed by Maxime Ripard
parent ad87b75f16
commit b1f9b5fd21
No known key found for this signature in database
GPG key ID: D2B4C094214DAF74

View file

@ -45,6 +45,10 @@
/ {
model = "FriendlyArm NanoPi M1";
compatible = "friendlyarm,nanopi-m1", "allwinner,sun8i-h3";
aliases {
ethernet0 = &emac;
};
};
&ehci1 {
@ -55,6 +59,13 @@ &ehci2 {
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>;