From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34BEED715CA for ; Sat, 24 Jan 2026 05:55:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9AFA683BD2; Sat, 24 Jan 2026 06:55:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=nabladev.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=nabladev.com header.i=@nabladev.com header.b="OtepZtaZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BE84483BB1; Sat, 24 Jan 2026 06:55:02 +0100 (CET) Received: from mx.nabladev.com (mx.nabladev.com [178.251.229.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3746383B91 for ; Sat, 24 Jan 2026 06:54:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=nabladev.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=hs@nabladev.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5234C10F180; Sat, 24 Jan 2026 06:54:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nabladev.com; s=dkim; t=1769234098; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=G8IixfbTGrnLJoNk0xJHteak/UahKwz7XYtT4uIg60M=; b=OtepZtaZkhF6ezDcFTFXfum220sVWdmwZQKXT1TxYQWXLFu2Zgu7Ir2VAA0URYFpuN3hnD CPmvfe/8SC3am2cQCHyf+hNNWHcuFmg3ihugDfY92QBe48PwbtzWJh+AZusnSafADcVljf 8AjqCY//xkKL5kp58oSLUGner6hlB3Sea0kISQ0Pb9g8kIinlXd0JX+66b0VuD/ELaP3IE UFypSTi48QIaaVBT/vDw4/s3NsL0CWnEOmZ47A9Uluo01XkvBKNNVyDCBnmeEKJlQjLGcY m64M/n7v4b60nqJjrXoL6KX/+4iG7BwyS+NaEsoAb4lG6Xunv8L8lXhte4oU4A== From: Heiko Schocher To: U-Boot Mailing List Cc: Fabio Estevam , Adrian Freihofer , Heiko Schocher , Alexander Sverdlin , Lukas Stockmann , "NXP i.MX U-Boot Team" , Stefano Babic , Tom Rini , Walter Schweizer Subject: [PATCH v1 02/11] siemens: capricorn: set max-frequency for usdhc1 Date: Sat, 24 Jan 2026 06:54:43 +0100 Message-Id: <20260124055452.8799-3-hs@nabladev.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20260124055452.8799-1-hs@nabladev.com> References: <20260124055452.8799-1-hs@nabladev.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Adrian Freihofer This is required since commit aebb523a2381 ("mmc: mmc-uclass: Use max-frequency from device tree with default handling") and the related patches of the same series. The error observed without this change is: Autobooting in 3 seconds, press "" to stop EXT_CSD[179], PARTITION_CONFIG: BOOT_ACK: 0x0 BOOT_PARTITION_ENABLE: 0x1 (boot0) PARTITION_ACCESS: 0x0 (user) Loading from eMMC ...fit U-Boot SPL 2026.01-4238dcfcbfe (Jan 09 2026 - 08:19:45 +0000) For this example it's the following commands which does no longer work for larger images: ext4load mmc 0:1 0x88000000 boot/fitImage On latest master branch the problematic commit gets reverted with commit c4f5b1d4b037 ("Revert "mmc: mmc-uclass: Use max-frequency from device tree with default handling"") but for v2026.01 this fix is still required. Maybe it's anyway a good idea to have this property set explicitly. Signed-off-by: Adrian Freihofer Signed-off-by: Heiko Schocher --- arch/arm/dts/imx8-capricorn.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imx8-capricorn.dtsi b/arch/arm/dts/imx8-capricorn.dtsi index 38d36fafbe0..fab7ef95166 100644 --- a/arch/arm/dts/imx8-capricorn.dtsi +++ b/arch/arm/dts/imx8-capricorn.dtsi @@ -125,6 +125,7 @@ &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; + max-frequency = <52000000>; clock-frequency=<52000000>; no-1-8-v; bus-width = <8>; -- 2.20.1