Message ID | 20170531071852.12422-19-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 A5E08602CC for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 May 2017 07:25:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97A282848B for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 May 2017 07:25:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8AB8D284A6; Wed, 31 May 2017 07:25:02 +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 EA0F02848B for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 May 2017 07:25:01 +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=iTvaS59IpFEAiGcrfWOKqvhRSeGenOMclq7QdgjS9SI=; b=PRh3dS8+nuR9dLK62Fbu+HYiVR V98klECXLOHjDtHnkWupoR5MjykggJbTQf6OS+FsM8xbLnLfdS6euOvKOPwQ5NNKQg2wuII10Q6Jm 92g0lQqkdQW2j8QlEUdtR1u/QhWjOMRHBUkakYMH4/cygi2L2lYv5DF6wGd/FE4CQelR56bMHaqkW G50LSuJgVWnZp3niLG4FYtfFvBRtUwmZrTv0nBW96w8DFQfmr+0BktbbqNzfh2vP0qgEthEQWtP7n +Syb1StXfZQXwkzpXVHL/f0OGTAUMdmoVJ8KBA9jLcZkM55OEymSXnHY2/33icLLa+s8d/Q5Pkc8n 0u+9mBpQ==; 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 1dFy04-0001OI-3Q; Wed, 31 May 2017 07:25:00 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFxxh-0007LL-EO for linux-arm-kernel@bombadil.infradead.org; Wed, 31 May 2017 07:22:33 +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=MAuXs370sbv97n2q4Ch3OaMuujf6ueQw2OlKPktsKkw=; b=qGlIB1/aJ7BGH+zgGjBvHOyMh 9FExpvRf97DJzIKDFCUO/YJeeV4BKJFft65Gx6MjxhGT4Npy5QGIXJ3cSpFUneVz06UqtBy+a7h8K 0z4aLPgNXA/lP6eRntWbW3PAI/D4Qp18lCT2sQbuQ4d5NX+kDjoq4PQTpcF34IhW0NnmsHfDfwe6G eQANdInrF0+S2oD17tSkmefyw37aAuHpgEzhV2GcdPOJKHbgbgee0Nvfo7p1EkXs+DfAfbLaSiQoY kIdmUUBxAxkQTOZKbNKLDOy9+nEhMKKFDxAmAB4vnC9jvA4nvSYHDyDCl7mn2Qc7b9ZtjwwtMParh otspWiR5A==; Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFxxg-0007Nz-4z for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2017 07:22:32 +0000 Received: by mail-wm0-x243.google.com with SMTP id d127so1661562wmf.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 31 May 2017 00:22:12 -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=MAuXs370sbv97n2q4Ch3OaMuujf6ueQw2OlKPktsKkw=; b=WTWnPq6JkkZwKTCGYdIEF7lZq6z/dcUTZvpx68PmvmSS3ZmZducNSw7pgSeT7Ms2uu cwlerpWNuJrMpRfPwQi+/6KsVActBGas3Zk2iWDQyGJGamPgYfINSxcflO+6acuEuMO/ R/LPF6bh75j3oBpfCXSjk9FnF0NIYRDMHoNW41qi2oxkClsYrcJeH1U7JDKuLAN3oAXi 6sGp9JVp3XsXCgzUFK8hp+QHga6gHjpZfCd0slkjyUrIYqkuhHU70rF//PGxW5LCCMYm AhDrbaw1PZnU0dQj8FCEqVi1fSRkkY+Qep6HujHL8/P/qnwj7E5G+6YFQ2kxQfUZgj6H lLbg== 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=MAuXs370sbv97n2q4Ch3OaMuujf6ueQw2OlKPktsKkw=; b=qNzcOT8kkjkIG/3RwW8oVh4E+AToX/4yms2hIu8/iwHZI2EigrCAFwSFdQyR7tv3uD UpEJZ5Y2xSIk0iU8Kj2NGTA1m7T5yfEYZhRt+XtXkvFsSuhM72nLDKsimBksip7XR+z8 +IPFujgiBpbZQ77r+vdp/NEFyRgqaOOn0vBRy2eRSCj80x8mJ225X+lHH8ym16lSihU5 GQmwkWkiUOx6xijPG7T09WYym1ebj6zVEpCMG7DwROJPsvQtkrhBBWbEv4CyR7MeMV7u mXYgFdfycfZ1zFtEjeRNIbx21MOIsw8H5XjHKjSbccau8R936r1xiD7dkf2fnI4Mb6j+ W/Yg== X-Gm-Message-State: AODbwcAICCjS5iKkrLggfjUROVxQf5LKmRQMTStSJkwD+S7rFJZ2WdyS LMSDP1YqKwHB9w== X-Received: by 10.28.198.13 with SMTP id w13mr4080030wmf.9.1496215330715; Wed, 31 May 2017 00:22:10 -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 r130sm12528169wmg.4.2017.05.31.00.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 May 2017 00:22:10 -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 v6 18/21] arm64: allwinner: bananapi-m64: Enable dwmac-sun8i Date: Wed, 31 May 2017 09:18:49 +0200 Message-Id: <20170531071852.12422-19-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170531071852.12422-1-clabbe.montjoie@gmail.com> References: <20170531071852.12422-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170531_032232_345889_38AC1C52 X-CRM114-Status: UNSURE ( 9.22 ) 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 6872135d7f84..0d1f026d831a 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(+)