diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-05-31 03:18:48 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-06-07 09:25:51 -0400 |
commit | 94dcfdc77fc55ed1956011ceea341911c6e760a0 (patch) | |
tree | 71d5f25e29510db56bca282b0231d35a0b41e444 | |
parent | 97023943749367111b9a88e09d1b9bd157dd3326 (diff) |
arm64: allwinner: pine64-plus: Enable dwmac-sun8i
The dwmac-sun8i hardware is present on the pine64 plus.
It uses an external PHY rtl8211e via RGMII.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts index 790d14daaa6a..24f1aac366d6 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | |||
@@ -46,5 +46,20 @@ | |||
46 | model = "Pine64+"; | 46 | model = "Pine64+"; |
47 | compatible = "pine64,pine64-plus", "allwinner,sun50i-a64"; | 47 | compatible = "pine64,pine64-plus", "allwinner,sun50i-a64"; |
48 | 48 | ||
49 | /* TODO: Camera, Ethernet PHY, touchscreen, etc. */ | 49 | /* TODO: Camera, touchscreen, etc. */ |
50 | }; | ||
51 | |||
52 | &emac { | ||
53 | pinctrl-names = "default"; | ||
54 | pinctrl-0 = <&rgmii_pins>; | ||
55 | phy-mode = "rgmii"; | ||
56 | phy-handle = <&ext_rgmii_phy>; | ||
57 | status = "okay"; | ||
58 | }; | ||
59 | |||
60 | &mdio { | ||
61 | ext_rgmii_phy: ethernet-phy@1 { | ||
62 | compatible = "ethernet-phy-ieee802.3-c22"; | ||
63 | reg = <1>; | ||
64 | }; | ||
50 | }; | 65 | }; |