Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp354489pxy; Fri, 30 Apr 2021 06:56:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzG9zEViYYgQrXQ63LErKpcnLhB80tT8dgmIW9SRL9We9RNBOfQn1j0jRTRWk0NI8DsKE7L X-Received: by 2002:a63:ff0a:: with SMTP id k10mr4859632pgi.303.1619790996249; Fri, 30 Apr 2021 06:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619790996; cv=none; d=google.com; s=arc-20160816; b=ttsszEIhpsxwosfM3apMMb8UJXASeLFQuLcg/jeG28vNctBaSItz6ZqJjyjXcLQ/mI xrXf9w+brMlYl2bhmkfDUi/jHpzR0vfJIp/tbAX76WvGUAcVaf/j5aonGpcZ2e+1SRYs JdYhEv91j5BWzjof+859X1oNUGAWcwqFJ5HLDvEkBZlpAbX5MadrNITsFP4imN2BVrX2 Z8PMMtWDL1yWTodJ8ZgN5MYjhMF79t40gRz5s6De3u0Qf+MrYoMRbB0Lu8qx+E/PvNZK PgzKYtgDvbA1Lskypq1OyMQvrpomGGMeqEKhBDLbRuEjwrSu4l/6x4fKLiaCxq6R9i+F y/tg== 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=LG8GR0r00fv5NdSwkMu2QbFi3O/gGWQLivUzh4SuG8Drj32CGd9HtC9wUugd0Qj3yw 1+GdXu7k0i/Va08Jq1vNLLjjCQcckzV1kXdVCWMl0lYEWfNb7SLgnikFKVou96VqUVAf UzZi/sYnOYOJBYU/dsu/YP7FQMQliFZ4i6YuxOXPNKyzkqTG+N1a2+lIN/tN4JGQZufc NPz/0EoHVlBXsEhLT1SI1kaAcHgqxlNFuKJnRdgoVIVeQNYSxpaQ2rMzvkeEaHjJ0QGJ Kes3EbNpW57z6QLQ3NDzvXIdHHrA0pypwqVcX8WRpg6wmOB4fDu1sTzj1xEx1eD0Ekzy VUlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=YCqxA0BR; 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 x5si2349720pfr.234.2021.04.30.06.56.14; Fri, 30 Apr 2021 06:56:36 -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=YCqxA0BR; 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 S230226AbhD3NzM (ORCPT + 99 others); Fri, 30 Apr 2021 09:55:12 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:43282 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbhD3NzM (ORCPT ); Fri, 30 Apr 2021 09:55:12 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 929BDA4CC5; Fri, 30 Apr 2021 15:54:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1619790861; bh=SXlFiufzZxGFnc3q9XNjWC73WdXnlKAFExbpvizwEUE=; h=From:To:Cc:Subject:Date:From; b=YCqxA0BRAMBg30HlA/T2Qi8/BMfbSQD7HLybpu8gaPcPKbJYCqXzjQpX0SE8Qynii uuQm7W1ayT8yBmX01jgmBCWgB/hACjekrwTFzddv0EpMOdwLClwo3cvEP4ESTuHjyE fuq0Nz9MaW9bG+mh2vdnyVmDNitL9yLwx6FqUm0k= 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] ARM: dts: imx6dl-yapp4: Use aliases to set custom MMC device indexes Date: Fri, 30 Apr 2021 15:53:15 +0200 Message-Id: <1619790795-8375-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