Skip to content

Commit 6504024

Browse files
committed
dts: bcm2712-rpi: Add uart0_nodma
uart0_nodma enables UART0 (as found on GPIOs 14 & 15, pins 8 & 10 on the 40 pin header) but without DMA. This may be useful to free up some DMA channels, and can help in cases where DMA may not be working. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 24d4703 commit 6504024

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,16 @@ Params:
454454
and entering the low power state (default 600).
455455
Requires EEE to be enabled - see "eee".
456456

457-
uart0 Set to "off" to disable uart0 (default "on")
457+
uart0 Set to "on" to enable and "off" to disable uart0
458+
(default "off" on 2712, otherwise "on")
458459

459460
uart0_console Move the kernel boot console to UART0 on pins
460461
6, 8 and 10 of the 40-way header (2712 only,
461462
default "off")
462463

464+
uart0_nodma Enable uart0 without DMA (2712 only, default
465+
"off")
466+
463467
uart1 Set to "on" or "off" to enable or disable uart1
464468
(default varies)
465469

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ 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_nodma = <&uart0>,"status", <&uart0>,"dma-names?=0";
223224
wifiaddr = <&wifi>, "local-mac-address[";
224225

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

0 commit comments

Comments
 (0)