The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/dma/sirfsoc-dma.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * CSR SiRFSoC DMA controller
    2 
    3 See dma.txt first
    4 
    5 Required properties:
    6 - compatible: Should be "sirf,prima2-dmac", "sirf,atlas7-dmac" or
    7   "sirf,atlas7-dmac-v2"
    8 - reg: Should contain DMA registers location and length.
    9 - interrupts: Should contain one interrupt shared by all channel
   10 - #dma-cells: must be <1>. used to represent the number of integer
   11     cells in the dmas property of client device.
   12 - clocks: clock required
   13 
   14 Example:
   15 
   16 Controller:
   17 dmac0: dma-controller@b00b0000 {
   18         compatible = "sirf,prima2-dmac";
   19         reg = <0xb00b0000 0x10000>;
   20         interrupts = <12>;
   21         clocks = <&clks 24>;
   22         #dma-cells = <1>;
   23 };
   24 
   25 
   26 Client:
   27 Fill the specific dma request line in dmas. In the below example, spi0 read
   28 channel request line is 9 of the 2nd dma controller, while write channel uses
   29 4 of the 2nd dma controller; spi1 read channel request line is 12 of the 1st
   30 dma controller, while write channel uses 13 of the 1st dma controller:
   31 
   32 spi0: spi@b00d0000 {
   33         compatible = "sirf,prima2-spi";
   34         dmas = <&dmac1 9>,
   35                 <&dmac1 4>;
   36         dma-names = "rx", "tx";
   37 };
   38 
   39 spi1: spi@b0170000 {
   40         compatible = "sirf,prima2-spi";
   41         dmas = <&dmac0 12>,
   42                 <&dmac0 13>;
   43         dma-names = "rx", "tx";
   44 };

Cache object: 788b83e3437fe4dc333d9aba037694e3


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.