Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1191503pxb; Wed, 4 Nov 2020 02:23:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwF0qAacDfvValuPuhmNug94nMhVOSQZxWxo5SljGqRuHgRExMbi0blXtYrXErdWlcRSiL7 X-Received: by 2002:a17:906:4d93:: with SMTP id s19mr20385071eju.271.1604485417563; Wed, 04 Nov 2020 02:23:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604485417; cv=none; d=google.com; s=arc-20160816; b=M+Xd+CL7LKUkSC2Hd9XcWTnv3zW4aaTdTkZ/dskOFO5oBqa4ZwO2VgjfAtntfHUfHf 6uNTXwZgbwh8als+RapxLF1wpfv7/HnjdNsb5X0/aOK2wkRlCamhzC5Hcbn6kXmks7lh sL9F//uxWKcpZJ/v4UE7P8q6bV3aqq17s3lEFTmJYt+jsYb41K1e6nbIbk6BwCHtFyBg nBm+FVnLXBiNu7wmmHS1HQqKhraRJk4eo/9/n66NVZ8ZEl7qeM4iEnFxTI2vgrVwxuj6 q6JVeykoCdJZ3O941wj293oUehn3r1v1HwnqDxFiQc/t5alCRw3DhX5A4aN7Bl74D9HC 5wuA== 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; bh=z3Dix3qMQBUjKxLVv6JA6lFI2PXNkC9X5wrkKiyidOE=; b=LRlWMGbia9d2Vg5dvN56ydNWAVkuGhMlYzFbI/MCzl1QGNEZlzAtTDJd/0QUsYik3D YS3nLreKi/Ymupm+mD72i3wuzG4my1a7QIePhwpyywHqh+0DVLqpUXGezLKZec0ckKPS kw5RlntKh+7xAbZBnCW0ReNXlk3FyG9hIz5pnwn+dfXTvUqIFGgy1FerklzkioODsrLA VnMk8nGcbMZl1l4HZTKOL2pCJQ0XYYDQ1KeWRo13KYaAAeZYAAuFS5dh/N0zKX1YL8ek yO04JuzpC0QDs0tj5FujWtmC7GOEb2ghkIQmyr5P17rm9+yGlmmpUptmduQ/aH3NVyV1 yxpw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x27si1083112ejf.95.2020.11.04.02.23.14; Wed, 04 Nov 2020 02:23:37 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729005AbgKDKVd (ORCPT + 99 others); Wed, 4 Nov 2020 05:21:33 -0500 Received: from wp126.webpack.hosteurope.de ([80.237.132.133]:34522 "EHLO wp126.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbgKDKVb (ORCPT ); Wed, 4 Nov 2020 05:21:31 -0500 X-Greylist: delayed 1861 seconds by postgrey-1.27 at vger.kernel.org; Wed, 04 Nov 2020 05:21:30 EST Received: from [2003:a:659:3f00:1e6f:65ff:fe31:d1d5] (helo=hermes.fivetechno.de); authenticated by wp126.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kaFQw-0000rn-Se; Wed, 04 Nov 2020 10:50:26 +0100 X-Virus-Scanned: by amavisd-new 2.11.1 using newest ClamAV at linuxbbg.five-lan.de Received: from roc (p5098d998.dip0.t-ipconnect.de [80.152.217.152]) (authenticated bits=0) by hermes.fivetechno.de (8.15.2/8.14.5/SuSE Linux 0.8) with ESMTPSA id 0A49oPc5008113 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 4 Nov 2020 10:50:25 +0100 From: Markus Reichl To: linux-rockchip@lists.infradead.org, Liam Girdwood , Mark Brown , Rob Herring , Heiko Stuebner Cc: Markus Reichl , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399-roc-pc boards. Date: Wed, 4 Nov 2020 10:49:45 +0100 Message-Id: <20201104094950.2096-1-m.reichl@fivetechno.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;m.reichll@fivetechno.de;1604485291;64016ac6; X-HE-SMSGID: 1kaFQw-0000rn-Se Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Recently introduced async probe on mmc devices can shuffle block IDs. Pin them to fixed values to ease booting in evironments where UUIDs are not practical. Use newly introduced aliases for mmcblk devices from [1]. [1] https://patchwork.kernel.org/patch/11747669/ Signed-off-by: Markus Reichl --- arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi index e7a459fa4322..bc9482b59428 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi @@ -13,6 +13,11 @@ / { model = "Firefly ROC-RK3399-PC Board"; compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; + aliases { + mmc0 = &sdmmc; + mmc1 = &sdhci; + }; + chosen { stdout-path = "serial2:1500000n8"; }; -- 2.28.0