Message ID | 1464947790-22991-6-git-send-email-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 C828560221 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Jun 2016 09:59:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAF7D28304 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Jun 2016 09:59:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF4C1282E8; Fri, 3 Jun 2016 09:59:58 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 39024282E8 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Jun 2016 09:59:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8lsB-0006OP-69; Fri, 03 Jun 2016 09:58:35 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8lrR-0005Ti-W9 for linux-arm-kernel@bombadil.infradead.org; Fri, 03 Jun 2016 09:57:50 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by merlin.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1b8lrQ-000629-KT for linux-arm-kernel@lists.infradead.org; Fri, 03 Jun 2016 09:57:49 +0000 Received: by mail-wm0-x244.google.com with SMTP id n184so21774493wmn.1 for <linux-arm-kernel@lists.infradead.org>; Fri, 03 Jun 2016 02:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=trqrPf8pQJChitEk7MwW96pD6ZpJBwu1grBBrS2df/k=; b=mh6WCvANSh2O9cznFSVUgRpWrXO7Fv+gYiElrXyw1u0Oq408tU6ZA9+xYSKTFCJnNv Hwrazg3/yPhONEbOcl1MqYko1l2uyJDSqdFVE1V9PRYHurlLu0pG9oGOEQoEJ68gbSJb PM9QNiEleFzUipRYknz8aKDi7rXNXTffT5avCxUBxULZ8E5hiezuqlLbCp1zJaz6ufiP MJ94s8UM8OWUUq92csAptybwsBT0hKTrkdijPuDcVo4E3Dk+xVsrtfUFlOaIAsv6G6Up pyqopTCSFX3NNcXo2UePHAUHqSs8aw8VY9Rw1pg15KiIf3fJ9cIM0y2tBFGWWqT8O6WC v9rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=trqrPf8pQJChitEk7MwW96pD6ZpJBwu1grBBrS2df/k=; b=eBjTwlIS8XhKa4aWO4zIBOLeutVO3Efk7IHP9MDtZpa0XuIQasQp4wCLi/vgiy9U86 GzhImDsTTUdVDX47zMY0o20xGe3U8ImGbC9lFCJxlYW8T0DbRgD50OjYWkcySNFN3WvL 6DViCEMt35QxGNPuY/xUSm4hqtxDRj+3zt8T94mA8/dUYTk3vAJ9rB+vbozVmj+a16dy vvbQLjb9d46ctEVVfjnU6PHqagQskeAnuoYu02aZSW0od3sfd202E1JjxRNTpK4tH+Dv Vd4pRxNWQNzLAfnQ50PmVjNigoULRjwOAs4UkAfzMuUI0JaEAeVQw7i0TWee2IBXLIJ/ ZMNQ== X-Gm-Message-State: ALyK8tIdyH2tjMFfXjxXstArfiqKGzR8+kG2oE4eRDBEq0sfGR94a8MrcNsSk/Am/dyfVg== X-Received: by 10.28.211.137 with SMTP id k131mr3025245wmg.83.1464947846186; Fri, 03 Jun 2016 02:57:26 -0700 (PDT) Received: from Red.local (ANice-651-1-356-146.w86-205.abo.wanadoo.fr. [86.205.140.146]) by smtp.googlemail.com with ESMTPSA id n66sm5577060wmn.7.2016.06.03.02.57.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Jun 2016 02:57:25 -0700 (PDT) From: LABBE Corentin <clabbe.montjoie@gmail.com> To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, davem@davemloft.net Subject: [PATCH 5/5] ARM: dts: sun8i: Enable sun8i-emac on the Orange PI PC Date: Fri, 3 Jun 2016 11:56:30 +0200 Message-Id: <1464947790-22991-6-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1464947790-22991-1-git-send-email-clabbe.montjoie@gmail.com> References: <1464947790-22991-1-git-send-email-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160603_055748_780160_4C8C20F7 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 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, LABBE Corentin <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/arm/boot/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts index daf50b9a6..b8340f7 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts @@ -165,3 +165,14 @@ /* USB VBUS is always on */ status = "okay"; }; + +&emac { + phy = <&phy1>; + phy-mode = "mii"; + allwinner,use-internal-phy; + allwinner,leds-active-low; + status = "okay"; + phy1: ethernet-phy@1 { + reg = <1>; + }; +};
The sun8i-emac hardware is present on the Orange PI PC. It uses the internal PHY. This patch create the needed emac and phy nodes. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)