From patchwork Wed Jul 27 13:09:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12930418 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4C66FC04A68 for ; Wed, 27 Jul 2022 13:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=86/ru47lLXtjPw0Xi/zxiUtHjW7lyNDve3dXsSDdV8U=; b=sio4RLWglUtQqp AYKs+g/6Rshg4UzHuRST1R9eQ7wZurwRBrm+pBxhwKgC94a1x0zUaPcEctwnnVw2q90hAAnRg66UA G9ePfu+IjPp6yG7puGEbFST/vEziqGILmZetJYuKCnIr+fO/mTIEfKrJCvft2ENbUgeNpAtvZO049 y2yH8FEx3TQIPm0hJU8iP8P654giSrT5kElNFzaKSgSHzk2FFav0MhX645hx6jqKuS3W4pSdKQfxJ aFr0jzc/vQmXDfbcrQPkCoc8ySND0IayV8GUlxl1fbKJOUFQQW48AxxBcEE6Psn3A2/neaCkL7+4p syWEYj1xJaBndRah3BQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGgnV-00DsN7-Vo; Wed, 27 Jul 2022 13:09:58 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGgnT-00DsLh-7S for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2022 13:09:56 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D3E4A615B7; Wed, 27 Jul 2022 13:09:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 185CAC433D7; Wed, 27 Jul 2022 13:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658927393; bh=Skc+c+PFQVNtRmbU2XSMvMcVQ+RxCYd9R/8c6RYT5S8=; h=From:To:Cc:Subject:Date:From; b=gHFMgmEkQ0uWWT9XPoFxxbtnRelUGqcUB67ch60lL6nhvTa8a0W4sV8VftrLshkRu m/wYosz+8pNi4OLEfV4jn6/47PGTgwVwYJybNRmk9XCMbOR1S3y72vytBoimckNWLu YSv2elPc+9A2jk6jVPl0yexP76y00NHgBx3Aeo+b4avAkakEIxRJVXzxNAi6GNYf8n DNJpRmwjy8Xx5a/wsyQpbvEuCtP4sakSwSjhwLiXYerM4HHzi6/csblQgDwIM4Alz+ H2cFkxtXXZfq5SF4u8INxs+Oe26HTHHvqMqoiLRgpRTqW1fabIaZNYR3y7azq/TFnI QNr5PwConiSbg== Received: by pali.im (Postfix) id 984697C3; Wed, 27 Jul 2022 15:09:50 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: turris-omnia: Add ethernet aliases Date: Wed, 27 Jul 2022 15:09:26 +0200 Message-Id: <20220727130926.1874-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220727_060955_333196_9856E09E X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This allows bootloader to correctly pass MAC addresses used by bootloader to individual interfaces into kernel device tree. Signed-off-by: Pali Rohár --- arch/arm/boot/dts/armada-385-turris-omnia.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts index f4eb6898aa6b..d2afa466e29a 100644 --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts @@ -23,6 +23,12 @@ stdout-path = &uart0; }; + aliases { + ethernet0 = ð0; + ethernet1 = ð1; + ethernet2 = ð2; + }; + memory { device_type = "memory"; reg = <0x00000000 0x40000000>; /* 1024 MB */