18c2ecf20Sopenharmony_ci* NVIDIA Tegra Audio DMA (ADMA) controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe Tegra Audio DMA controller that is used for transferring data
48c2ecf20Sopenharmony_cibetween system memory and the Audio Processing Engine (APE).
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired properties:
78c2ecf20Sopenharmony_ci- compatible: Should contain one of the following:
88c2ecf20Sopenharmony_ci  - "nvidia,tegra210-adma": for Tegra210
98c2ecf20Sopenharmony_ci  - "nvidia,tegra186-adma": for Tegra186 and Tegra194
108c2ecf20Sopenharmony_ci- reg: Should contain DMA registers location and length. This should be
118c2ecf20Sopenharmony_ci  a single entry that includes all of the per-channel registers in one
128c2ecf20Sopenharmony_ci  contiguous bank.
138c2ecf20Sopenharmony_ci- interrupts: Should contain all of the per-channel DMA interrupts in
148c2ecf20Sopenharmony_ci  ascending order with respect to the DMA channel index.
158c2ecf20Sopenharmony_ci- clocks: Must contain one entry for the ADMA module clock
168c2ecf20Sopenharmony_ci  (TEGRA210_CLK_D_AUDIO).
178c2ecf20Sopenharmony_ci- clock-names: Must contain the name "d_audio" for the corresponding
188c2ecf20Sopenharmony_ci  'clocks' entry.
198c2ecf20Sopenharmony_ci- #dma-cells : Must be 1. The first cell denotes the receive/transmit
208c2ecf20Sopenharmony_ci  request number and should be between 1 and the maximum number of
218c2ecf20Sopenharmony_ci  requests supported. This value corresponds to the RX/TX_REQUEST_SELECT
228c2ecf20Sopenharmony_ci  fields in the ADMA_CHn_CTRL register.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciExample:
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciadma: dma@702e2000 {
288c2ecf20Sopenharmony_ci	compatible = "nvidia,tegra210-adma";
298c2ecf20Sopenharmony_ci	reg = <0x0 0x702e2000 0x0 0x2000>;
308c2ecf20Sopenharmony_ci	interrupt-parent = <&tegra_agic>;
318c2ecf20Sopenharmony_ci	interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
328c2ecf20Sopenharmony_ci		     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
338c2ecf20Sopenharmony_ci		     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
348c2ecf20Sopenharmony_ci		     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
358c2ecf20Sopenharmony_ci		     <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
368c2ecf20Sopenharmony_ci		     <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
378c2ecf20Sopenharmony_ci		     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
388c2ecf20Sopenharmony_ci		     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
398c2ecf20Sopenharmony_ci		     <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
408c2ecf20Sopenharmony_ci		     <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
418c2ecf20Sopenharmony_ci		     <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
428c2ecf20Sopenharmony_ci		     <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
438c2ecf20Sopenharmony_ci		     <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
448c2ecf20Sopenharmony_ci		     <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
458c2ecf20Sopenharmony_ci		     <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
468c2ecf20Sopenharmony_ci		     <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
478c2ecf20Sopenharmony_ci		     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
488c2ecf20Sopenharmony_ci		     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
498c2ecf20Sopenharmony_ci		     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
508c2ecf20Sopenharmony_ci		     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
518c2ecf20Sopenharmony_ci		     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
528c2ecf20Sopenharmony_ci		     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
538c2ecf20Sopenharmony_ci	clocks = <&tegra_car TEGRA210_CLK_D_AUDIO>;
548c2ecf20Sopenharmony_ci	clock-names = "d_audio";
558c2ecf20Sopenharmony_ci	#dma-cells = <1>;
568c2ecf20Sopenharmony_ci};
57