--- sun8i-v3s-licheepi-zero.dts.orig Sun Mar 3 09:17:41 2019 +++ sun8i-v3s-licheepi-zero.dts Sun Mar 3 09:43:37 2019 @@ -47,10 +47,11 @@ / { model = "Lichee Pi Zero"; compatible = "licheepi,licheepi-zero", "allwinner,sun8i-v3s"; aliases { + ethernet0 = &emac; serial0 = &uart0; }; chosen { stdout-path = "serial0:115200n8"; @@ -78,6 +79,17 @@ }; &usbphy { usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>; status = "okay"; +}; + +&emac { + phy = <&phy0>; + phy-mode = "mii"; + allwinner,use-internal-phy; + allwinner,leds-active-low; + status = "okay"; + phy0: ethernet-phy@0 { + reg = <1>; + }; };