Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit b1f9b5fd authored by Philipp Rossak's avatar Philipp Rossak Committed by Maxime Ripard
Browse files

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: default avatarPhilipp Rossak <embed3d@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent ad87b75f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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>;