apm821xx: add linux 4.19 apm821xx patches
[openwrt/openwrt.git] / target / linux / apm821xx / dts / apm82181.dtsi
index bd6786b40e6422a2ae5de8dc69431a077713fa29..45d4eac171c10cb8ff9a2a8ad50101582b07749b 100644 (file)
@@ -21,6 +21,7 @@
  *
  */
 
+#include <dt-bindings/dma/dw-dmac.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
                        interrupt-parent = <&UIC0>;
                        interrupts = <0x19 IRQ_TYPE_LEVEL_HIGH>;
                        #dma-cells = <3>;
-                       /* use autoconfiguration for the dma setup */
+
+                       dma-channels = <2>;
+                       dma-masters = <3>;
+                       block_size = <4095>;
+                       data-width = <4>, <4>, <4>;
+                       multi-block = <1>, <1>;
+
+                       chan_allocation_order = <1>;
+                       chan_priority = <1>;
+
+                       snps,dma-protection-control =
+                               <(DW_DMAC_HPROT1_PRIVILEGED_MODE |
+                                 DW_DMAC_HPROT2_BUFFERABLE)>;
+                       is_memcpy;
                };
 
                SATA0: sata@bffd1000 {