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