From e3427c91732655487bf4b5125ef26bb5cefc35b3 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 28 Sep 2021 09:56:06 -0500 Subject: Have the Atmel serial driver pick the dma channel --- .../linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch index e6014c2..b720488 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch @@ -296,9 +296,9 @@ diff -Naru orig/arch/arm/boot/dts/mtrv1.dts new/arch/arm/boot/dts/mtrv1.dts + +&usart3 { + status = "disabled"; ++ atmel,use-dma-rx; ++ atmel,use-dma-tx; + pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts &pinctrl_usart3_cts>; -+ dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(14)>, -+ <&dma0 1 (AT91_DMA_CFG_PER_ID(15) | AT91_DMA_CFG_FIFOCFG_ASAP)>; + dma-names = "tx", "rx"; +}; diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/at91sam9x5cm.dtsi linux-4.9.87/arch/arm/boot/dts/at91sam9x5cm.dtsi -- cgit v1.2.3