Message ID | 1469001800-11615-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 BE39660574 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 20 Jul 2016 08:05:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ADFA2200DF for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 20 Jul 2016 08:05:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A10AD24B5E; Wed, 20 Jul 2016 08:05: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=-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 5FB34200DF for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 20 Jul 2016 08:05:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bPmUj-00051A-9a; Wed, 20 Jul 2016 08:04:41 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bPmUA-0004mz-92 for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2016 08:04:09 +0000 Received: by mail-wm0-x244.google.com with SMTP id o80so5801175wme.0 for <linux-arm-kernel@lists.infradead.org>; Wed, 20 Jul 2016 01:03:49 -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=CmpXb8rfkYOHMrwJBhxPOmcG+QgU8fQJcaqF3PVM6B6tR4Fx1NKstJTiVUZjps6FCa CNtoRJAqJQ5HdA02379+X/4/79bE2gGzuh+ZZw15MYKvz0lrb+j4Tu4EDp/+IBSuuphL 5xcAMege2FY8at1e8jBjpQA6wCsVI6Ta8vFYY1jTijoomvuOZOq2J25Gar6PGmWVAZpf LnzPJk1Hva5pUVmVxTtKqihZRjcdiB/njW7rlTG0g3prVEt16e9fvHybIRs6GppI3p6y fbXtfwRuzEHVH78lNy1ILQGLaB0DYXDLEVlsgBxlPdOZD4PhuAEsC+SOg0rrEW5tazTt YRJA== 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=R1A+UYVyqSAdA4NNBxHSCAfy9wdhIZ/d6heDHpwKu8ixXGTAJFHuPJQeG5pPUYEIGJ YpdeQboRaNWJEg2SymKvsxEujS11XljBF+Dkd7b931ZEjyd3JfdzYHk2DZolUd0BIdAb mDDvDWSKIniYUCeuxmZac2W3QF8YYxmNUDi2itfDV0Eqg4XhdaA9RJvBvvjRVhfO8PeY Oo9HC0pqGn0s3eLvhcRenyX/xP9xktIQMWrKeAxXyD2LfKHgse8N+s7UhAOCBo4otHcM Y4ELopwHAUVrzAwwsehYNMewqjYGn77BCFD9V3njc8gMrxWv+5WIFAn8Z7TNiQtWYPRl CZDA== X-Gm-Message-State: ALyK8tL2mLpAUUtKuDoVwvfeohnkyJALGXxUEQPuny+auUoTfkIUgKpbVhFvtgvBl5RHng== X-Received: by 10.28.9.194 with SMTP id 185mr9423775wmj.37.1469001828333; Wed, 20 Jul 2016 01:03:48 -0700 (PDT) Received: from Red.local (ANice-651-1-349-64.w86-205.abo.wanadoo.fr. [86.205.133.64]) by smtp.googlemail.com with ESMTPSA id a2sm30134723wma.2.2016.07.20.01.03.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Jul 2016 01:03:47 -0700 (PDT) From: LABBE Corentin <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, davem@davemloft.net Subject: [PATCH v2 5/5] ARM: dts: sun8i: Enable sun8i-emac on the Orange PI PC Date: Wed, 20 Jul 2016 10:03:20 +0200 Message-Id: <1469001800-11615-6-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1469001800-11615-1-git-send-email-clabbe.montjoie@gmail.com> References: <1469001800-11615-1-git-send-email-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160720_010406_746540_1A2FD3E1 X-CRM114-Status: GOOD ( 10.31 ) 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(+)