ARM: sun8i: h3: Enable EMAC with external PHY on Orange Pi Plus 2E
authorChen-Yu Tsai <wens@csie.org>
Fri, 9 Jun 2017 15:34:36 +0000 (23:34 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 10 Jun 2017 09:24:39 +0000 (11:24 +0200)
commit7a78ef92cdc5813cab2c3a8ca2334eaaedc6818c
tree16ba0687f5580e317eb83ed7a2abe97c1c6a4ddd
parent252006cf0da13e65151cd7e7d0d6bb14bc0ca815
ARM: sun8i: h3: Enable EMAC with external PHY on Orange Pi Plus 2E

The Orange Pi Plus 2E, unlike the Orange Pi PC and PC Plus which its
schematics are based on, uses an external Realtek RTL8211E PHY in
RGMII mode, with a GPIO enabling the regulator for I/O signalling
power supplies. The PHY's main power supply is enabled by the main
5V power supply.

Add the regulator and PHY nodes, and override the PHY phandle under
the EMAC node, so that the EMAC works properly on this board.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts