diff options
author | Mike Nicholson <Mike.Nicholson@multitech.com> | 2019-02-06 16:36:34 -0600 |
---|---|---|
committer | Mike Nicholson <Mike.Nicholson@multitech.com> | 2019-02-06 16:38:00 -0600 |
commit | 799e5fad0239f60fc4245e247ba8f42a5bc7920d (patch) | |
tree | 61027931b2a0d1c66b6bc03a4f33f34e81a8393d | |
parent | 1783b23bd3340851239e08aed2404cfc2cc0e28d (diff) | |
download | meta-multitech-atmel-799e5fad0239f60fc4245e247ba8f42a5bc7920d.tar.gz meta-multitech-atmel-799e5fad0239f60fc4245e247ba8f42a5bc7920d.tar.bz2 meta-multitech-atmel-799e5fad0239f60fc4245e247ba8f42a5bc7920d.zip |
Use DMA for Venus on gps0/ttyS1, get Venus working
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/mtr/linux-4.9-mtr-device-tree.patch | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtr/linux-4.9-mtr-device-tree.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtr/linux-4.9-mtr-device-tree.patch index 15137e0..436fece 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtr/linux-4.9-mtr-device-tree.patch +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtr/linux-4.9-mtr-device-tree.patch @@ -1,7 +1,7 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtr.dts linux-4.9.87/arch/arm/boot/dts/mtr.dts --- linux-4.9.87.orig/arch/arm/boot/dts/mtr.dts 1969-12-31 18:00:00.000000000 -0600 +++ linux-4.9.87/arch/arm/boot/dts/mtr.dts 2019-01-03 15:17:51.799576663 -0600 -@@ -0,0 +1,258 @@ +@@ -0,0 +1,262 @@ +/* + * DTS file for Multi-Tech Systems mtr Hardware + * @@ -123,6 +123,10 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtr.dts linux-4.9.87/arch/arm/boo + }; + }; + ++ usart0: serial@f801c000 { ++ status = "disabled"; ++ }; ++ + rtc@fffffeb0 { + status = "okay"; + }; @@ -348,15 +352,6 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/at91sam9x5ek.dtsi linux-4.9.87/ar }; }; -@@ -49,7 +37,7 @@ - status = "okay"; - }; - -- usart0: serial@f801c000 { -+ uart0: serial@f8040000 { - atmel,use-dma-rx; - atmel,use-dma-tx; - status = "okay"; @@ -58,25 +46,12 @@ usb2: gadget@f803c000 { pinctrl-names = "default"; @@ -465,7 +460,7 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/at91sam9x5.dtsi linux-4.9.87/arch ssc0 = &ssc0; pwm0 = &pwm0; }; -@@ -963,50 +960,7 @@ +@@ -963,54 +960,16 @@ status = "disabled"; }; @@ -517,6 +512,15 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/at91sam9x5.dtsi linux-4.9.87/arch uart0: serial@f8040000 { compatible = "atmel,at91sam9260-usart"; + reg = <0xf8040000 0x200>; ++ atmel,use-dma-rx; ++ atmel,use-dma-tx; ++ dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(11)>, ++ <&dma0 1 (AT91_DMA_CFG_PER_ID(12) | AT91_DMA_CFG_FIFOCFG_ASAP)>; ++ dma-names = "tx", "rx"; + interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart0>; diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index d3fa60aa..0fcaa00a 100644 --- a/arch/arm/boot/dts/at91sam9x5ek.dtsi |