Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1600481
| Path | csiph.com!news.freedyn.net!open-news-network.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Corentin Labbe <clabbe.montjoie@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 17/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64 plus |
| Date | Tue, 14 Mar 2017 15:30:01 +0100 |
| Message-ID | <tkVCx-1ny-13@gated-at.bofh.it> (permalink) |
| References | <tkVCx-1ny-1@gated-at.bofh.it> |
| X-Original-To | robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, davem@davemloft.net |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qUnqp94bZQhjvE1CpwXqUo5uKr636H42PuqYF1sTj3g=; b=mQCMyZM/3CxvPBtefDhUwKKQpPrl5by95sL0fuRiiVMe2To58dS2urrtYwilURs9FY ea/YoCAzGiA3h8nHbNKmfoAk8ogTiYNRWk9J0Sh5FZT0fpzev6Z3sb3A4Zhgz2nV2qOm L0PyouA6Pnv22FwPyLF7iL6h4iZeWQ1y1ueKsrrkSOmHo7Y99wSLgagkkLt1aid5RyTI rie5RSNEJ9NABJrvqFBShsBbrJ5hJ60N+hq3V5mBniitA7LKF//jSDW5Ooi2u35Ay2dO 9cv43jT5zN+1vFoGCpP6MncpTamPRoguAv4xyAoU39O9UIj2JcTbkyAHLcldNSJ8I+3b NolQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qUnqp94bZQhjvE1CpwXqUo5uKr636H42PuqYF1sTj3g=; b=SXw/ChoKt0Ku9z2a5QG1SbmrRYDmaDD+lD7uZpUugfQK+yNLsVMH/I9rN3L377Kraa DM6VtwBWPNTmpyG8DUhYQiCYXDXr3CeKalHKGpfkNQsrdGRVgFcyq5zpCpt117ZWwy8d 4wPqjpawWSMeFBN4sipP866PP7IxLzAUMkA6cK+ktX8iNhDDbbSbel9/2yaAx5WNuiqX zfOOvr6OKtR9mw83nsC1vIV8KzOOOblTA8n1pNh6mD321arhR3Hy6U3rk7IiwKuq/ojg GH/FBWDcx31G1Yc9nGqsNMqfalbO4efaMHWi8EwJUX2gI3umXnosbzXm9OK9Wxjz85H8 pfrg== |
| X-Gm-Message-State | AFeK/H1aB+azeyOjLV5xH5arxlcwR++cdVkMsvP+eGCTICMTxOiCgC0VUZ98Zc2/bs5bGA== |
| X-Received | by 10.28.234.147 with SMTP id g19mr14927155wmi.102.1489501293059; Tue, 14 Mar 2017 07:21:33 -0700 (PDT) |
| X-Mailer | git-send-email 2.10.2 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 35 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | f.fainelli@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Corentin Labbe <clabbe.montjoie@gmail.com> |
| X-Original-Date | Tue, 14 Mar 2017 15:18:53 +0100 |
| X-Original-Message-ID | <20170314141856.24560-18-clabbe.montjoie@gmail.com> |
| X-Original-References | <20170314141856.24560-1-clabbe.montjoie@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1600481 |
Show key headers only | View raw
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>
---
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
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 790d14d..8e06aed 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,19 @@
model = "Pine64+";
compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
- /* TODO: Camera, Ethernet PHY, touchscreen, etc. */
+ /* TODO: Camera, touchscreen, etc. */
+};
+
+&mdio {
+ ext_rgmii_phy: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>;
+ phy-mode = "rgmii";
+ phy-handle = <&ext_rgmii_phy>;
+ status = "okay";
};
--
2.10.2
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 00/20] net-next: stmmac: add dwmac-sun8i ethernet driver Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 03/20] ARM: sun8i: dt: Add DT bindings documentation for Allwinner dwmac-sun8i Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
Re: [PATCH v2 03/20] ARM: sun8i: dt: Add DT bindings documentation for Allwinner dwmac-sun8i Rob Herring <robh@kernel.org> - 2017-03-20 23:30 +0100
[PATCH v2 18/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on the BananaPi M64 Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 06/20] ARM: dts: sunxi-h3-h5: Add dt node for the syscon control module Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 13/20] ARM: dts: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 16/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64 Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
Re: [PATCH v2 16/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64 Florian Fainelli <f.fainelli@gmail.com> - 2017-03-14 19:30 +0100
[PATCH v2 14/20] ARM64: dts: sun50i-a64: Add dt node for the syscon control module Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
Re: [PATCH v2 14/20] ARM64: dts: sun50i-a64: Add dt node for the syscon control module Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-03-15 12:10 +0100
[PATCH v2 17/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on pine64 plus Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 01/20] net-next: stmmac: export stmmac_set_mac_addr/stmmac_get_mac_addr Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 04/20] ARM: sun8i: dt: Add DT bindings documentation for Allwinner syscon Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
Re: [PATCH v2 04/20] ARM: sun8i: dt: Add DT bindings documentation for Allwinner syscon Rob Herring <robh@kernel.org> - 2017-03-21 02:10 +0100
[PATCH v2 19/20] ARM: sunxi: Enable dwmac-sun8i driver on sunxi_defconfig Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 20/20] ARM: sunxi: Enable dwmac-sun8i driver on multi_v7_defconfig Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 09/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange PI PC Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 12/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange Pi plus Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 08/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Banana Pi M2+ Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 05/20] net-next: stmmac: Add dwmac-sun8i Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 11/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange PI One Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 10/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange Pi 2 Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 15/20] ARM64: dts: sun50i-a64: add dwmac-sun8i Ethernet driver Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 07/20] ARM: dts: sunxi-h3-h5: add dwmac-sun8i ethernet driver Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
[PATCH v2 02/20] net-next: stmmac: add optional setup function Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-14 15:30 +0100
csiph-web