From 32141c183a28a55fd3288397348ca820b77265d3 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 30 Sep 2018 11:40:13 +0200 Subject: 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 --- target/linux/apm821xx/dts/apm82181.dtsi | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'target/linux/apm821xx/dts') 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 #include #include #include @@ -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 { -- cgit v1.2.3