From patchwork Fri May 6 15:27:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12841311 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 D3338C433EF for ; Fri, 6 May 2022 15:31:07 +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=GEX9t3MAgQPix1X/Ap3CAskbjL5LeuXmlvIaT/dOww0=; b=rUP9WD3JpC/Tlv s6W4yd0HOYC96L6IBJxzbcAvC2623u5LTMwXkQzDk81NrURKU7fy5L77SVjKlOg5+UOxz0M9c1Mf2 3frCdwSbH0f3IC6J7CCiCPcX/sd2k25sGFwRAEPF05nppsvQMpmc1Z2DjWVEl3XFtMi45qj1z/VFZ xmRyaRsVb3MLG0Tyn+rtba3A/z7U+bgBucnQyN7nlS8LEh2hgTiba2siefYA2Ye6WOpmNI1lY6neV HJDA0rRYXkz4ZJFYRHSQ/yt+Ah1tGfvJpayWvxCkp+uDYjLrlDnWXu6bRu20MlInqHfr2xNvliNFT p6Rq7tKpYMFeo/20U0IA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmzuB-0043pv-6q; Fri, 06 May 2022 15:30:07 +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 1nmzt2-00437O-A0 for linux-arm-kernel@lists.infradead.org; Fri, 06 May 2022 15:28:57 +0000 Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MdMsu-1oMKdT3TH6-00ZMUS; Fri, 06 May 2022 17:28:48 +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 v1 08/24] ARM: dts: imx7-colibri: add ethernet aliases Date: Fri, 6 May 2022 17:27:53 +0200 Message-Id: <20220506152809.295409-9-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220506152809.295409-1-marcel@ziswiler.com> References: <20220506152809.295409-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:PralARl5o4qQHPIuqbUqwDauOLVU7LfUChvAPJiv78F3TE5M6AJ iH3efrItR/7j5GfWNCE+DjCfjLjwv1LlpamPC6WvXxQ55NpkZ2zdorM2K8pC7bPn3Hsb7y4 uNjNpMHtoZWQKB61LbzaVMN3kk+WSBNPK+pyDu9PvbplL+kDAD/SD8OYfVVFjSaGr3AnxZS eNCFsHpDiuFDOOXfCi3uQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:z0WLNH5mE6s=:7RzR7BRhToveoPCVX69iR9 Y9RjGxTNZhQnkOfBf1uY9liEwpIJBo3jnhPxLMinIEdP4P6+EIGf1RzEg/QR6diPl7d5WWFeJ EbAg9mVEWEMpcjF8o8SSoUEMZQUCSHUnemosKcv2PWmjgn0U8TrlXQrAxHI9Q+tNAg6MFgGLg 2tBaoAH/REKPVvXwnAOJh13YuUaiAFmn4BBECWVj+bFKc0ROMPTEtWAheiH0AdIU/AIMz1WXf sI84jOqrsIdtf/dprAs0DAFFgWG/Tec0Ko5BWaqBx35oAxVLZnFxR4nlt2I9qJlQhhVneCPGD +S2a9rPnFabUiW+uKVineMU4XC+BiUeE8e8fhCKGNU23Er61Bs3ASZMRmMsJ8ttg8iyYj8dmw iM/d6RtjWTy30L1H6Bf6vmnqrr2RYTE+ZbJ4gdMr0XH9ctYMAy+mWjNujZN6v32udhPvsyjkE KZ+0XY4qwBxU2SPzwVSjSEUFppGM1Zik/vDqeQ3N7M3wtWIICRkSQ6T57ApUAl8N/kNaYXUYd 8AHIZgsM2I/8kRNbO8IUhIzHGPRw4XQAYRLff90X6M3pmYkd17kcTf0L9pSVraUn764N9t4D9 RMy6LRCsDDSdfMmN2Bn8JAJ8TVbKSDRs+V8xjDbdBK74GWDtLJFQBUqFwpmXlUeMbgagobuDZ +6gwtduYtG3pAXBZOp422S2gX5j0yvlm5beWam9kjGFc1b7DpdeDty9dlMbpvekhc/4EREE1T liH/N/sjqYPs8k5m X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220506_082856_478115_739398D8 X-CRM114-Status: UNSURE ( 8.19 ) 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 --- 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>;