Message ID | 20170412111400.2296-17-clabbe.montjoie@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9B50560383 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 12 Apr 2017 11:27:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C90B28173 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 12 Apr 2017 11:27:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8126C2847F; Wed, 12 Apr 2017 11:27:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 071BF28173 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 12 Apr 2017 11:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=oGSi5ZSJeLiiSM3iMfCQLup5WT5uZx+XaBNPVuQolrg=; b=rG+dW/FR6lAHf0comHYDYokt8h xKlr7BtNEcYGVCGG58wcrglS7CA6PApXrzwylRQwuozfbn/8PK9FrH/ji21FYHa2WysCdLLGMb+u9 NxIjlbusUYry5uVSjtKJySacyC11maIeklmx6bE5UixagY7SP2LYDLHZ/z1XKjWs98unDvZrFboVd hGjrvA0KSemtDqmnTXxpG4O3l3RvD/50Dl7voPAFzyIlfGZURJqpREOuYJPNzEPgir+2erDoQzvnp 3vP3v30dh4h6R1rogNs2I5YMi630+2+Bg7/Ime9TfI33aZWX1m6vXDvrJUz3q8nlg/ItZw7415CcO IQTyVm8w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cyGQZ-0004q8-Ar; Wed, 12 Apr 2017 11:27:11 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cyGGS-0003nM-IF for linux-arm-kernel@lists.infradead.org; Wed, 12 Apr 2017 11:16:48 +0000 Received: by mail-wm0-x243.google.com with SMTP id q125so5707388wmd.3 for <linux-arm-kernel@lists.infradead.org>; Wed, 12 Apr 2017 04:16:25 -0700 (PDT) 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=Rusy63I9RuZWEZkmMtYAg3tGWTrnSWs0mBJYTKyVV54=; b=fpwu6MPRKZED2hr9sI4nXU+nshwDCo+c254keHtuC8QY1rhEgY0KnchEULT+I9wiOf MEBJqPz1ytPlm53YCvfw7OMf3r9nvRpKpgEBAL5xUxshXbw09FyCECg/KoxPJOhHt9Hd ZAEQp0Bzv17LQXHzxw1NIGmZ62H8wUM/Dey8qRwSh4+VarJxyZ2B1OAE/15XRJ0MSBU2 Y1HRyA7OSyhcdCbHFPUB2JQNd7hvwnM1zX7pl7ATJp7gmFTunHhsxzsHjNBkFuXe+dEc HotIsDGorpuNu8jWvABrIz/TAiHHqyW7290qlf9R1WwuO6l2nTTbCzg8vKRsuaaI83Lk YsRQ== 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=Rusy63I9RuZWEZkmMtYAg3tGWTrnSWs0mBJYTKyVV54=; b=XUh2x7b1QOmjgONc1YIn9SubXeTsTZBtCHVJbhlfbCNvht0dll7Gr7qp4Rh6TvxQT1 SIvENbppo0ckFYXnzEEnaZUoHjJY+ifdxlLeNl07s82W+PyaheePmwuXOb5FJCQNcp1J tCXnBV9M2Efjhkd6Jfhsb72zFJIfcrJk8E9Nxx7yZl2sSO1hC8MX8w5Moasgr3NH8Or6 Moiv1RuTSs7NPx6zjOTwfhwYWByuPM6kGPHAymgtmohJKxHC95MdNAKVp+a0Vo7PbLlA et/vSwB2sJ4+p22b7zXQxspnFEkyUU4tBZCxjLLljFSr2u3uTqTK00fTK0HuE2kefXHr 5JxA== X-Gm-Message-State: AN3rC/52VLTkm/imPiKyaFjD6qXfqsPbc5H3DkPD0xlU4s6HbI9DTNV9 TGy6M3YH4OWqkw== X-Received: by 10.28.132.144 with SMTP id g138mr19743518wmd.51.1491995784048; Wed, 12 Apr 2017 04:16:24 -0700 (PDT) Received: from Red.local (LFbn-1-7035-57.w90-116.abo.wanadoo.fr. [90.116.208.57]) by smtp.googlemail.com with ESMTPSA id z84sm4727104wmh.27.2017.04.12.04.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Apr 2017 04:16:23 -0700 (PDT) From: Corentin Labbe <clabbe.montjoie@gmail.com> 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 Subject: [PATCH v4 16/18] arm64: allwinner: bananapi-m64: Enable dwmac-sun8i Date: Wed, 12 Apr 2017 13:13:58 +0200 Message-Id: <20170412111400.2296-17-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170412111400.2296-1-clabbe.montjoie@gmail.com> References: <20170412111400.2296-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170412_041645_179973_68C6A4E8 X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe <clabbe.montjoie@gmail.com>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index 6872135..0c07c89 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -77,6 +77,21 @@ bias-pull-up; }; +&mdio { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; +}; + +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + phy-mode = "rgmii"; + phy-handle = <&ext_rgmii_phy>; + status = "okay"; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>;
The dwmac-sun8i hardware is present on the BananaPi M64. It uses an external PHY rtl8211e via RGMII. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> --- arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+)