From patchwork Mon May 16 13:47:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12850869 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 C89B7C433EF for ; Mon, 16 May 2022 13:51:44 +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:References:In-Reply-To: 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: List-Owner; bh=Us5VAKHvbLN/IT2bewVeOJEr0Xl16kamYmI5QjBkyNA=; b=MKJAl6toT9ZJio ygBbE4vUnWBekWq1M7urziB2LrkHMB8U3wEt9GPCFZqIsO/CAqb1nQF4PJyHW1i+j3e97m9KSW3/S yW8xHMuZKE4WqjIg7aBvhIGosJycfaF0SU/QjtynXcvRJ0hwunP0YlR6N/bxZx9vy6qbMpu57nG2m vPJtfP4xJtN344v0SceYC5U5JLw1SgU+hGniDdMmKgcrzata8BhgIf2wycSlEBUwR6twwea8z5v2J IxGVSLR++Ty+1bIr9kVLD8hLS7dZmLNviXDoMFBNJloxnx9WHbSbA2hSDTGncNJvFm2eG/z/a+4tK lSEpkrZsUtvQh8yohg8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqb7P-0083kl-NN; Mon, 16 May 2022 13:50:40 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqb5M-0082b2-PD for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 13:48:34 +0000 Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M5ukJ-1nfw1Y1Kpt-00xosc; Mon, 16 May 2022 15:48:25 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Max Krummenacher , Marcel Ziswiler , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 08/24] ARM: dts: imx7-colibri: add ethernet aliases Date: Mon, 16 May 2022 15:47:18 +0200 Message-Id: <20220516134734.493065-9-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220516134734.493065-1-marcel@ziswiler.com> References: <20220516134734.493065-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:06s0GLfGsN4wSHAFVUljIbyxlOAiw6HaWWbYqR+39cEKSNe34Be gZcUEh62acuDbWmkKiW4qxbP9+YRWf2BNVykJksEFp/gWEJ+NCEUtoJOuJb1fwgXKCM+Dwg 3LWI1VtEcnCnHS7MTf4gmJV4qsDYD+wwSQrmeM/hIKpqewWTnILOSieRm3AWpDZz9Ec+RfK eIPrN1+9wwhwN9umlnnag== X-UI-Out-Filterresults: notjunk:1;V03:K0:kas3Xe1GRJ0=:zBPXG2E4kc1dWsy5SN+38P zLSqfi3h6mFDcFq1+nleUcCbmd4fLTJI7/w/yaQaJ3jsib3r67ojN0mUWiugAdEXNMF0kGPQD JveF0BW1DOwZRE13dQ/PQ4z4+ps8q1YVJoX2+YZwspKlpBwe9bj77ZXxXzV0BV0zjpCiA5h9E GMP40zFt0TWxOhU0Z8FFzYTZCKd4K/ozDGZg+Y2RTcP4UkvrAC8m9MJp6vzCY8A1Rp1lXtRmB sOEHMDQHfj4K4yQ8ST/B36tpUymercbdsgIDPghqnbaNjGUbDBYjdei7rqddA08tgo53lEBgo l1ae+XOUYFDPfVDuHyt/BCepp+SBTazk6zUd4NxwMMH6meD51Q5ALVXkf7KrOM1kunAON+oL3 Ckv6/OLXDjMrakeja/Vv6p7mwIZy3HvHiXPUFXz1WYujliVvBm0HqWtnGtKvG+WkHtDdvkFkA 3ioqPuCO54XKtuI1/2/neE2ARa6FNht3/iPw5IoRHQupWANObB3rO3EWQmOnVbsKLo1v9v7Qm eq9BVTkTY5HYfFEaAFMdKOGUuuw4ssyuopQ2HcCKltRAQu8u5K8THyAY21HeYcY74pWVXlKlt Q44VzYUn5o4MRs4J48YPYlK1nfv2KZ1a88kS03ccb+SL+TVGei7Dlfcf1m8Q7J8fJsUqZEQM4 l/W4q7rTYWGCvx2vDtWnvd3uVnQ8DyZ8sx/TcqU2eSJebqksNZNLgue/lXJ7qPsLvDzHOUX1U KsqtH166pS7MP8Kj X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_064832_947735_1CCBE81C X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. 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 From: Max Krummenacher Add Ethernet aliases which is required to properly pass MAC address from bootloader. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/boot/dts/imx7d-colibri-emmc.dtsi | 6 ++++++ arch/arm/boot/dts/imx7d-colibri.dtsi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-colibri-emmc.dtsi b/arch/arm/boot/dts/imx7d-colibri-emmc.dtsi index 198e08409d59..e77f0b26b6fb 100644 --- a/arch/arm/boot/dts/imx7d-colibri-emmc.dtsi +++ b/arch/arm/boot/dts/imx7d-colibri-emmc.dtsi @@ -7,6 +7,12 @@ #include "imx7-colibri.dtsi" / { + aliases { + /* Required to properly pass MAC addresses from bootloader. */ + ethernet0 = &fec1; + ethernet1 = &fec2; + }; + memory@80000000 { device_type = "memory"; reg = <0x80000000 0x40000000>; diff --git a/arch/arm/boot/dts/imx7d-colibri.dtsi b/arch/arm/boot/dts/imx7d-colibri.dtsi index 90d25c604de2..48993abacae4 100644 --- a/arch/arm/boot/dts/imx7d-colibri.dtsi +++ b/arch/arm/boot/dts/imx7d-colibri.dtsi @@ -7,6 +7,12 @@ #include "imx7-colibri.dtsi" / { + aliases { + /* Required to properly pass MAC addresses from bootloader. */ + ethernet0 = &fec1; + ethernet1 = &fec2; + }; + memory@80000000 { device_type = "memory"; reg = <0x80000000 0x20000000>;