From patchwork Wed Jun 5 08:39:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 13686423 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 6666BC27C52 for ; Wed, 5 Jun 2024 08:40:16 +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=zXba+KxmTbUR2apvktdLYV8nfGRYYSzi0pN3ACJripE=; b=jRzimDu755Bp/7 xYAtQnfZFS8M7tJkR5E3sOAmCCxUrDSFSbnRin2Z4XVnT6sGDyUUe4rmoeD/rzWnxJP9wT4Sl2rBl XTVHzZBxBy+fKmh5896u7e2p9jSKdF0P5YclJsc8tg0Kgt/evVb5VEkAiqQDX2K6/rY1YBAcwf36J GPqM3FSvLlwJBR5HCKizNsswoZYDBMBvg9A0FlObQqinDYP0Ppa4BXxKTB7FfUh5Ytx9DVZ2jRsAb PEBX+bqOmLazouqE3Gxvu38fyyMMKAKZz5gtLA3A0aaanQxKMMoIprIiqPPF3iH6Pg0SVrGoP82GG 4iAqtJtJKS9x00C/d5ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEmBh-00000005G7e-2XKg; Wed, 05 Jun 2024 08:40:05 +0000 Received: from mail.andi.de1.cc ([2a02:c205:3004:2154::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEmBe-00000005G5c-3867 for linux-arm-kernel@lists.infradead.org; Wed, 05 Jun 2024 08:40:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=s1Dqt3Ik0d9VyS97+X6CEVzkr11OOcW3uaWdRrpb+wA=; b=n/Tx3AfR+zPH2/oex4MrmkIDxk 0IYxBvtJwLGL9XVkk1xxuyW7Fxx+CbgsgTNVmAw7osMA2ax7ylm28WkA+AanzstKLs3HOudHJNUN1 OdhGDCPU/07SZqr7oaUmzVNtiY5bdM8iJcH1JHJD+k/kZR4KDCseoR8kazkxPD8Fru+5unrQ+JDjj 5i1c49w2kSQvdaGzVbeINuvf+EHQGK5SF9HxPto1uvVphpoUaOqS60VqrkBfjf6VN279kcGkuLfzc UiItU4Dgv9Pj21vxjo+SawsB9acFUrvXrd6uUZ9ogcF/zNdhGdAD7aR8lWlgdO+oKCA4/7IH5Kpex LDokabzw==; Received: from p200300c20737c2001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:c2:737:c200:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sEmBT-002fSw-2J; Wed, 05 Jun 2024 10:39:52 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1sEmBU-000YzE-2N; Wed, 05 Jun 2024 10:39:52 +0200 From: Andreas Kemnade To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH] ARM: dts: e60k02: fix aliases for mmc Date: Wed, 5 Jun 2024 10:39:50 +0200 Message-Id: <20240605083950.134479-1-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240605_014002_838400_A635928A X-CRM114-Status: UNSURE ( 9.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 Since commit fa2d0aa96941 ("mmc: core: Allow setting slot index via device tree alias") mmc numbering are changed, confusing boot scripts. Fix that by adding proper aliases Signed-off-by: Andreas Kemnade Reviewed-by: Peng Fan --- Well, this has lingered around a long time in my branches and probably used by virtually everyone using this devicetree. arch/arm/boot/dts/nxp/imx/e60k02.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/e60k02.dtsi b/arch/arm/boot/dts/nxp/imx/e60k02.dtsi index 13756d39fb7b..0029c12f16c8 100644 --- a/arch/arm/boot/dts/nxp/imx/e60k02.dtsi +++ b/arch/arm/boot/dts/nxp/imx/e60k02.dtsi @@ -14,6 +14,10 @@ #include / { + aliases { + mmc0 = &usdhc2; + mmc1 = &usdhc3; + }; chosen { stdout-path = &uart1;