Commit d41676dd authored by Tero Kristo's avatar Tero Kristo Committed by Tony Lindgren

ARM: dts: am43xx: fix edma memcpy channel allocation

EDMA was allocating DMA channels 32 and 33 for memcpy usage, out of which
channel 33 is actually used by DES crypto engine. This bad allocation of
the channel causes a crash in the DES crypto engine, as the channel
gets configured for memcpy usage instead of hardware <-> memory DMA.

Fixed by allocating DMA channels 58 and 59 for memcpy usage (I2C0 RX/TX),
which are not used by anybody.

Fixes: cce1ee00 ("ARM: DTS: am437x: Use the new DT bindings for
the eDMA3")
Cc: stable@vger.kernel.org # v4.4+
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
Suggested-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent cfe1580a
...@@ -207,7 +207,7 @@ edma: edma@49000000 { ...@@ -207,7 +207,7 @@ edma: edma@49000000 {
ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>, ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
<&edma_tptc2 0>; <&edma_tptc2 0>;
ti,edma-memcpy-channels = <32 33>; ti,edma-memcpy-channels = <58 59>;
}; };
edma_tptc0: tptc@49800000 { edma_tptc0: tptc@49800000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment