Message ID | 20170501124520.3769-11-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 1A36360387 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 12:50:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0981F22B27 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 12:50:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F10FF28066; Mon, 1 May 2017 12:50:18 +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 6D3DA22B27 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 May 2017 12:50:18 +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=dvlFYKNo93fMm26ethG//3T/3rLI30JuyVfEw3bURao=; b=bB+OnrnuZ1j3q3jPfrufxnAqto JRMnmENln1U92MVbUBZVJ5aUJuvNPHezkGFVJvWmkYeYU3Vfdg0yQVPUEhd/u0c0G1ysvUU//TCvF PKwfB64Dpptxb5M7z+RIWjv/QfFlNnuOSkvB15+N8mRGZQwQ/LLNhc6ptW2HQFA0LXkI65w5miOhW YyNl2FAUqEK1bcBr2PcHC4lfayX4ZkeK1SCSyAlG1OB4bFhtgl94exghjc5qTDbKD9+0wvtmYvcqO h6j5ClX5UhIOoCs/gC4JXGh3PtKVMGavMo3UIOM+PTysOy/4XFEvhJhJDlxSJdpYX4yJDZFDj36DB 7DxF2USQ==; 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 1d5AmP-0005V2-Pj; Mon, 01 May 2017 12:50:17 +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 1d5Akl-0002Kk-L4 for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2017 12:48:37 +0000 Received: by mail-wr0-x243.google.com with SMTP id w50so13709774wrc.0 for <linux-arm-kernel@lists.infradead.org>; Mon, 01 May 2017 05:48:18 -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=AyZGVxRnMaZT1W8ZW88/wcrTC1x+Ee7UPvcsbCi5g80=; b=axsekuum2L8jI+pqLHqRMmvigVzcPxXAeTArRbkLZlF9BfWNsGluQiViZQF5fr4XAp gDCthBlkECCesLrBvhYNLADq/KAtVBd0B2Y3vgeO3fAg7ZEYCOvBHw1X5dbz5KYLNixv ObyuNLkdIDDyQ3iCGnZc3PyftQ3rml9zrv8Bfw1W1HoXr/4NGzMaJQqE4qUVxBAChTQU c10XdxXKkhJ0zu/5HS/VDRuBIFJtxCAUIHGrBDf4B2cQtKBKIDS05ylw3hGx2ePLH+YS cdV/Pf/vKO6AsWzcIJ48GtLEZRA4klsvnP18dlRwC4XySh8NN8dTS/wSCrhZsYu9Ac1s Vnxw== 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=AyZGVxRnMaZT1W8ZW88/wcrTC1x+Ee7UPvcsbCi5g80=; b=qbx+XAkpdc45QOjgkkmRX+2aJ1tRat1n0lFnt7lo3a1gqNYiaar0VxRuCCIrl7ny4s ASGhN1VhTPuUSNdiaKAlnOMPqmmBukKu+QIc+J6XB6Mfud6Ok4tF+1c9NSzx39cEvDuL q5/ip4SxlQPnc4D/9nUJ3e+LuqH8zRA3S6Eu8BGH9A8zCG7aEUqkn3J7XNmLvprCmMSm wYSmS3k3FXmlsXVJKSQongPucQw5V2B0ius1AdbeTofg8Xbq8Mkj+ihPE2VV27V2y+bV b5yyS0h5gSQ9IKvr2GJm5I+44LBBgw1PlN5f1rR0zRHUGc2bBl3lQKr6OU9Yv4IzZVkg lANQ== X-Gm-Message-State: AN3rC/6MtR2h3plI98QjyH+TgMogNSiZZGpSuLrYRz5f7RfSJ5W30moJ O73q6McnN1qrTw== X-Received: by 10.223.135.50 with SMTP id a47mr16223285wra.138.1493642897152; Mon, 01 May 2017 05:48:17 -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.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 May 2017 05:48:16 -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 10/20] arm: sun8i: orangepi-one: Enable dwmac-sun8i Date: Mon, 1 May 2017 14:45:10 +0200 Message-Id: <20170501124520.3769-11-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_054835_837980_0206BD13 X-CRM114-Status: UNSURE ( 9.51 ) 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..6880268 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts @@ -52,6 +52,7 @@ compatible = "xunlong,orangepi-one", "allwinner,sun8i-h3"; aliases { + ethernet0 = &emac; serial0 = &uart0; }; @@ -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(+)