1*4882a593SmuzhiyunST-Ericsson COH 901 318 DMA Controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThis is a DMA controller which has begun as a fork of the 4*4882a593SmuzhiyunARM PL08x PrimeCell VHDL code. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunRequired properties: 7*4882a593Smuzhiyun- compatible: should be "stericsson,coh901318" 8*4882a593Smuzhiyun- reg: register locations and length 9*4882a593Smuzhiyun- interrupts: the single DMA IRQ 10*4882a593Smuzhiyun- #dma-cells: must be set to <1>, as the channels on the 11*4882a593Smuzhiyun COH 901 318 are simple and identified by a single number 12*4882a593Smuzhiyun- dma-channels: the number of DMA channels handled 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunExample: 15*4882a593Smuzhiyun 16*4882a593Smuzhiyundmac: dma-controller@c00020000 { 17*4882a593Smuzhiyun compatible = "stericsson,coh901318"; 18*4882a593Smuzhiyun reg = <0xc0020000 0x1000>; 19*4882a593Smuzhiyun interrupt-parent = <&vica>; 20*4882a593Smuzhiyun interrupts = <2>; 21*4882a593Smuzhiyun #dma-cells = <1>; 22*4882a593Smuzhiyun dma-channels = <40>; 23*4882a593Smuzhiyun}; 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunConsumers example: 26*4882a593Smuzhiyun 27*4882a593Smuzhiyunuart0: serial@c0013000 { 28*4882a593Smuzhiyun compatible = "..."; 29*4882a593Smuzhiyun (...) 30*4882a593Smuzhiyun dmas = <&dmac 17 &dmac 18>; 31*4882a593Smuzhiyun dma-names = "tx", "rx"; 32*4882a593Smuzhiyun}; 33