summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-09-28 09:56:06 -0500
committerJohn Klug <john.klug@multitech.com>2021-09-28 09:56:06 -0500
commite3427c91732655487bf4b5125ef26bb5cefc35b3 (patch)
treea0d473ab8689c030c1839be51301b281a5659187
parent6b4bfcaa903d51425b8a4682a2a5c2ba789316ea (diff)
downloadmeta-multitech-atmel-mPower-5.3.6.tar.gz
meta-multitech-atmel-mPower-5.3.6.tar.bz2
meta-multitech-atmel-mPower-5.3.6.zip
Have the Atmel serial driver pick the dma channelmPower-5.3.6
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch4
1 files 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