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