From patchwork Tue Jul 11 22:01:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13309426 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 64AA6EB64DC for ; Tue, 11 Jul 2023 22:02:10 +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=e2ELAAA9/4XkZmRYAob4gXIiR1NgHVyCUJnVJ7mWiws=; b=GrFR0ahw6XObD9 llulcl4FuX1L+CXLm1MEycU9w+jNxjhX9HHf6KOlQRcRyOuiD7AdKnduzp5RTH8frgmkpCQeFFxOF lbiB+M3ByBNQux+jcSJZ1cogcHiU+iguASqBU2mzR1UY9JZZlsI/C+Hbx0327Y+l02KAPlEoGAXgF wTCigsTI30WDUcc1ZdpJhpUOvG6q+o0/t84nfT1nXYlQ2ANB2QSOY/qAizCl+zqE1O456qt4bKjsL +PON1TOtrlKvtMgjzgMuCdwxuVZHGbacYE4SbW8oaYUpZI4iqdm+/M1Tv8yV2NdfYO4De2MLg1YDa YSlovs1toayUpEzH0xTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJLQW-00FxHp-2U; Tue, 11 Jul 2023 22:01:44 +0000 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJLQU-00FxHE-0I for linux-arm-kernel@lists.infradead.org; Tue, 11 Jul 2023 22:01:43 +0000 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-1b07c02599cso1406551fac.1 for ; Tue, 11 Jul 2023 15:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689112900; x=1691704900; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dwK3q0Q2goFT432b5RTLBLChKhZVOrTxkZj5m03v1nA=; b=oa977mVK6SUkuJzRvgb+PV8OxFsBMOI0AVq/3CoqRY0J44WKK7tKuJUwHHWqBUlDn/ WYfacrSdMazhSiaOYnmhSbmQQ473I7BhDaXpjtnLPS0TbWzvbzlAFpl97QvlLXIp2s/D 6TomWU7mE0pM0NyppQk0sm00+QVfi8E0djyOJO6fziO2X6RuDbVMWy3SJ4GBJAAwOsBA UXjxaM0/kciKvqFusWYCW3NEhIm8dwMSyQ34bX/ncrF8NjEMVQVb1ikYHyPj5PpG1n3Q lT8plQG3VlB874vJEO4WA5Ekalm+Bx8asyyZnfuNnmM7SqchnDa3p0D2IRBaRLQeTIk6 9Jjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689112900; x=1691704900; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dwK3q0Q2goFT432b5RTLBLChKhZVOrTxkZj5m03v1nA=; b=TdiH63o1kAMG7vbUvMK8iuZMZpB6oV7V7ncCZqZiC7n43WmA6ZktL/7g7ge/FCRit/ RGpVYHMC45RPjlFcp1FbFeIfT54iRauaOyyxWali/c20tjeb9hyFawSO6ffFS+Q6jW/z ByEebXwC9U5RpegkGWGTEuEIQGctZ4x1w40GwrXVJw6IpHK//hYS8u9mXBDy465H+RUE JWybez3f22HUXdO8/DFlLZTmb3GGJoC6qCdKBxN7QMqQ4pDWNxr91fXM5IUYjiVozaD4 4AOkTKwyMbm9YGfFnWkhiN5pYZSDYHlaTw0C0QWv4NOa/F3SqmYZSqSQc+R32mfW8jXR JySQ== X-Gm-Message-State: ABy/qLZ/POZkoZAGSQNr15SioSqAwN1o77JuNEOoCSDINI99bykFq++M Y1r0iQDp+X0XApMMYzzCwns= X-Google-Smtp-Source: APBJJlFB9mVR5mkU6kgNYQxfv+cCEidxAv9gzWdECARoGsa650n/DD1NdIauTsOpEuQTR8i/LXKM+Q== X-Received: by 2002:a05:6870:230a:b0:1b0:33b6:c2fe with SMTP id w10-20020a056870230a00b001b033b6c2femr13121170oao.0.1689112899899; Tue, 11 Jul 2023 15:01:39 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:425e:fd9b:ba83:1b1e]) by smtp.gmail.com with ESMTPSA id u17-20020a05687004d100b001b36c56e6a7sm1412338oam.44.2023.07.11.15.01.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 15:01:39 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: imx7d-sdb: Pass the Ethernet aliases Date: Tue, 11 Jul 2023 19:01:25 -0300 Message-Id: <20230711220125.648410-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230711_150142_132440_25896E04 X-CRM114-Status: GOOD ( 10.31 ) 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: Fabio Estevam Describe the Ethernet aliases so that the second MAC address can be retrieved from the bootloader. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts index 75f1cd14bea1..0462e43ec09b 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts +++ b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts @@ -10,6 +10,11 @@ / { model = "Freescale i.MX7 SabreSD Board"; compatible = "fsl,imx7d-sdb", "fsl,imx7d"; + aliases { + ethernet0 = &fec1; + ethernet1 = &fec2; + }; + chosen { stdout-path = &uart1; };