Message ID | 20170501124520.3769-10-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 C490160385 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 13:10:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4945223B2 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 13:10:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A97E127C0B; Mon, 1 May 2017 13:10:21 +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 70695223B2 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 13:10:21 +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=FIYZW9J9TJcujflqQdFix0an7FK86BL2pD8DWiwNiGQ=; b=u2+T7SbjAWvXUsDcXJpmYHyg9D LPVv/Zpzbdg32o70i3pgbeYNXW7OWpZT2VjoQ7ku2L57J49m3LHbtR0nen/9U9KLb3ZV7kTN9tswF 3RfSSyxwUUYMQCSbGk3jg0yHgF9UGTzMFMTThTNEAu4ZMrAFbeViT/+hIaoMH6nY6ns/oOF0yvXPm xl3jPkuPFtqd1l/TqlOk0s39Aa1B/j1oFgsKb3goHYWmTpUTdxj2aQdWj8MF+Z3OsnIRmFq86rqWG 9EUixGk96fylY3DbpxLuSkktRoxrvsdPv+nRp+KAQWNRb3GqnudOjNzUM7vNHAMyeM4pCMkrJP4Uo /bO1vS8w==; 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 1d5B5o-0000aT-MI; Mon, 01 May 2017 13:10:20 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d5Akm-0002KY-Le for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2017 12:48:38 +0000 Received: by mail-wr0-x244.google.com with SMTP id g12so13730002wrg.2 for <linux-arm-kernel@lists.infradead.org>; Mon, 01 May 2017 05:48:17 -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=JXmH9wuBhSj2laF9QXrK+yNXuuBhNpmQeS3SWYSNwms=; b=NxZsTbxocfincLLcQ8jKHvuOkjVQUtiqH7vPBQdy2tywup5wjRl7igKaVF3M+geWCf r118DOMZpL66YIfCoCMtjiuehEZ3wxD1lcODNs8ESLa649DdXkGiARNZ7nr2gn91OUbQ ZE3wL9IL/s+gxWfYSA6CJvk+ateeTQRxH0TH9U8LnGeuRG91A8rqh08Ap5pYoq8B+/wx iDPpDAerOEZ7B3lbSnXICuvpP/XhU9XONSgZlN+E+bhfx7FuJjjQRAAwFjIUb+eNfSs5 6kdRcBkAVK/68+QUC6DD9nl74hj1u8ouhfsM7tuEgMLhp32gFnS/pGBu8rMey8/DSkcF R++g== 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=JXmH9wuBhSj2laF9QXrK+yNXuuBhNpmQeS3SWYSNwms=; b=uOsC9cDkaR2Mf8U2ZYQP44NF3ADhyyi+ZUQuvRailEGNFCg8UbnOpStR7Hajrrkmbi ht841Kjk1N6C5gdEIlXUMXQM+2sPcYh7cSWETcIgaCUu8UH5Exg2QHMtcvIBGaxR7jC7 JtntW4s9IXRXp1IIXxKFNJCV1oiacZydxcl/lotMLcSeGqP1bUFs7LNOtLLmOa8efIHH Cx+a2Orsl34jLrVdgdgKCnZFE1ZpOMOVmuSPYaDd/SrxvXcRKl9DaURnXo9rNJ0gBNIK nXTC/97WrLZAK9V8Xhm9oItI1+Rl5PSlc70/TGSMkqeasrPzpb5Ba0nYygSJC4cr+uCY iicA== X-Gm-Message-State: AN3rC/5bU92pAjiYNCDomjrnQAbWaWczdcnqkFOa7PTW16rPzpHzIlLA BqkgxeCF+uswiQ== X-Received: by 10.223.166.48 with SMTP id k45mr14665484wrc.190.1493642896181; Mon, 01 May 2017 05:48:16 -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 4sm3364514wrv.33.2017.05.01.05.48.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 May 2017 05:48:15 -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 v5 09/20] arm: sun8i: orangepi-zero: Enable dwmac-sun8i Date: Mon, 1 May 2017 14:45:09 +0200 Message-Id: <20170501124520.3769-10-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170501124520.3769-1-clabbe.montjoie@gmail.com> References: <20170501124520.3769-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170501_054836_856921_9EF07142 X-CRM114-Status: GOOD ( 10.03 ) 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-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts index 9e8b082..dd3525a 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts @@ -57,6 +57,7 @@ aliases { serial0 = &uart0; /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ + ethernet0 = &emac; ethernet1 = &xr819; }; @@ -103,6 +104,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>;
The dwmac-sun8i hardware is present on the Orange PI Zero. 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-h2-plus-orangepi-zero.dts | 8 ++++++++ 1 file changed, 8 insertions(+)