Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1498998iog; Tue, 14 Jun 2022 07:17:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEAsgZG56pavdm+XSK4fgGGqLblxwps5xuZszQW4W6HWVEpuV/wkob41/s373p7TcYowsI X-Received: by 2002:a17:906:779a:b0:715:790f:715c with SMTP id s26-20020a170906779a00b00715790f715cmr4325724ejm.707.1655216229709; Tue, 14 Jun 2022 07:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655216229; cv=none; d=google.com; s=arc-20160816; b=035+l2VB0qK/ZHbRKsL5Aql2BIET47f20ojRZTX2YbvA6F6KUTvzuv/tmKd6DQ3Ynz CToMxjw++3tXhJUHvjbAlKMi8F4VB/ILEnFjlUUUEmQK42Xm73zwss94lufDw9U2BRxM g+1jzzSXyTJQD2QqMObfXq4vivdcJiWOIusyjWQmqoqhl1PEbw97UN0s8Lh7gf9Rt9B+ CTAilstvszopNOix4X1Gg0sLSjJzW8mn7ogwglLfaWLqvr0y3H0q3Hbkyq/SyX6h+HH0 04vQheNYcwD88+yNJG8+mABCK5IdD4gemW/SbrvQZih2rUdHizyMNbioNIxGo7HxSoB+ A7tw== 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=cCtyKidyU3NiOgmJD/yjEYlp2s8HViDwjW23gyTmvdE=; b=rHqSZwbAAKNdlwj3ydBE1WrNFJu1QJ9mwKCj9je3aavCHBI5kTphVWyDitXXgv1wuK deVIkQweH+O6KphZce9rCUh4YBcDcVME8Pv15wQ/CsECv6Opdeay+93qG55us0qEtnvL he0dGZZT4KSDo3bZHzQTk4PRKaCz+BJZyXZQK8Zj4mQ0e6DlO66utnmJzsuDlyaJlXfd Eqv93mmVHP9DaUDCC2/My5DbjcHsEHT20ZhquD5x8+DbS6Socw0YW/KMhOmB2FCFRSR2 qSyS3PI89yHWn8zf93ZADpaRrgRZlMG6yGCN7kO409eAZA9XjM30FfhAiMtjlNVPHVAe WhAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WkElNX4K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a170906739000b006feb974badcsi12028248ejl.674.2022.06.14.07.16.37; Tue, 14 Jun 2022 07:17:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WkElNX4K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241831AbiFNOMa (ORCPT + 99 others); Tue, 14 Jun 2022 10:12:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233498AbiFNOM1 (ORCPT ); Tue, 14 Jun 2022 10:12:27 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D4D625DE; Tue, 14 Jun 2022 07:12:25 -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 8C41D660169E; Tue, 14 Jun 2022 15:12:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1655215943; bh=XJ82+PJ/mHRvkQU7fkX8lwKDNz9S6xbNChcHXIsp7Lc=; h=From:To:Cc:Subject:Date:From; b=WkElNX4K7KK5LE/GFsiiNOGsRjB4wV7y00lK/eVYkJKTqilmOyINv20VFbMbjZH2e w/8Y0nqzdRoG5um8iV+wQDb/DHSbehvPP1hME6hHHM3Q1xUce1IcWWqCRAK6ftLDfA bhCvg0v9G5FCJTLVT6TMa3ddk0P5m665c3MWsqvW9iMPluX5kABObYFhFtXkb7H79A bigzGI5/ZU+k9cUGTM/DqG2wnXsU3ZTVCkPIBjm62PbpibDqTvl6MMZLB2iU7sUHs7 ClCwE/7Pn9mu8jiOFMDHlbhMdY+icnU4cMGiN/WoeBrEcQAKf2Hc0mh9qQ0dvj5Kg5 ZZUJrLaw4+qyA== From: Ariel D'Alessandro To: krzysztof.kozlowski+dt@linaro.org, nsaenz@kernel.org, robh+dt@kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pbrobinson@gmail.com, f.fainelli@gmail.com, stefan.wahren@i2se.com Subject: [PATCH] ARM: dts: bcm2711-rpi: Use aliases to set custom MMC device index Date: Tue, 14 Jun 2022 11:12:08 -0300 Message-Id: <20220614141208.15614-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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 the first eMMC/SD card won't change depending on the probe order of the MMC drivers. Signed-off-by: Ariel D'Alessandro --- Changes in v2: * Moved alias from bcm2711-rpi-4-b.dts to bcm2711-rpi.dtsi arch/arm/boot/dts/bcm2711-rpi.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi.dtsi b/arch/arm/boot/dts/bcm2711-rpi.dtsi index ca266c5d9f9b..a39b2f68e4cc 100644 --- a/arch/arm/boot/dts/bcm2711-rpi.dtsi +++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi @@ -13,6 +13,7 @@ memory@0 { aliases { emmc2bus = &emmc2bus; ethernet0 = &genet; + mmc0 = &emmc2; /* mmcblk0 for eMMC/SD */ pcie0 = &pcie0; blconfig = &blconfig; }; -- 2.34.1