Message ID | 20170314141856.24560-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 0D0A5604CC for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 14 Mar 2017 14:30:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0EB0285B1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 14 Mar 2017 14:30:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5A86285B6; Tue, 14 Mar 2017 14:30:21 +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 B24A9285B1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 14 Mar 2017 14:30:20 +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=mm4A5SAoMg3d9xYUynPb78DyyK pCUBWdAjjapQrtq4IpzWqD9K2icb/IyTWyViZe7ZoKKxs4iF1Dm5sM12MTxlqgO2nFMPy2+ezWIkw lTWU3IYKjIzifDQ0AME15zPnpXpBQ20d1MJltwceYi5Mh1P5py1vyTUtRYPinf+L7JErZf6xnxWbx M+whJaHSDic2gjf3Mt0qCZLi7lAtTK/T3zZFtyElEIbpXV/rucoBSzGVCX4lpS4QB/HswCiECk0kO uKk9zv0zRsQD1V+irrpj2VL1S/ef+OIoNZKTCQhgyiTBZxozNu//B1TUjhRtYypFfPtt9l+rWo7XT 9iWvz8fg==; 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 1cnnSr-0006q9-NT; Tue, 14 Mar 2017 14:30: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 1cnnKm-0007Cd-Hf for linux-arm-kernel@bombadil.infradead.org; Tue, 14 Mar 2017 14:21:56 +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=h4tirBpW5iWXP19AW8sdcVELCAVoS2uFszP5zWtLKjI=; b=hrpGLw+wMNp/7XZtWgFd2aN3m ITImc0GiRBjEZfZNjUqe7pup3FElg8b1lyYjOtpticyOT/52xsLt+3gh9mxTTlNkR/ne1elFeiRdu znSmaVXuqOzhNZ8cn5WudmspsavvJbt6JUqYPCfIB6GpjWY19qt36KwyR3oLs0N0p8D0dceRag1zo t2qV2Nk8RIWDGU2syoF6lWKOszNGvW50wfLwaFLOlP5cYI8JICR0Y9VjQujo+j5lOuOoXhM1XFD31 WppUPLG2TgpK/pXrEdBzHyP6nAj90XmkkCzX9o0UW5ADjNkFeVc8RvrDc2HEBu6i25jGoPBthUFbR rblgP9K3Q==; 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 1cnnKk-0005x6-Vf for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2017 14:21:55 +0000 Received: by mail-wm0-x243.google.com with SMTP id u132so49888wmg.1 for <linux-arm-kernel@lists.infradead.org>; Tue, 14 Mar 2017 07:21:35 -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=h4tirBpW5iWXP19AW8sdcVELCAVoS2uFszP5zWtLKjI=; b=pGbv1Av+1VNWXaxngl4CmkqsA9FtgsG6IhZjYJk4bwoB5jTRTeZ2fsmbTLtuTIbCfl YvBDLhwKavt/lli7NOxjC3ms2Ntoxndr1Yrtq8WznAPHHcSeqRQYZRjFy+5OxlBZsWQG KYDwz0S1HxuQQKi8qI+gShD2Gl/cga64Szjz91gEmfzoO51YlbKzOqsVZwDuVbu5fg2v tNNYz/9lrdsIgJu9gLQrdD9hiFWFVeT63Y5TrzWMC0j2aTi2qQ1u/0YWPWm4yhC4LTnI N3e4mb5iIiE22+RocdbNepU2yWvrSyyWJQiiQbe6Ji/2FNrBR//k8hvmSq4OtxEipP57 l7Ew== 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=LMN5cjsgH1dFyJ6YbvL4gRMc9bwh04PMI9a8TGyxcp63DcMOPNBt5PlJHqbLCdf5G4 kDtx61PvyLKGawcvBTySDUrAA3FoV22kNIVywH370B9VtS+OQ7YeP9eXK9MSzSWr4wjA Nm00rw4F3AziDAGuIgXG1M29Sh2MyyuWupMCpXK6NvB1vurQqmluW7+7bFVLs5s/osNV Nv6CnIO8fFs/wL/mSN36fFdCNvHjNXYtSZlIicLqJyAV3hgS3O9DL+eh8AtLaaOjBgv1 mhYUsE+UfHkinHcxch0A9F4hDw2kBDH0zlsGz70YCCaZMjKaLkOarOkgmnF6iXm1MHvD 13LA== X-Gm-Message-State: AFeK/H02UglvcEKyLo+DE4wIkovMFF959FN9phL55x1lM6oHwIW+krGGyZGI2xkd8fD6Ew== X-Received: by 10.28.39.5 with SMTP id n5mr68951wmn.16.1489501294186; Tue, 14 Mar 2017 07:21:34 -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 o143sm49526wmd.3.2017.03.14.07.21.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Mar 2017 07:21:33 -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, davem@davemloft.net Subject: [PATCH v2 18/20] ARM: dts: sun50i-a64: enable dwmac-sun8i on the BananaPi M64 Date: Tue, 14 Mar 2017 15:18:54 +0100 Message-Id: <20170314141856.24560-19-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170314141856.24560-1-clabbe.montjoie@gmail.com> References: <20170314141856.24560-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170314_102155_199762_65A09A43 X-CRM114-Status: UNSURE ( 8.84 ) 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, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 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(+)