1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00
openmptcprouter/6.12/target/linux/bcm27xx/patches-6.12/950-0577-dts-rp1-Re-enable-DMA-to-RP1-UART0.patch
Ycarus (Yannick Chabanois) bdb9b0046f Add bcm27xx 6.12 test support
2024-12-20 14:17:26 +01:00

32 lines
1.2 KiB
Diff

From 59c2d6530a850c2ff4047adf447b3d0f8af89d4f Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Tue, 3 Dec 2024 12:04:55 +0000
Subject: [PATCH 577/697] dts: rp1: Re-enable DMA to RP1 UART0
Following the merging of [1], it is safe to re-enable DMA to UART0
without fear of losing data.
Seen while looking at https://github.com/raspberrypi/linux/issues/6507.
[1] dmaengine: dw-axi-dmac: Allow client-chosen width
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm64/boot/dts/broadcom/rp1.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/arch/arm64/boot/dts/broadcom/rp1.dtsi
+++ b/arch/arm64/boot/dts/broadcom/rp1.dtsi
@@ -65,9 +65,9 @@
interrupts = <RP1_INT_UART0 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rp1_clocks RP1_CLK_UART &rp1_clocks RP1_PLL_SYS_PRI_PH>;
clock-names = "uartclk", "apb_pclk";
- // dmas = <&rp1_dma RP1_DMA_UART0_TX>,
- // <&rp1_dma RP1_DMA_UART0_RX>;
- // dma-names = "tx", "rx";
+ dmas = <&rp1_dma RP1_DMA_UART0_TX>,
+ <&rp1_dma RP1_DMA_UART0_RX>;
+ dma-names = "tx", "rx";
pinctrl-names = "default";
arm,primecell-periphid = <0x00541011>;
uart-has-rtscts;