summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-09-28 09:56:06 -0500
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-11-18 09:45:53 +0200
commita4c599253159ea5de3d1c655e413ab32c4be17c5 (patch)
treee6542ace5daea893f967eed7cd600aa60bad904d /recipes-kernel/linux
parent6fbfeb39a1e5700e24a55c0cb631141b315ec23a (diff)
downloadmeta-multitech-atmel-a4c599253159ea5de3d1c655e413ab32c4be17c5.tar.gz
meta-multitech-atmel-a4c599253159ea5de3d1c655e413ab32c4be17c5.tar.bz2
meta-multitech-atmel-a4c599253159ea5de3d1c655e413ab32c4be17c5.zip
Have the Atmel serial driver pick the dma channel
Diffstat (limited to 'recipes-kernel/linux')
-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