The DMA allows software to mark each channel secure/non-secure by programming the LPD_SLCR_SECURE DMA_Ch0_TZ (0 to 7) register. The secure bit field [tz] includes eight bits to set the TrustZone security setting for the 8 DMA channels. If a channel is marked secure, only a secure transaction host can access its DMA control and status registers. The DMA tags all the AXI transactions secure if a channel is marked secure.
Secure DMA channel characteristics include the following:
- Only secure hosts can access their control and status registers.
- All AXI transactions from this channel are marked secure. They can access both secure and non-secure regions.
Non-secure DMA channel characteristics include the following:
- Both secure and non-secure hosts can access their control and status registers.
- All AXI transactions from this channel are marked non-secure, and can access only non-secure regions.