Skip to content

Commit cdfb85b

Browse files
committed
arm64: dts: bcm2712-rpi: Add uart0_dma parameter
It seems that some applications don't work with UART DMA enabled, while others don't work without it. No DMA seems to be the safer default choice, but add a dtparam - uart0_dma - to re-enable it. See: #6365 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 2b9357a commit cdfb85b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ Params:
460460
6, 8 and 10 of the 40-way header (2712 only,
461461
default "off")
462462

463+
uart0_dma Enable DMA usage on UART0 (2712 only, default
464+
"off")
465+
463466
uart1 Set to "on" or "off" to enable or disable uart1
464467
(default varies)
465468

arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ pio: &rp1_pio {
220220
suspend = <&pwr_key>, "linux,code:0=205";
221221
uart0 = <&uart0>, "status";
222222
uart0_console = <&uart0>,"status", <&aliases>, "console=",&uart0;
223+
uart0_dma = <&uart0>,"dmas:0=",<&rp1_dma>,
224+
<&uart0>,"dmas:4=",<RP1_DMA_UART0_TX>,
225+
<&uart0>,"dmas:8=",<&rp1_dma>,
226+
<&uart0>,"dmas:12=",<RP1_DMA_UART0_RX>,
227+
<&uart0>,"dma-names[=747800727800"; // "tx", "rx"
223228
wifiaddr = <&wifi>, "local-mac-address[";
224229

225230
cam0_reg = <&cam0_reg>,"status";

0 commit comments

Comments
 (0)