Message ID | 20170216124859.14346-20-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 A9896600F6 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Feb 2017 12:59:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91309285C2 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Feb 2017 12:59:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83422285C4; Thu, 16 Feb 2017 12:59:54 +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 15334285C2 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Feb 2017 12:59:54 +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=yQBNlQUv/m6IlozbnjHIOtzD5D3nGzXjgWUWIK8k3PE=; b=WVyNtjJXOkAYiCcmxNj9V7fa96 6iM6l2IxE1wk0VVgJfpfhr2BXnHN9CEENX7IVwxc+vIhVRNFOQj6ifbKlpjlaWWm19a3hvMIMQ9f9 WkejtjzyQK5kzgbf/Lr95e2xy6/xRJlWq4MCBThZwc6c7h9c/oTS8dFJMBfZQ3nvJwB6SjPi4cWch A5ex/R+pqLPeEqnjrKp8qiUT9ndjpe5JEGqsC8ndjUeUMAg6fL71NMH97pOjw6GdBGeka+8DyR3IK piNNnIO5lq80GsZMClG7DhA+VtDrUvaaVRbf5sS7Nl4AKHRNzzT8TRcKlfW+J1s6bo7tOlkrsnJWP UdwHRBMA==; 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 1ceLf1-0000Qo-JA; Thu, 16 Feb 2017 12:59:47 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ceLXV-0001Oa-OK for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2017 12:52:13 +0000 Received: by mail-wr0-x242.google.com with SMTP id q39so1934231wrb.2 for <linux-arm-kernel@lists.infradead.org>; Thu, 16 Feb 2017 04:51:42 -0800 (PST) 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=h4tirBpW5iWXP19AW8sdcVELCAVoS2uFszP5zWtLKjI=; b=BhgMZHhuJ7vGOVPb/0wkRl8A+IdGZboXYxssLFHWi0Y1P8jfHOA/UVqdQsSll3T3Ip oPEim6S9PBjhYwcK8uapUyISMY1s3+HMoH1BioSma9cosRtW/sMLGKj7+uyR/EO/I5Uj PbDNv6HyoZI991bcI/3vQu1Fq/lbMeRHAZov3OASRSC9acj52FL7Nn0+kW05NE/MZU5m UBZQGbQ6s9K9w5Sy3yteiF8o6F1qDYvVKyrtRwBHvfh02gsY6n6bA4FG7qoRZFzn2PxB 8ho/M7ZwgPhh5MkgDVAtZrAxAsfGXKuF6H46UFWNgRQTFJqYuVFZ7z+FMK2ajjtAMJ4f 74UA== 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=h4tirBpW5iWXP19AW8sdcVELCAVoS2uFszP5zWtLKjI=; b=Ge2SvVuYQ/5VpaQwyE6r7rzU8n0OEuf0PyId+C4A4bDFCO7GEtEUaC0ICWPQhhLbMH BhLB0j5HXsnXY3Ti59eG0n3n5fv8bxvYOqulJzmDCcWuc76t/VGSzDjKscXZQTusDSrf GOJdhDZyw5O9EJsJ+F0V1Byj2DvFP+PvkExYI2rRkbaPzqpv+aGw7/pasjvo0H7YAL1y Ft2g+6In7pIuLEm7NGMZJUbVjYcSpAtuAhhUgnFFllzftMBPOG3WeFvK3RrSDVC8zhX2 nbyecECrpkT7y0DvTiu5sMa3m2dTz0etyHHAMYal3awgtnMeixy2cWjcD5WyEyEwuVYM Jbqw== X-Gm-Message-State: AMke39kghFyzoF9C7Q2+ua2Z7EVbVUdArIliTETeP3TV8M+KWDSP+gG+xk/VwD2oMgIqRA== X-Received: by 10.223.169.140 with SMTP id b12mr2179408wrd.138.1487249500949; Thu, 16 Feb 2017 04:51:40 -0800 (PST) Received: from Red.local (LFbn-1-7035-57.w90-116.abo.wanadoo.fr. [90.116.208.57]) by smtp.googlemail.com with ESMTPSA id o143sm144705wmd.3.2017.02.16.04.51.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Feb 2017 04:51:40 -0800 (PST) From: Corentin Labbe <clabbe.montjoie@gmail.com> To: peppe.cavallaro@st.com, 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, alexandre.torgue@st.com Subject: [PATCH 19/21] ARM: dts: sun50i-a64: enable dwmac-sun8i on the BananaPi M64 Date: Thu, 16 Feb 2017 13:48:57 +0100 Message-Id: <20170216124859.14346-20-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170216124859.14346-1-clabbe.montjoie@gmail.com> References: <20170216124859.14346-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170216_045202_602190_EFC5A059 X-CRM114-Status: UNSURE ( 8.07 ) 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..347c262 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,20 @@ bias-pull-up; }; +&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"; +}; + &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 | 14 ++++++++++++++ 1 file changed, 14 insertions(+)