]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: allwinner: h5: enable dwmac-sun8i for Nano Pi NEO2
authorIcenowy Zheng <icenowy@aosc.io>
Wed, 7 Jun 2017 00:23:05 +0000 (08:23 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 Jun 2017 13:26:50 +0000 (15:26 +0200)
commit63b956875a1ab695c1768758e25694420dd53a37
tree338a60479ded4a480db40448a65ca82ce90509a0
parent4b157a5c3b79fbba37732e04fedaf27405af6ed8
arm64: allwinner: h5: enable dwmac-sun8i for Nano Pi NEO2

Add the required DT parts to enable Ethernet (dwmac-sun8i driver) on
the Nano Pi NEO2 board. It uses an external Realtek RTL8211E PHY
connected via RGMII to provide GbE network. Specially unlike other
Allwinner boards, the phy is connected to MDIO address 7, not 1.

This includes the regulator (which is controlled by a GPIO pin) and
the actual Ethernet MAC node, referring the RGMII pins of the device.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts