From patchwork Mon May 29 17:05:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13258835 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 A0CCDC7EE2C for ; Mon, 29 May 2023 17:05:53 +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:References:In-Reply-To: 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: List-Owner; bh=pYaY8uCxLSo1M44UIAkgImIg8aW3ez1VdeOVWaFxt50=; b=n3xPQEe/b5ymj9 xLD677m6mvBuM75wBFkENmx7f12PHR34YfwPmTlwm+glmc3OOyW09GWVfs3bM3DXEtNVwpHUWrp24 i0eWhyXwMQqFL4m/pRKfVo70vXIsT7DKPRO1bEj4IJfYmE0w7RjMhg49Gs4+tWCbz2BFx1E2Qr66K ybDmsfXgdswckRZzPplVCP5xvS+UXfmu2DmJSxWU90HOMljYBUEzSe+C7OCO1fMYuwZHLyS4E9xHC j2nJHiEYvmuCQnHX24LHPTheJBg8XxwlQ2e1nObpng9lgFEx6W/LH+YVmTmQXfYh3uXXFLCabu+tC SCcXq1SWJXrOkbOLBD5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q3gJT-00BCnh-20; Mon, 29 May 2023 17:05:43 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q3gJQ-00BClT-2i for linux-rockchip@lists.infradead.org; Mon, 29 May 2023 17:05:42 +0000 Received: from jupiter.universe (dyndsl-091-248-212-236.ewe-ip-backbone.de [91.248.212.236]) (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: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id C25996605961; Mon, 29 May 2023 18:05:34 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685379934; bh=xH8PWa9VSV+c2f1XMWbXNN3LL+RLVhtLxiDB+5plPzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PHyDCkx37kcDgV+p61IUy0+8Xj2U6iHNG3iCtyXUhp3iZPcA36U0+BHCEFKGStK6Z 6eSzGRPQEmWoyhZf3a6THPF1nsNqIXu7DuTFdrYHGrxlcAQ+IFCkYaEPuHvQ+Vx7Eq FVvGZx6q1sfovYhllsNcIAP7XGRzNGlhqF8KGxUn/bdZiuZuNfRJNa2Xh9tP3HzaIH uVJuMWfX+X6H/5DgZZ5q0Z8iTrIb7fotCD8Kv23QreOY0Fbut6C9ZsuxnOZtiXtKn2 6JlJQ5ZYkfCwGIGbgm8mSlRyJbDEpHkwmcvS4xFiaYBaqcU5LQAomO9mA6KYNkm6pc KRpIRyiBQz4HQ== Received: by jupiter.universe (Postfix, from userid 1000) id 756E74807E2; Mon, 29 May 2023 19:05:32 +0200 (CEST) From: Sebastian Reichel To: Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCH v1 2/2] arm64: dts: rockchip: rock-5b: Add SD card support Date: Mon, 29 May 2023 19:05:32 +0200 Message-Id: <20230529170532.59804-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230529170532.59804-1-sebastian.reichel@collabora.com> References: <20230529170532.59804-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230529_100541_032689_3C40DE8D X-CRM114-Status: UNSURE ( 9.87 ) 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: Lucas Tanure Add sdmmc support for Rock Pi 5B board. Signed-off-by: Lucas Tanure Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 2180fea1fb82..e62538cbaf25 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -216,6 +216,20 @@ &sdhci { status = "okay"; }; +&sdmmc { + max-frequency = <200000000>; + no-sdio; + no-mmc; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + sd-uhs-sdr104; + vmmc-supply = <&vcc_3v3_s3>; + vqmmc-supply = <&vccio_sd_s0>; + status = "okay"; +}; + &spi2 { status = "okay"; assigned-clocks = <&cru CLK_SPI2>;