Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2482624iof; Wed, 8 Jun 2022 06:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoA9YGxV83mE4cGoyfgSPAG4m4qQhwW2Qtfd0NBZ0tP0pKRVMJ4ZK0s2gsccIZxi0uSzd/ X-Received: by 2002:a17:902:784c:b0:168:911c:590d with SMTP id e12-20020a170902784c00b00168911c590dmr4469770pln.88.1654693283297; Wed, 08 Jun 2022 06:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654693283; cv=none; d=google.com; s=arc-20160816; b=iXHLftkMxR3sh3v6NyEE+bk2N75oPD+gCBBzcHuu95zThJACngxY3NFqsTTO6sOPg3 UghU94/UFVdSX/K1wwZRXFoIg4F1TQGadNqhU4yVLsnlOwMJ7rkm87HQYjp9l+++DpBR L9goIglxXkk5fiGvFuejepsJgG2BAoxjTvf/I1oX8YHpi9Rr+5fls39gzyNjLRwiXH2J ftvBw1/xrSTCsHaESVJzXjrSxW21VvV5FHHaj9fk6+oeLqJhW+IBe0YMfg6MXirZGBK/ /Bsb/lcbWUpYbhP+psjr3XiM5YoxhQJuUUP3MZOtGhyWdGSbz+kdem6zx9WJLl77b9ks PMng== 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=EJ7TYSyX2KgSyzlw0wrFwpPBMvGMvPlbb4UhXgcsNxo=; b=eODB2fUf9+K9tcWTiviFL5bTR2jRNtN9JGxNIdUJ0gDzOmxDENYE7bT0S/ukViKDW1 S6HBzt0WcFA6cjZ7aOi88WDTah70scizCbQCWqlVnS3ILUfilv7PSvvGb+PTosw/F47p iVSltesvpkmhEMowNitRavlOC7guh0g1aXdlzbCn5+6JmYFdWH2CPwPjOD/9d4eCXwSZ uM57hXnO0xuphYFuO3WhpfE5XBlGlES1eoIgFdpoA76JOtTxrz8BStMVYY0LCktNS1th otTxfX8191HuWyqVtwhvSfpHWPiCc+6USH1Pa/H8FxY9GWhptbqG5YUE9Af4MKdwp8VS fjNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ChrNavfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p14-20020a170902e74e00b00162ba3ef425si33440906plf.439.2022.06.08.06.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 06:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ChrNavfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E06641D51AD; Wed, 8 Jun 2022 05:34:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239375AbiFHMdJ (ORCPT + 99 others); Wed, 8 Jun 2022 08:33:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239398AbiFHMdD (ORCPT ); Wed, 8 Jun 2022 08:33:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BADD329E4E2; Wed, 8 Jun 2022 05:33:01 -0700 (PDT) Received: from localhost.localdomain (unknown [186.189.224.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adalessandro) by madras.collabora.co.uk (Postfix) with ESMTPSA id 47A026601780; Wed, 8 Jun 2022 13:32:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1654691577; bh=6zZ3JVA8se89xqhPzZ/QyyWi3pmDJIoGZzkI1kPjPWs=; h=From:To:Cc:Subject:Date:From; b=ChrNavfDiEB7trqMZP2l3apaGDKGiBfsNfVI9+ToKN+VT2mSnJaED05UyAu8+byX6 802C088qtVbBcKmSQOcKfpIp0EVfAw8lbr894uJ+ItfjXAvYw2d3suXRsC/3GfOfUU U1hng2DREUx1gzzBHC8SuAvYLRnaeOok0klz6YuPV62HjV4MytxEW1uFSLXuJxNNJj 6hKJXrlC3rnR+Ch0qufjd7ffL4aGH0qRLVEReMpco1z9IbZAUZVUXSsWXMvxaK6YLI 1RFKEnD4mLg9JUMo8w6HDz1p78+9ytOGnW+DwHddkPMQE/ZbB0WZXaQiAMPYTpx5CK 88V3w6661Z2rg== From: Ariel D'Alessandro To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Cc: gbcm-kernel-feedback-list@broadcom.com, gkrzysztof.kozlowski+dt@linaro.org, gnsaenz@kernel.org, grobh+dt@kernel.org Subject: [PATCH] ARM: dts: bcm2711-rpi-4-b: Use aliases to set custom MMC device index Date: Wed, 8 Jun 2022 09:32:33 -0300 Message-Id: <20220608123233.13439-1-ariel.dalessandro@collabora.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add MMC aliases to ensure that the /dev/mmcblk ID for SD card won't change depending on the probe order of the MMC drivers. Signed-off-by: Ariel D'Alessandro --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index 4432412044de..780812542bad 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -14,6 +14,10 @@ chosen { stdout-path = "serial1:115200n8"; }; + aliases { + mmc0 = &emmc2; /* mmcblk0 for SD */ + }; + leds { led-act { gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -- 2.34.1