ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2
authorMarcus Cooper <codekipper@gmail.com>
Wed, 4 Jul 2018 08:30:03 +0000 (10:30 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 5 Jul 2018 14:52:22 +0000 (16:52 +0200)
The enabling of the EMAC was reverted as there was an issue on how
to handle the integrated PHY and it was getting close to the release
window (fe45174b72ae ("arm: dts: sunxi: Revert EMAC changes")).

When a solution was found, then the changes were restored in
4b236a0fe512 ("arm: dts: sunxi: h3/h5: Restore EMAC changes") and
4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)").
Unfortunately enabling for the Beelink X2 was missed.

This reverts partially commit 6b0e06df5cad (Revert "ARM: dts:
sun8i: h3: Enable dwmac-sun8i on the Beelink X2")

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts

index cf1f970b0c6f7beec4eac4ecfb096c7e3aae4613..5d23667dc2d2e72f3fc557c0fa387c69b45ac3a2 100644 (file)
        status = "okay";
 };
 
+&emac {
+       phy-handle = <&int_mii_phy>;
+       phy-mode = "mii";
+       allwinner,leds-active-low;
+       status = "okay";
+};
+
 &hdmi {
        status = "okay";
 };