From patchwork Sat Dec 20 05:10:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 991 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207434; bh=dek4x39npT8GvWeEHA7A99ojTt+sQ/dBb07ZGfjQG88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=HNBnrMBTq0smTghpsMw5Cth1zftyXG9sIktN002ALoNbRuVHnhsHANkc6TQIGpjCX MjWpVRqzBcaJ2IAH9tG3F7bmycwgyV+BsV3Zx1Xf5+0L2nOEEIPJRqXOBJkFxZrIpT 6UAcTk6ZbRrVUSsmsI7fNBvUmbd0R7F3C2looOZkp76xZZEaDXWKth9mZnL0xlVt/1 gozVWZgtj1Le+aFuSnrygLUXTW3qPkLF92lSOCvofMEpQdih5g8UOva/stAyiI5Yog GfylZjhzsf/Ke3Eo8QM4YOfGocV/zTj4m6RALfQhgroA6Bzb+liSNVpBvinymCW/Xb 38bgrAisDoQew== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E803864C0C for ; Fri, 19 Dec 2025 22:10:34 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id QvLMTKiOLbYf for ; Fri, 19 Dec 2025 22:10:34 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207433; bh=dek4x39npT8GvWeEHA7A99ojTt+sQ/dBb07ZGfjQG88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=btoxJvW4TWUVIyPpPzD4skW3MnwpLfGr4i4rHjYFPE7GLukanSIk93xV1CVg+NAno K/daXjLEGTQQIQYoMoZ+Z5CdMhxCtCXOz9gdrCjDZkCCNSJsW505NxOg7B8nxWjWD0 3hKhCWOFPONEi90A7zuiHy0u57wa8sfuq0aNv2wf9V0/bX5L1JfugSH7BFVDm0C9zE +BXRwSleM+9fH9T9Ad03MONNbjXiNCIPmny0ihdnQoe+3nntCR+77J+4/Gzoy+YBhH tQLTZ+GVp/4ZDXX+NmZT0+Y9reXsGMSZqhrw+UIa3+U3YrmQM99JI4upM9vNJ3y1jc 2zDDaYMXGgxsA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9311F64C38 for ; Fri, 19 Dec 2025 22:10:33 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207430; bh=SD3AEMwcUkvBRdHKY5xxsiiDXPjKFdDpyTM/WQA08Lo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hRA8W6kTHDnhmIfZNlgexgtWa8gZcaKrK7c6PXTmAvTkvxBWCId5x5s6Kwna5ER97 +3nPv7WQGPbtsNkg96YEqZlQs8GD2S92J4e7Ay8Vqj4o3s/ls6lKXeCXu048+IQScV Y1KwsUAJvZENns3R9iAtwxuh+yxUwrvDejcWgMzt8bA7nGbEKPCqZcFVGTByD+y/Ud yTjI2/32S3QlwGmOaALjaIlpQSmTBgMrgK/z9dRPWVKD8Pkh2gAj0yAxel0zUylf1l ku/vfxCTvbRKo4A8HwyVP4tbyYjnVSuJEGgnJ27vh0/2XFyBMgjrazrU0fTjTB/BQV 73fIF8k1tY6ZA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E9BD064C25; Fri, 19 Dec 2025 22:10:30 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 6RxTynbuTqJ2; Fri, 19 Dec 2025 22:10:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766207430; bh=8ktJMWtqD0IOuxIAH0aJ4Tk5KYyyV9geVGSy0GLngmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wPcZe+kbU5IiUkUdUzIz32acVsEDC5YduV3BdUjoL66TvOxuXZk3bx5SlJcjxtXDQ 7MYi+3BV8J31mqnXyqks8MVNIWX5f6l9ZnBKear9jZIJW5vzxA6H+cxWFnf0A+V+Uv HR1galcJpiGXDeZ/IRu/KaPkOITVWxwofl4owbowJOIxOwh0GIw8kIasy+D35igLRg 5dBlU39xZF1scXaY7C5BU6j6akG4nHxoXb9iICZQ8pMqLQobXnlMI0VJExEAtbKlL6 PNOqurp1Pkh+g3YiuciY3Zm7EZjzmcpYFB+h1/Rcs3OJf52e7uDwd03e1m2EU7ZwOr h+jiKY3mmb6YQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 5911D64C22; Fri, 19 Dec 2025 22:10:30 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Fri, 19 Dec 2025 22:10:07 -0700 Message-ID: <20251220051013.3459855-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251220051013.3459855-1-sjg@u-boot.org> References: <20251220051013.3459855-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: UIFEXLZOOUIXEW7HZF2JSDMYKWTVQEA2 X-Message-ID-Hash: UIFEXLZOOUIXEW7HZF2JSDMYKWTVQEA2 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/4] arm: dts: rk3399-firefly: Reduce SD card speed for lab List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The Firefly-RK3399 board does not boot reliably in the SJG lab due to signal-integrity issues with SD-wire adapters at higher speeds. Reduce the SDMMC max-frequency to 25MHz and disable high-speed modes to improve compatibility. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- arch/arm/dts/rk3399-firefly-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399-firefly-u-boot.dtsi b/arch/arm/dts/rk3399-firefly-u-boot.dtsi index 1f5fda1d0f1..ca7a6694bcb 100644 --- a/arch/arm/dts/rk3399-firefly-u-boot.dtsi +++ b/arch/arm/dts/rk3399-firefly-u-boot.dtsi @@ -6,6 +6,12 @@ #include "rk3399-u-boot.dtsi" #include "rk3399-sdram-ddr3-1600.dtsi" +&sdmmc { + max-frequency = <25000000>; /* 25MHz for SD-wire compatibility */ + /delete-property/ cap-sd-highspeed; + /delete-property/ cap-mmc-highspeed; +}; + &vdd_log { regulator-init-microvolt = <950000>; };