Message ID | 20170531071852.12422-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 8E8DA60360 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 May 2017 07:38:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DF80284A6 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 May 2017 07:38:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F55C284AA; Wed, 31 May 2017 07:38:59 +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 D9BED284A6 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 May 2017 07:38:58 +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=EWRN7wG9UMA0UBIf3wWg+cY868N2utJMyvcqEnI0o6s=; b=QfROoEqSjM+JY6Au4W6qVSvkxa lzTPqWtLXjnXnXGnFSm1nbJWEBBP11PBXiw6EFVsv36v50FNh5y4R4fok6yK20miLpuhR517ggwTT Vxy70aONGbvMkLPlnpA62YrrqRr0IGy7pRUkoRrLtxbqF4qsDF1lBXvF2EoM+WSA2DUQQVOLDS/47 EeOoRrNIdiIl7X0A+W0NIDUue+0RJwKxQVkFVtIZAuIuUbcpdtRcCI8dt3Fwq8qdWF1qfQHWUHVr6 SRtfjcZTpa2h25pjmSPY5zZhve101Gkv8YP/NgxcwzGzGoXLjjkH8xmSbllE06G3jVfE5FxEgt9jN wBIEvK/w==; 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 1dFyDY-0001Yw-FH; Wed, 31 May 2017 07:38:56 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFyDX-0001Pu-6w for linux-arm-kernel@bombadil.infradead.org; Wed, 31 May 2017 07:38:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=Q8mB3htISRVgSUNzlpyCdaDp/cSi/C40WJxV4QnjOPs=; b=GYZ3+7HcB/Nc2ZX7k8pnCWwJW OG7WQqgqHycMa6sj+allq15KIqAR4e4t1FWtXtwaM8N8QCtjcoVGEpjHvPsfhDttGJ6L/fL8Gpbjo aKJCwc27OfLOiIPb8BDlo5pmUKRQFYucCz/wvCJSDjfHHFsrdPUJk1pDhogNyNGAMIKXSBOFAb/0S g28QDxYxXhg/QeVccgHzmIwLCq25fkK9im0AA4EXY6b34u4wQcclRpT2EsaxHFfk+RETEyiud1rhx e+gdAtSsm3Oq4ji+56VrgASz7gidr+llU+fJ7EriLs+68ZrvpeoFlbXCMQEeccFJT1uwIhZgmzqhp sfQLr7/Xw==; Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFxxd-0002pB-Ty for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2017 07:22:31 +0000 Received: by mail-wr0-x244.google.com with SMTP id n104so686915wrb.3 for <linux-arm-kernel@lists.infradead.org>; Wed, 31 May 2017 00:22:09 -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=Q8mB3htISRVgSUNzlpyCdaDp/cSi/C40WJxV4QnjOPs=; b=QcICHfQjprVUar2+p5o1Ni1v1tGqDYiwx76ZXPlRsrJP7uT/ALHzGXOkIWAXF0MxT1 bFV73407JAgTDAaWwwtICliUORME3EKtm2tI+8I6vg1yiQQWULGsrDAhCXElbY4llUie QxqgqPAcj29wu1IAKzkPhLpYLXRWD2bOc2sRpH1DQn6I3kk0hrLrwHcAh7Biy7IImuxP WbcRVA3NSF/0jLpi9GGRLgm9cDo2AYV6kkPqCAG7PHuFoWzNec7/8P7WUnqwR8H+BxOP vn7HhU9MnzeKbGFx6kyQEI+sDzDwtP1CjSDZMdtfJ1uU53GyvUhPKZPBcxC4HHQ8hJzO ebsw== 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=Q8mB3htISRVgSUNzlpyCdaDp/cSi/C40WJxV4QnjOPs=; b=JkGr+Yga11hgkNgZf2Lx7pu9ss0ZetsxkUuhLa9JzXZTBhGK2rTr1ZRznjAa5gUhLt in+MAykcK1EaU72ZWbwn/biDptrtkdCkWf8FyUIv3jYsfYEZvGtT+p4KmvSOLUclfVke t92ufdT2lQQARg0tGC9JV0ydwMPwuRNQjvXpz099XLAFXy0F3RNDbGW4DQRi2/ZAVC9z YDFwfgypcrkZO8DwngLcUYTYKLezE9X9ehBCf8mLV/yUNccMHPpI7nZidfupOMCgjI92 yU+0EuGwPpvNGxjjUYLLsPfny4uknshdn7KUn+A4ERZARvsu8J/GaRCIDTGxy9vncsmT 1yXw== X-Gm-Message-State: AODbwcC8/ojGPA5ozKRVDB3VJJ/V9jHw1OE78u+BMe5Itht/7k7OJfqt iZV2ym4XGoo/ZA== X-Received: by 10.223.156.26 with SMTP id f26mr16367461wrc.187.1496215328775; Wed, 31 May 2017 00:22:08 -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.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 May 2017 00:22:08 -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 16/21] arm64: allwinner: pine64: Enable dwmac-sun8i Date: Wed, 31 May 2017 09:18:47 +0200 Message-Id: <20170531071852.12422-17-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_082229_994496_52FE9183 X-CRM114-Status: UNSURE ( 9.77 ) 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-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index 7c533b6d4ba9..08cda24ea194 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts @@ -78,6 +78,15 @@ status = "okay"; }; +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&rmii_pins>; + phy-mode = "rmii"; + phy-handle = <&ext_rmii_phy1>; + status = "okay"; + +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; @@ -88,6 +97,13 @@ bias-pull-up; }; +&mdio { + ext_rmii_phy1: 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 pine64 It uses an external PHY via RMII. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)