-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 374658 b: refs/heads/master c: bbe89c8 h: refs/heads/master v: v3
- Loading branch information
Ludovic Desroches
authored and
Vinod Koul
committed
Apr 30, 2013
1 parent
5e68892
commit d07c681
Showing
4 changed files
with
122 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e6a30fec08b421a59064437a7d990c70a80a7e7f | ||
refs/heads/master: bbe89c8e3d598129b728d1388c3ad9abe4e8e261 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,39 @@ | ||
* Atmel Direct Memory Access Controller (DMA) | ||
|
||
Required properties: | ||
- compatible: Should be "atmel,<chip>-dma" | ||
- reg: Should contain DMA registers location and length | ||
- interrupts: Should contain DMA interrupt | ||
- compatible: Should be "atmel,<chip>-dma". | ||
- reg: Should contain DMA registers location and length. | ||
- interrupts: Should contain DMA interrupt. | ||
- #dma-cells: Must be <2>, used to represent the number of integer cells in | ||
the dmas property of client devices. | ||
|
||
Examples: | ||
Example: | ||
|
||
dma@ffffec00 { | ||
dma0: dma@ffffec00 { | ||
compatible = "atmel,at91sam9g45-dma"; | ||
reg = <0xffffec00 0x200>; | ||
interrupts = <21>; | ||
#dma-cells = <2>; | ||
}; | ||
|
||
DMA clients connected to the Atmel DMA controller must use the format | ||
described in the dma.txt file, using a three-cell specifier for each channel: | ||
a phandle plus two interger cells. | ||
The three cells in order are: | ||
|
||
1. A phandle pointing to the DMA controller. | ||
2. The memory interface (16 most significant bits), the peripheral interface | ||
(16 less significant bits). | ||
3. The peripheral identifier for the hardware handshaking interface. The | ||
identifier can be different for tx and rx. | ||
|
||
Example: | ||
|
||
i2c0@i2c@f8010000 { | ||
compatible = "atmel,at91sam9x5-i2c"; | ||
reg = <0xf8010000 0x100>; | ||
interrupts = <9 4 6>; | ||
dmas = <&dma0 1 7>, | ||
<&dma0 1 8>; | ||
dma-names = "tx", "rx"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters