1 From 97023943749367111b9a88e09d1b9bd157dd3326 Mon Sep 17 00:00:00 2001
2 From: Corentin Labbe <clabbe.montjoie@gmail.com>
3 Date: Wed, 31 May 2017 09:18:47 +0200
4 Subject: arm64: allwinner: pine64: Enable dwmac-sun8i
6 The dwmac-sun8i hardware is present on the pine64
7 It uses an external PHY via RMII.
9 Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
10 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
12 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 16 ++++++++++++++++
13 1 file changed, 16 insertions(+)
15 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
16 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
22 + pinctrl-names = "default";
23 + pinctrl-0 = <&rmii_pins>;
25 + phy-handle = <&ext_rmii_phy1>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&i2c1_pins>;
38 + ext_rmii_phy1: ethernet-phy@1 {
39 + compatible = "ethernet-phy-ieee802.3-c22";
45 pinctrl-names = "default";
46 pinctrl-0 = <&mmc0_pins>;