I am reworking DMA to get it working for the SAMA5D2. It seems to me that there are also errors and inconsistencies in the DMA code for the SAMA5D3 and D4 family.
For now I have added "# warning" pre-processor statements. I have no means to check ATSAMA3 or ATSAMA4 devices - so unless someone can confirm that DMA does actually work for those 3 families and I've misunderstood something I will suggest that the warnings remain in place when I eventually submit a PR for my work.