From patchwork Fri Sep 28 19:34:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinh Nguyen X-Patchwork-Id: 10620303 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 925CC15A7 for ; Fri, 28 Sep 2018 19:34:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AB1F2C1F5 for ; Fri, 28 Sep 2018 19:34:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78AAF2C299; Fri, 28 Sep 2018 19:34: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 28C852C29E for ; Fri, 28 Sep 2018 19:34:59 +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: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:In-Reply-To: References:List-Owner; bh=ZWnAlMd5ghwoURbgLqtxCg84K3LTpokAgV/b3EkRacs=; b=bl1 JfFHNNlAxXF6kWPoj/Pg+sPWfQrI//JpIidjEM7L4yM72f9NCrJrsoB1ydB9D0woS7PKOCHWSN/E6 JPOg5ZOn9Vo9SFp0pdUAaTvJ19GYWepD2UiQ4ZJzgGLlelO4MxP8+i+oNsC91NIrNKtsJuc1C2lSS +PO/06rp0W89eqS2mB2awOMAtNAygER8L/+F4Xn6q7fOpH2N3m4qkQtbFPCF5FzYCBR2v5QYV/RfP BdYfDGKgWU6GR9zY2vEcufJ0APbRvWWcDqgnULr5ZPHrxyS/Af94CBTzXzNTK86MSsArOQUcOGawl xjEZ+6DBC3KWMHVRQmJFm9Oe8RUJD9g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5yXH-0007m6-Vz; Fri, 28 Sep 2018 19:34:48 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5yXC-0007lF-JZ for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 19:34:45 +0000 Received: from localhost.localdomain (cpe-70-114-128-244.austin.res.rr.com [70.114.128.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0CFBA2073F; Fri, 28 Sep 2018 19:34:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538163268; bh=sKvRs9MaljwvRnxxO5gh9oyU7HLr1sl+5RkhnefY8wQ=; h=From:To:Cc:Subject:Date:From; b=0/aBuCRv1B+LPkh046X3wrS8RHM6jICOS3r3hNVo6RTyv7Idb0dafwl3X3Ib43CLh MPfmcN/zqlDIcu5/D0PWhOyH1IK5zlLrncVCZb6wE6rYv9uJLQZWnSbnf3ZLpoiNN1 bvJ2SCnFjgWvjoEK+RuUQljE42OijdAtNbzUu0zg= From: Dinh Nguyen To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: stratix10: add ethernet aliases Date: Fri, 28 Sep 2018 14:34:24 -0500 Message-Id: <1538163264-944-1-git-send-email-dinguyen@kernel.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180928_123442_661673_BE7841E6 X-CRM114-Status: UNSURE ( 9.18 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, dinguyen@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add ethernet alias for all gmacs. Signed-off-by: Dinh Nguyen --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index bc6c141..dc16d71 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -24,6 +24,12 @@ #address-cells = <2>; #size-cells = <2>; + aliases { + ethernet0 = &gmac0; + ethernet1 = &gmac1; + ethernet2 = &gmac2; + }; + cpus { #address-cells = <1>; #size-cells = <0>;