diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2018-09-30 11:40:13 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2018-12-27 14:36:23 +0100 |
commit | 32141c183a28a55fd3288397348ca820b77265d3 (patch) | |
tree | 04e7b6b8c5978a6362a0c519a990ac0441c54a40 /target/linux/apm821xx/dts | |
parent | 96d55f9fd990beed06b79a65100ef7c942dc125d (diff) | |
download | upstream-32141c183a28a55fd3288397348ca820b77265d3.tar.gz upstream-32141c183a28a55fd3288397348ca820b77265d3.tar.bz2 upstream-32141c183a28a55fd3288397348ca820b77265d3.zip |
apm821xx: add linux 4.19 apm821xx patches
This patch updates the apm821xx target to use the 4.19 kernel.
4.19 ships with all the crypto4xx driver patches. Furthermore,
the DW-DMA fix for the SATA controller has been backported from
4.20 and integrated.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts')
-rw-r--r-- | target/linux/apm821xx/dts/apm82181.dtsi | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi index bd6786b40e..45d4eac171 100644 --- a/target/linux/apm821xx/dts/apm82181.dtsi +++ b/target/linux/apm821xx/dts/apm82181.dtsi @@ -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> @@ -384,7 +385,20 @@ 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 { |