[PATCH 4/4] ARM: dts: broadcom: bcm2711: Add DMA to sdhost
Kryštof Černý via B4 Relay
devnull+cleverline1mc.gmail.com at kernel.org
Fri Nov 27 07:21:09 PST 2026
From: Kryštof Černý <cleverline1mc at gmail.com>
On BCM2835/6/7, sdhost gets its DMA channel from bcm2835-common.dtsi.
Commit 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
added the BCM2711 DMA controller but gave sdhost no channel, so a
BCM2711 board that enables sdhost runs it in PIO mode:
sdhost-bcm2835 fe202000.mmc: unable to initialise DMA channel. Falling back to PIO
Add the same dmas as on BCM2835/6/7; the BCM2711 legacy DMA engine uses
the same DREQ number.
Tested on a Raspberry Pi 4 B: the driver gets its channel and reports
"DMA enabled". Nothing on that board is wired to the sdhost pins, so
transfers are untested.
Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
Signed-off-by: Kryštof Černý <cleverline1mc at gmail.com>
---
arch/arm/boot/dts/broadcom/bcm2711.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
index 0680a0b1ca67..e18f11fb7f00 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
@@ -1155,6 +1155,8 @@ &sdhci {
&sdhost {
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
+ dmas = <&dma 13>;
+ dma-names = "rx-tx";
};
&spi {
--
2.47.3
More information about the linux-arm-kernel
mailing list