Message ID | 20170403091444.29876-12-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 6596C60352 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 3 Apr 2017 09:19:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58CFA28437 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 3 Apr 2017 09:19:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D671284BC; Mon, 3 Apr 2017 09:19:39 +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 D6D0C28437 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 3 Apr 2017 09:19:38 +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=s3fF9DCkkW2wUftA28U7JKVqocnUAvGDH4ptxInTHAo=; b=C0B5CrbFbNsDR1m/3sfkH1Qd8d WKDH3yi7Fk1qLoSteWnhjgk3pLFT8YHC4cHnm33SWFjN8vyWqJZC1I5yYpwnSXusdsvX/d1OCvTvu s1AAIZ6LmubOlT/i6Jm1Rpcig6NycwLlJPDU2BYL04RamI6tQTqSIKJyTiiilEkGhDMuQjVBq/J4B u1DjETk8OJSISnMA/8ZdtosP6sC0i4+uygCL/4f97V39ayaQtqPHDZdft5tGls7QhkstxJrg0eUdI te9jxbvvxzN55ykwQAKXFeP7NrfuBfdS3bvTvBOFgWd1zHBG6DuXJbEcAjF45MQyiwvO8LTmxN/OG oZdfZsQw==; 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 1cuy9B-0005du-DC; Mon, 03 Apr 2017 09:19:37 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cuy7H-00034F-Ur for linux-arm-kernel@lists.infradead.org; Mon, 03 Apr 2017 09:17:45 +0000 Received: by mail-wr0-x241.google.com with SMTP id k6so30362164wre.3 for <linux-arm-kernel@lists.infradead.org>; Mon, 03 Apr 2017 02:17:20 -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=mQGtEJxcUf9xdyD593ujY95gRye6JlwtgzDhoefAXQ0=; b=ldWFMbRMqTzi/vDxG0klK/+1XCJzITXn84KrNU1ZPaKgKHnz6lEfDaQNSMyfBWp9/x masLPlzUrW0B1e+ca+uwxYsCsPf1zWpXUx3W9D0NC0Ip/1EYkvZ5n2zQ8QeygfEaPj63 22JbhtxUPMzVitlDQ4AJWfFhE6ALepUGbwVn6fsiQnRIO7mpEOrSVIf0Gn4g+fCtM9BI QfV1LW5U/528ZPjgsIr/iYpsaC22yVhfIntMYxdEN3MJ9u//5qlBft2gT3c5delcNMCd cbdZNM9wfEACXyruon3djTMZ8PspHsYjLx2tC+ASaay8i4YQKykOv8lFr0TPAKx0Hyr8 kFuA== 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=mQGtEJxcUf9xdyD593ujY95gRye6JlwtgzDhoefAXQ0=; b=Ss5vEocE/T+vv9sc3P7NPME3kaaX0ON7QsLZgdZLBbHQrcwnJFlL7ddZH+ljn2aqia xqA2vOxIHV8Y7XZ6ynaowHh7NvLoTha8WKWQas4bVfNnnanA5GKyZCT/wX8WqPiJzJ+8 x3SSA0Ha8HwXd78B6HnA40UNe/6xcs72TnQU/s1p6haKyUGHXGfO8YNiOjbr8g6UTKua HBdo6x00PYYu18MqJCK8hzJ9VflkBXDphgv8I9PDAgNNcWgj50t7J9oFafWBWZPX1Kcc dgiPbLQ5z3HIL3Wl/qbHnBl/3V6JSr/OSIz0brxI59R4PSmlI3fz9dOIotF26F5joTDo Fa2g== X-Gm-Message-State: AFeK/H10CZWOtJNYOHtUYkB7K6DoYLcLFnWaZx1YBVXR1UnTNiGkmtGFo4GX2gbE9BUWRw== X-Received: by 10.223.155.147 with SMTP id d19mr13560233wrc.21.1491211039112; Mon, 03 Apr 2017 02:17:19 -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 v14sm13457558wmv.24.2017.04.03.02.17.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Apr 2017 02:17:18 -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 v3 11/20] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange PI One Date: Mon, 3 Apr 2017 11:14:35 +0200 Message-Id: <20170403091444.29876-12-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170403091444.29876-1-clabbe.montjoie@gmail.com> References: <20170403091444.29876-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170403_021740_828087_EE0FFEF6 X-CRM114-Status: UNSURE ( 9.42 ) 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/arm/boot/dts/sun8i-h3-orangepi-one.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts index 5fea430..2ffa4c1 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts @@ -53,6 +53,7 @@ aliases { serial0 = &uart0; + ethernet0 = &emac; }; chosen { @@ -97,6 +98,13 @@ status = "okay"; }; +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
The dwmac-sun8i hardware is present on the Orange PI One. It uses the internal PHY. This patch create the needed emac node. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 ++++++++ 1 file changed, 8 insertions(+)