sunxi: enable H3 EMAC for the nanopi neo
authorJelle van der Waa <jelle@vdwaa.nl>
Mon, 5 Dec 2016 18:47:21 +0000 (19:47 +0100)
committerJagan Teki <jagan@openedev.com>
Sun, 15 Jan 2017 17:16:12 +0000 (18:16 +0100)
The nanopi already had the CONFIG_SUN8I_EMAC=y enabled in it's defconfig
file, but was missing the &emac the device tree entry.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/dts/sun8i-h3-nanopi-neo.dts

index 3d64cafc1e90973d53fcf004981068ff347ec39a..096ff0b5a53a2acdacc57dfe662447bd5836476f 100644 (file)
        /* USB VBUS is always on */
        status = "okay";
 };
+
+&emac {
+       phy = <&phy1>;
+       phy-mode = "mii";
+       allwinner,use-internal-phy;
+       allwinner,leds-active-low;
+       status = "okay";
+       phy1: ethernet-phy@1 {
+               reg = <1>;
+       };
+};