mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "open list:BAREBOX" <barebox@lists.infradead.org>
Subject: [PATCH 7/9] ARM: k3: limit eMMC frequency to 25MHz
Date: Wed, 05 Feb 2025 10:48:15 +0100	[thread overview]
Message-ID: <20250205-k3-emmc-v1-7-06679246be41@pengutronix.de> (raw)
In-Reply-To: <20250205-k3-emmc-v1-0-06679246be41@pengutronix.de>

The eMMCs on am625 currently only work reliably with 25MHz. Until this
issue is sorted out limit them to 25MHz on the affected boards
(beagleplay and am625-sk).

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/dts/k3-am625-beagleplay.dts | 4 ++++
 arch/arm/dts/k3-am625-sk.dts         | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/dts/k3-am625-beagleplay.dts b/arch/arm/dts/k3-am625-beagleplay.dts
index 60340ab8ca..73ac950414 100644
--- a/arch/arm/dts/k3-am625-beagleplay.dts
+++ b/arch/arm/dts/k3-am625-beagleplay.dts
@@ -29,3 +29,7 @@ AM62X_IOPAD(0x0224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
 		AM62X_IOPAD(0x0240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */
 	>;
 };
+
+&sdhci0 {
+	max-frequency = <26000000>;
+};
diff --git a/arch/arm/dts/k3-am625-sk.dts b/arch/arm/dts/k3-am625-sk.dts
index 1982c34388..56d5681519 100644
--- a/arch/arm/dts/k3-am625-sk.dts
+++ b/arch/arm/dts/k3-am625-sk.dts
@@ -7,3 +7,7 @@
  * DRAM size differs between board variants. Real size is read from DDRSS
  */
 /delete-node/ &{/memory@80000000};
+
+&sdhci0 {
+	max-frequency = <26000000>;
+};

-- 
2.39.5




  parent reply	other threads:[~2025-02-05  9:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-05  9:48 [PATCH 0/9] ARM: K3 updates Sascha Hauer
2025-02-05  9:48 ` [PATCH 1/9] ARM: k3: Add function to enable 32k crystal Sascha Hauer
2025-02-05  9:48 ` [PATCH 2/9] ARM: k3: add function to detect eMMC boot Sascha Hauer
2025-02-05  9:48 ` [PATCH 3/9] ARM: k3: do not mount /boot when booting from eMMC Sascha Hauer
2025-02-05  9:48 ` [PATCH 4/9] ARM: k3: r5: add USB DFU and eMMC boot support Sascha Hauer
2025-02-05  9:48 ` [PATCH 5/9] ARM: am625-sk: enable 32k crystal Sascha Hauer
2025-02-05  9:48 ` [PATCH 6/9] mci: am654: parse generic mmc node properties Sascha Hauer
2025-02-05  9:48 ` Sascha Hauer [this message]
2025-02-05  9:48 ` [PATCH 8/9] ARM: am625-sk: put environment on eMMC when booting from it Sascha Hauer
2025-02-05  9:48 ` [PATCH 9/9] serial: omap: Use ttyS as Linux console name Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250205-k3-emmc-v1-7-06679246be41@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox