Message ID | 20170216124859.14346-13-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 3FDC3600C5 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Feb 2017 13:12:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E1672018F for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Feb 2017 13:12:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 229E926E1A; Thu, 16 Feb 2017 13:12:04 +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 B53CC205AD for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Feb 2017 13:12:03 +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=tSWSbzTuL+NVsv3FyLH2pizJXnYXQaVSI812wM4kkHw=; b=TcqflV+8GM/eRbCSwoIhtbpoDj 6OJPM7l0eioGayVZe/aYQVQ68ZRVWxDUs1afBkXcGAPoK1IoSkZ9GB6NuwSosy4sg/Un8ZtQe3GXg RKNPGbjOmCLTrc2hTABUOE40vMAlGOFVWOueYt77d0rVB5QC5UZNYsQdG3MAMZbHtHe0ZjWRLOzIf owvsks9vKPmkEWoGZgc8yQ4VXc5noiHpnNJymogs+Uey1R3hM8CEI4DQxZs0mJCN/mauivlijo5N9 H49NtxcqCIgqIpjwmwDaCXzL/Swu5eUpIptMg/6GDh6KXJ+tF9xqUK8BIRmqd2ccpTaamGPQLuU/t lb3Q2uAw==; 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 1ceLqs-0006DB-KN; Thu, 16 Feb 2017 13:12:02 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ceLXI-0001Lx-St for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2017 12:51:59 +0000 Received: by mail-wr0-x243.google.com with SMTP id i10so1949451wrb.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 16 Feb 2017 04:51:32 -0800 (PST) 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=DCBfe6Z/xiCepsKDRHGEBf2xdHjnbkalM63A2bSYwNw=; b=MjflXqtQyPjAOymb5z//NXCmJR/TKtaQ/jacldsB1odtrO0/0WimIZ9GXwk0x1ETlS R9l8EpGrFRl+GXmxYWO07PIP/RQj4IVzqLBPAfGllh/njvUEA34xJTGFoYJKMkjvc78O P0AOH9WIAtftL3U+9dGAGn2DvaCmz+114vc3KAVoDgiDKMLtUFobDSVfQRB/IGo+5Ktd t1PuLjB6gkl/3mi5Bk34LH0HnaTmC2Y7TY0qsMaJK+DER19ZqHG+b1N0UCdjN0f+NNDm qQrlEblPjFZ7ENIyYxYK/SWGhOO6vv1Diy3Cn4JJkPvjzBt70/DHJCckgYrIH8TVZoFS aLyw== 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=DCBfe6Z/xiCepsKDRHGEBf2xdHjnbkalM63A2bSYwNw=; b=Od5k9id4UH9DY/F0Yrsv+DdrTChpvflDmzgzi6fIWFIohclcrwG+nbLfAEeJLGBaFo 9/0iJ07TCJRl0jSFyf/3luN+5TximGwHQJYvI9GbZpnA5NrcpMw+AQ03DJ9WNaTBZ9GS QEc8KOMAb/qm/mb3iOb++1ZMWCOiKYn/gJMlMZCdsCSRbR1FqfGIDlT5NosGOKICDmeo vkm4nauG1n/cNY1ccQTZd9qY5mqHG7eGrckE7hSkabSByMKnNnsOuBFcjIZEWlh52XJ8 VapuO20CMFx0UOJdpQ3ekExktAn43ZgEQOiMypAFLnM7lY/ob2IXx8D9eh+vCq6G75/w /Org== X-Gm-Message-State: AMke39m63Ubg4ilrB9nPZToEzwWSh0B21jpkAeabJB1o0s+jLybs0plLz/jpL4k3c/bohA== X-Received: by 10.223.134.218 with SMTP id 26mr2131318wry.104.1487249491749; Thu, 16 Feb 2017 04:51:31 -0800 (PST) Received: from Red.local (LFbn-1-7035-57.w90-116.abo.wanadoo.fr. [90.116.208.57]) by smtp.googlemail.com with ESMTPSA id o143sm144705wmd.3.2017.02.16.04.51.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Feb 2017 04:51:30 -0800 (PST) From: Corentin Labbe <clabbe.montjoie@gmail.com> To: peppe.cavallaro@st.com, 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, alexandre.torgue@st.com Subject: [PATCH 12/21] ARM: dts: sun8i: Enable dwmac-sun8i on the Orange PI One Date: Thu, 16 Feb 2017 13:48:50 +0100 Message-Id: <20170216124859.14346-13-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170216124859.14346-1-clabbe.montjoie@gmail.com> References: <20170216124859.14346-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170216_045149_749452_C9B51899 X-CRM114-Status: UNSURE ( 9.35 ) 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/arm/boot/dts/sun8i-h3-orangepi-one.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts index 34da853..a053b79 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts @@ -54,6 +54,7 @@ aliases { serial0 = &uart0; + ethernet0 = &emac; }; chosen { @@ -94,6 +95,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(+)