summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Nicholson <Mike.Nicholson@multitech.com>2019-02-07 17:43:02 -0600
committerJohn Klug <john.klug@multitech.com>2019-07-03 11:22:01 -0500
commit03a2b4bcd25b3ecfb307615482536fb0b3f256a9 (patch)
treedcd7694b86cdba37a8a3e8244ef46bf7a5b97ab1
parentb8a98b02e838699820abf02f7e1dae2e22329860 (diff)
downloadmeta-multitech-03a2b4bcd25b3ecfb307615482536fb0b3f256a9.tar.gz
meta-multitech-03a2b4bcd25b3ecfb307615482536fb0b3f256a9.tar.bz2
meta-multitech-03a2b4bcd25b3ecfb307615482536fb0b3f256a9.zip
Add DMA to uart0, delete m25p80
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtrv1/linux-4.9-mtrv1-device-tree.patch20
1 files changed, 10 insertions, 10 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 67046b7..aac6245 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
@@ -112,20 +112,20 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtrv1.dts linux-4.9.87/arch/arm/b
+ dbgu: serial@fffff200 {
+ status = "okay";
+ };
++
++ spi@f0000000 {
++ /delete-node/ m25p80@0;
++ };
+
+ /delete-node/ serial@f801c000;
-+ /*
-+ * atmel,use-dma causes the port to hang.
-+ * atmel,use-dma is used for UARTS in
-+ * the following files:
-+ * at91-sama5d4_xplained_pda7b.dts
-+ * at91-sama5d2_xplained_common.dtsi
-+ * at91sam9260.dtsi
-+ */
++
+ uart0: serial@f8040000 {
+ status = "okay";
-+ /delete-property/ atmel,use-dma-rx;
-+ /delete-property/ atmel,use-dma-tx;
++ 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";
+ };
+
+ usb2: gadget@f803c000 {