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/owl-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 * Actions Semi Owl SoCs DMA controller
    2 
    3 This binding follows the generic DMA bindings defined in dma.txt.
    4 
    5 Required properties:
    6 - compatible: Should be "actions,s900-dma".
    7 - reg: Should contain DMA registers location and length.
    8 - interrupts: Should contain 4 interrupts shared by all channel.
    9 - #dma-cells: Must be <1>. Used to represent the number of integer
   10               cells in the dmas property of client device.
   11 - dma-channels: Physical channels supported.
   12 - dma-requests: Number of DMA request signals supported by the controller.
   13                 Refer to Documentation/devicetree/bindings/dma/dma.txt
   14 - clocks: Phandle and Specifier of the clock feeding the DMA controller.
   15 
   16 Example:
   17 
   18 Controller:
   19                 dma: dma-controller@e0260000 {
   20                         compatible = "actions,s900-dma";
   21                         reg = <0x0 0xe0260000 0x0 0x1000>;
   22                         interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
   23                                      <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
   24                                      <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
   25                                      <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
   26                         #dma-cells = <1>;
   27                         dma-channels = <12>;
   28                         dma-requests = <46>;
   29                         clocks = <&clock CLK_DMAC>;
   30                 };
   31 
   32 Client:
   33 
   34 DMA clients connected to the Actions Semi Owl SoCs DMA controller must
   35 use the format described in the dma.txt file, using a two-cell specifier
   36 for each channel.
   37 
   38 The two cells in order are:
   39 1. A phandle pointing to the DMA controller.
   40 2. The channel id.
   41 
   42 uart5: serial@e012a000 {
   43         ...
   44         dma-names = "tx", "rx";
   45         dmas = <&dma 26>, <&dma 27>;
   46         ...
   47 };

Cache object: 4d7f18ade9715f487f73c58660bd3893


[ 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.