1 From 94dcfdc77fc55ed1956011ceea341911c6e760a0 Mon Sep 17 00:00:00 2001
2 From: Corentin Labbe <clabbe.montjoie@gmail.com>
3 Date: Wed, 31 May 2017 09:18:48 +0200
4 Subject: arm64: allwinner: pine64-plus: Enable dwmac-sun8i
6 The dwmac-sun8i hardware is present on the pine64 plus.
7 It uses an external PHY rtl8211e via RGMII.
9 Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
10 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
12 .../arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 17 ++++++++++++++++-
13 1 file changed, 16 insertions(+), 1 deletion(-)
15 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts
16 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts
19 compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
21 - /* TODO: Camera, Ethernet PHY, touchscreen, etc. */
22 + /* TODO: Camera, touchscreen, etc. */
26 + pinctrl-names = "default";
27 + pinctrl-0 = <&rgmii_pins>;
29 + phy-handle = <&ext_rgmii_phy>;
34 + ext_rgmii_phy: ethernet-phy@1 {
35 + compatible = "ethernet-phy-ieee802.3-c22";