From patchwork Fri Dec 15 02:10:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yixun Lan X-Patchwork-Id: 10113603 Return-Path: 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 5CA6660231 for ; Fri, 15 Dec 2017 02:10:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4985529EC6 for ; Fri, 15 Dec 2017 02:10:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EA0229EC8; Fri, 15 Dec 2017 02:10:51 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 EDE0F29EC6 for ; Fri, 15 Dec 2017 02:10:50 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=X0i61ZpMPWnz8IhCLPZvR0Y9AcFg+YkatQuLTi3pNz0=; b=pOR0dM4WBYe6w5 eNPYOvKx2FI8xtB4vh9ngOFz/hBt/m3Grh9k7V46GEPEoJipMw9O9CmwqQOyrrpISoGeWTieAu7t4 4RjxGkhl5bJbwPFqw7lW742YkccLoTSm0uscDEaXDZEkl6LmSsvQzx8Qc9uaaUQqLEk5KQglY2q9P 7VKzaC1LosF4oD9XiBZClOqrmB5ZgrYXqG9ABJy3oBrPRvk7hCMY1jJlQwFluRBVqcJfwa4Hq2MKa yu5M28wsh14PLyvraSxfiXMO2pt/LwwGXZK/thM2/OjUE8loIjBhOwjMW27Pxj7wpJMd0SFgED/qf 92qI68F6Y3NS6UlgMsqg==; 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 1ePfSV-0005HX-Vw; Fri, 15 Dec 2017 02:10:44 +0000 Received: from mail-sh2.amlogic.com ([58.32.228.45]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePfS9-0003e9-Ol; Fri, 15 Dec 2017 02:10:24 +0000 Received: from localhost.localdomain (10.18.20.164) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Fri, 15 Dec 2017 10:09:19 +0800 From: Yixun Lan To: , Kevin Hilman Subject: [PATCH v3 2/2] ARM64: dts: meson-axg: enable ethernet for A113D S400 board Date: Fri, 15 Dec 2017 10:10:14 +0800 Message-ID: <20171215021014.231308-3-yixun.lan@amlogic.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171215021014.231308-1-yixun.lan@amlogic.com> References: <20171215021014.231308-1-yixun.lan@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.18.20.164] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171214_181022_238193_C54BA346 X-CRM114-Status: UNSURE ( 5.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , Neil Armstrong , netdev@vger.kernel.org, Yixun Lan , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, Carlo Caione , Giuseppe Cavallaro , linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is tested in the S400 dev board which use a RTL8211F PHY, and the pins connect to the 'eth_rgmii_y_pins' group. Reviewed-by: Neil Armstrong Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 70eca1f8736a..b8c4f1913d28 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -20,3 +20,10 @@ &uart_AO { status = "okay"; }; + +ðmac { + status = "okay"; + phy-mode = "rgmii"; + pinctrl-0 = <ð_rgmii_y_pins>; + pinctrl-names = "default"; +};