Message ID | 20170501124520.3769-18-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 5A81460387 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 12:52:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49F1720700 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 12:52:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E80122B27; Mon, 1 May 2017 12:52:20 +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 BC6DD20700 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 12:52:19 +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=tgF2PqGz1bJRRpWZS44Y7tbdBdrmZIXzQQCBAmjyhhE=; b=QuyRgKEeR/KpzRDpj+EynbQ5By rZvYUltzxhiKaOI8KpIKYZLbkxHoHJC00YDeS+YAeWgQAQy/2uVyYpz3mQyWqhTv48w+VwegwYTlR lZcZ9afTihWIse9TzzCJHFYOjKtJiXNEdIsZVYBS8Be0YoHR+2D3sIf+6/Y/xiWopED0sAYr4Df5H GBik/ql+PyNlAiA+9RbHQTN9qfwhK+sjfCdoww3/5wv7OcjhwI+gPgGWGJTgBMCeovLqPxjnnKHN8 974LarN2PEKX4apaL4DyQkrRGv1wRGUc4DMPdnC3SMsuaHc51ogo2VG0pqWlf+kkpDGC7kq3VdQdn wVE5POvQ==; 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 1d5AoL-00089y-Da; Mon, 01 May 2017 12:52:17 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d5Aky-0002cG-Po for linux-arm-kernel@bombadil.infradead.org; Mon, 01 May 2017 12:48:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=A0BNPvlCTgG3yeHF7B689LvaZEEjWdKP75zfTWK5oyA=; b=MqI8JK9XTq1U9FXrWXDkWyXFE YIkHImXv4EaB74WMxrV0CkS0Ffjo/VTVX1CA1Gra6W9mAhxsbvLUt45i+G9Xd+GiKy4Xr/JS740Xc cFLnmhUhQEiDJtyyrv1soEYguEMbiJW6O6NTHrTIw3NklxDRHDWXmoazgCDKkpBQZ05rr7+waNg1C TLbCtS0YFiAzb3+NYUhK/S0UFcsyrJoB5q9QwXJKR2d7cO2fQ/HUYqMfoa0GH2WJsVDgXhkRIl6Z5 nb5n45k/OeeEYWV4idSYjyTXxVR46m7a4eT8bu8Eh34b0BUfgv6HUq62cUs7RC53BSfedKpjTSebZ 2UemxQYNA==; Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d5Akw-0004ui-QL for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2017 12:48:47 +0000 Received: by mail-wr0-x241.google.com with SMTP id w50so13710136wrc.0 for <linux-arm-kernel@lists.infradead.org>; Mon, 01 May 2017 05:48: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=A0BNPvlCTgG3yeHF7B689LvaZEEjWdKP75zfTWK5oyA=; b=Re28NlaPRcxatAvPJJRzDBySKApZLcj42iGfvXsm2mkswyVz9/RqJMkA5vWRrnToJ2 dVNf3DM7jVffXEE6Jwb7J/5nMAzl9zQW6NsUmIeqeeae55LLMfh7s7+Pji8yHdVUP0cx PTw78DjYPgSEEKbPwQ9Fz+pgHopXc4HcpzsNtXGG2Vi3KHz8khW2TWwPm8TttF+noOge qOBYwdVw7gTTeUGL6M4PEwFiEPpaM+m1HsQ0s/K1RxCwW/LiKd/vBp1kyqu6Rr3IgTKA ds+BfS5fI8MMJYUw+us8eNILGHdxKWcWQ0mLkH4J8uEKSO1qHt/mc7wqEERPVig0yyYY LeXA== 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=A0BNPvlCTgG3yeHF7B689LvaZEEjWdKP75zfTWK5oyA=; b=sdVrznUR6FrupO+tLMymFvZSC5bskwg5CdKl0p5UBGT2JVf1rBK4ashxrM3+5oxwrb lv0UKhE0i7gyfNGZPNYX6N2EkniBP1emqkWtXOajc1O+6XT/gt4xSMbrm0uNozQDBuPx c3Ib0v2DQB72Dj04/f2WvxT9c2lrGjq/4C8RxT+IE/DlmlWSe29AboCMGB+SglsW969F ZXei0up1dD+SABoQVZ4ghx6T2LW/BaHmE+B7g90c9oMkQa1I7auC46nnXE0443JziYWr lvA/bTZNrh76DeomU0914qG1KqJpCGyUopC0bTb/Jv4c5oK3hciNP/cUG4wqISPLUfxk bRKA== X-Gm-Message-State: AN3rC/5Ouutqkcdkl/5WSNKxeuMv/4rajRZHMc/Eu26oGBCdP8nZB+vY l8H7mgAh9TTNjDZ5 X-Received: by 10.223.163.91 with SMTP id d27mr18663628wrb.27.1493642903942; Mon, 01 May 2017 05:48:23 -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 4sm3364514wrv.33.2017.05.01.05.48.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 May 2017 05:48: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 v5 17/20] arm64: allwinner: bananapi-m64: Enable dwmac-sun8i Date: Mon, 1 May 2017 14:45:17 +0200 Message-Id: <20170501124520.3769-18-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170501124520.3769-1-clabbe.montjoie@gmail.com> References: <20170501124520.3769-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170501_084846_964663_0977DC29 X-CRM114-Status: UNSURE ( 9.09 ) 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, Corentin Labbe <clabbe.montjoie@gmail.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.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..0d1f026 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -67,6 +67,14 @@ }; }; +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + phy-mode = "rgmii"; + phy-handle = <&ext_rgmii_phy>; + status = "okay"; +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; @@ -77,6 +85,13 @@ bias-pull-up; }; +&mdio { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; +}; + &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(+)