openwrt/target/linux/bcm27xx/patches-6.6/950-1335-DTS-bcm2712-re-enable-SD-slot-CQE-by-default-on-Pi-5.patch

40 lines
1.6 KiB
Diff
Raw Normal View History

From 48a15bc46004025776880a091d47a22e03449acc Mon Sep 17 00:00:00 2001
From: Jonathan Bell <jonathan@raspberrypi.com>
Date: Fri, 18 Oct 2024 14:06:01 +0100
Subject: [PATCH 1335/1350] DTS: bcm2712; re-enable SD slot CQE by default on
Pi 5
This reverts commit 1b92c9369569137d8f2b8bf82884a05999e1f73b.
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
---
arch/arm/boot/dts/overlays/README | 6 +++---
arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -378,9 +378,9 @@ Params:
non-lite SKU of CM4).
(default "on")
- sd_cqe Use to enable Command Queueing on the SD
- interface for faster Class A2 card performance
- (Pi 5 only, default "off")
+ sd_cqe Set to "off" to disable Command Queueing if you
+ have an incompatible Class A2 SD card
+ (Pi 5 only, default "on")
sd_overclock Clock (in MHz) to use when the MMC framework
requests 50MHz
--- a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
@@ -365,6 +365,7 @@ dpi_16bit_gpio2: &rp1_dpi_16bit_g
sd-uhs-sdr50;
sd-uhs-ddr50;
sd-uhs-sdr104;
+ supports-cqe;
cd-gpios = <&gio_aon 5 GPIO_ACTIVE_LOW>;
//no-1-8-v;
status = "okay";