Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4317688pxj; Wed, 12 May 2021 02:59:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwI1d+4UqCV38z+teXU43qfPaBOAcK7vk/PH4ZRETPiH7/JpCtrvW+hpWDMPObeQURj+tG0 X-Received: by 2002:a05:6e02:84:: with SMTP id l4mr21311654ilm.278.1620813577853; Wed, 12 May 2021 02:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620813577; cv=none; d=google.com; s=arc-20160816; b=wQEgUiBk9mK44EFAa5Ks4PV8ZdzZIzL+cpRbFjTLOeUXz3hbxJlbT6cwMK+yBt95Fy raUlkHk0HX0c45tXEZZxTPWNMag0TfLAFUJOan3GbktbzPfSoXqGMDM6YZfSGG2rpbdA RLQEu7tgdwKgWnL836g8eiRUswykANYhG7FaIPYyxvDCK5kAH6wJF/vFQx0x538otkDF Gu9ahikoo9swSXT481GMe0QtUYIxWQWQeiXvEP4A1hlPLe7O1Hsy3xtxco4SkjLuvZCI Gs1vzPvBJfS94p0b4A/qJoxTXfbU42RwJ6iHwlaYHGEALcPlWgelhZpL/XDWTI2fEB2+ 4+og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SXlFiufzZxGFnc3q9XNjWC73WdXnlKAFExbpvizwEUE=; b=s7phFw58kPu1uIeq6OZXk2Fj1yOrmQJyumlqiM91sQcjFs64QYPeIoY0KZGEMOaoDJ cXtv7j/g5XSNJFDR4Q21Nk280+D7GnJwOtqG/KNTnPdyD68mxgbfUmDwc0Tr75j70LzP JdsGEUgJOpyoMDr2p2lLCOPagf5xCfAcx6Y44AEiocoZD/199JLhT/7H0+6IMACVupRq JyBfwBe7M4O6dlM0fQJ1Fi6YubHDqVBXGmUB0sANw3gqMmEEsRnLdVV90jIul/NTq9Q2 GPwIODPsY4Rxispo52I1wfeE0xa7zPSd7egwyXhlm6eNSU2W5thCsGkCJKuCVaGon3+t 6WEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b="Wm8/1cUP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si17516099ioi.7.2021.05.12.02.59.25; Wed, 12 May 2021 02:59:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b="Wm8/1cUP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbhELJ7s (ORCPT + 99 others); Wed, 12 May 2021 05:59:48 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:42298 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230096AbhELJ7r (ORCPT ); Wed, 12 May 2021 05:59:47 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 81F10A02C2; Wed, 12 May 2021 11:58:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1620813518; bh=SXlFiufzZxGFnc3q9XNjWC73WdXnlKAFExbpvizwEUE=; h=From:To:Cc:Subject:Date:From; b=Wm8/1cUPgEYqUoiK9ww8Kw04S6sdU04uciNAyAr0cIbymoMVvi1Cu/w9nTned1wJg uTgfAdkrFJhJr7AXt2nivoASOodTGIR2UyPoIZNu5kjO39L4+aIl/M8JOGrDocKXOi T6gLSwjhGbykrBx1RZsMO+kNDEZY19NMEn8Ne9Kw= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Shawn Guo Cc: Rob Herring , Fabio Estevam , devicetree@vger.kernel.org, Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH RESEND] ARM: dts: imx6dl-yapp4: Use aliases to set custom MMC device indexes Date: Wed, 12 May 2021 11:58:30 +0200 Message-Id: <1620813510-31079-1-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Until commit fa2d0aa96941 ("mmc: core: Allow setting slot index via device tree alias") was introduced, our usdhc3 and usdhc4 devices were enumerated as mmc0 and mmc1. The mmc1 device is used to boot/update the board and its name must be fixed. With the referenced commit, aliases from imx6qdl.dtsi took effect. Override the aliases to get back the original device indexes. Signed-off-by: Michal Vokáč --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 686dab57a1e4..ff8d335ee482 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -11,6 +11,8 @@ aliases: aliases { ethernet1 = ð1; ethernet2 = ð2; + mmc0 = &usdhc3; + mmc1 = &usdhc4; }; backlight: backlight { -- 2.1.4