Path: blob/master/Documentation/devicetree/bindings/dma/atmel,at91sam9g45-dma.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/dma/atmel,at91sam9g45-dma.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Atmel Direct Memory Access Controller (DMA)78maintainers:9- Ludovic Desroches <ludovic.desroches@microchip.com>1011description:12The Atmel Direct Memory Access Controller (DMAC) transfers data from a source13peripheral to a destination peripheral over one or more AMBA buses. One channel14is required for each source/destination pair. In the most basic configuration,15the DMAC has one master interface and one channel. The master interface reads16the data from a source and writes it to a destination. Two AMBA transfers are17required for each DMAC data transfer. This is also known as a dual-access transfer.18The DMAC is programmed via the APB interface.1920properties:21compatible:22enum:23- atmel,at91sam9g45-dma24- atmel,at91sam9rl-dma2526reg:27maxItems: 12829interrupts:30maxItems: 13132"#dma-cells":33description:34Must be <2>, used to represent the number of integer cells in the dma35property of client devices. The two cells in order are361. The first cell represents the channel number.372. The second cell is 0 for RX and 1 for TX transfers.38const: 23940clocks:41maxItems: 14243clock-names:44const: dma_clk4546required:47- compatible48- reg49- interrupts50- "#dma-cells"51- clocks52- clock-names5354additionalProperties: false5556examples:57- |58dma-controller@ffffec00 {59compatible = "atmel,at91sam9g45-dma";60reg = <0xffffec00 0x200>;61interrupts = <21>;62#dma-cells = <2>;63clocks = <&pmc 2 20>;64clock-names = "dma_clk";65};6667...686970