From patchwork Sat Dec 21 10:49:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13917777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 388AEE7718E for ; Sat, 21 Dec 2024 10:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HY+OBhoEB2NwTyxVzo3cxRhszDqS4yf074iuA0giP10=; b=sjpEpUl6YVSAdI mDAX8DMZZh78qFrHhzT86tdqY4hnCFMc3okGGmwoFLYACjPup3q51Q4/OBavoOuhofDGD+YEnkAk0 WO4j0Vxb7Vwm7JZOy8oVFJbtl4p83fmW+X8rb8zS0/r/wLZxHTfmMFIo3c1JhG8Tsd6/zGGTYys1A A0jFK7Qto1ag/ejPNkzxH8M89y4rQ0iskMf4UwejO0A34Al9AEwYmW0VNnRh9rvILW9GFFai7bSAF B9WEihETufXCCZDqpiK2a+e7e08iGwAUuocYQEXyZN2c54z3Rc4Qk4SbmhA5+ryaRAFQFrNXTE6JY gjuLsj7kQQfGZ6GaqOIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tOx4Y-00000006sSx-1Z0r; Sat, 21 Dec 2024 10:51:02 +0000 Received: from m16.mail.163.com ([220.197.31.5]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tOx3L-00000006sMh-0RAO; Sat, 21 Dec 2024 10:49:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=PRPW0 53mS4IaHw56KlN863LLiyhwoTVI+WYIIxpNhJA=; b=ZKGBDUz0hc9SdNtNqBNbe xnGgEAfJyW/euqeczXFKyavwmgzlDXvJChw9alAUG8QnnmTf9exd7t9urwPMF3iI Mm7WkVrbm1kwPYph8slnoyW7P2ciAXcPHVWMP0Cb9XATobHU0xg/nHWOyCDdxg1M mJHZGnhA/g1mIlAc0M0s/Q= Received: from ProDesk.. (unknown []) by gzga-smtp-mtada-g0-1 (Coremail) with SMTP id _____wD3b68ynWZnEhWnAg--.2634S2; Sat, 21 Dec 2024 18:49:26 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: dsimic@manjaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, krzk+dt@kernel.org, Andy Yan Subject: [PATCH] arm64: dts: rockchip: aliase sdhci as mmc0 for rk3566 box demo Date: Sat, 21 Dec 2024 18:49:07 +0800 Message-ID: <20241221104920.4193034-1-andyshrk@163.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CM-TRANSID: _____wD3b68ynWZnEhWnAg--.2634S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZryDuFyxJry5AFyrCr1xKrg_yoW3uFc_Xa 4xWrs5JFs3Cr90qw1kKayrG34ak3s3C34fJa4Fya1kJFWaqay8JFW5Jwn2y34Uur4FkrZ3 Jay3ZFyxCF1YkjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU0DUUUUUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/1tbiMwi8XmdmiMTT1wACsS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241221_024947_550334_90D3EF91 X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Andy Yan Follow most others rk356x based boards, and u-boot only use mmc0/1 as mmc boot targets, so aliase sdhci as mmc0. Signed-off-by: Andy Yan --- arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts index 41b4cd5a4220..7d0eedf1bd0d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts @@ -19,9 +19,9 @@ / { aliases { ethernet0 = &gmac1; - mmc0 = &sdmmc0; - mmc1 = &sdmmc1; - mmc2 = &sdhci; + mmc0 = &sdhci; + mmc1 = &sdmmc0; + mmc2 = &sdmmc1; }; chosen: chosen {