Skip to content

Commit 17cba8a

Browse files
committed
ARM: dts: bcm2711: Allow 40-bit DMA for SPI
Add the spi_dma4 DT parameter to enable use of the 40-bit DMA channels to drive SPI. Note that there are only 3-4 40-bit channels available, and using this parameter claims 2 of them. Usage: dtparam=spi_dma4 Signed-off-by: Phil Elwell <[email protected]>
1 parent a426493 commit 17cba8a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

arch/arm/boot/dts/bcm2711-rpi-4-b.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,5 +365,7 @@
365365
eth_led1 = <&phy1>,"led-modes:4";
366366

367367
sd_poll_once = <&emmc2>, "non-removable?";
368+
spi_dma4 = <&spi0>, "dmas:0=", <&dma40>,
369+
<&spi0>, "dmas:8=", <&dma40>;
368370
};
369371
};

arch/arm/boot/dts/overlays/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ Params:
159159
spi Set to "on" to enable the spi interfaces
160160
(default "off")
161161

162+
spi_dma4 Use to enable 40-bit DMA on spi interfaces
163+
(the assigned value doesn't matter)
164+
(2711 only)
165+
162166
random Set to "on" to enable the hardware random
163167
number generator (default "on")
164168

0 commit comments

Comments
 (0)