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/lpc1850-dmamux.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 NXP LPC18xx/43xx DMA MUX (DMA request router)
    2 
    3 Required properties:
    4 - compatible:   "nxp,lpc1850-dmamux"
    5 - reg:          Memory map for accessing module
    6 - #dma-cells:   Should be set to <3>.
    7                 * 1st cell contain the master dma request signal
    8                 * 2nd cell contain the mux value (0-3) for the peripheral
    9                 * 3rd cell contain either 1 or 2 depending on the AHB
   10                   master used.
   11 - dma-requests: Number of DMA requests for the mux
   12 - dma-masters:  phandle pointing to the DMA controller
   13 
   14 The DMA controller node need to have the following poroperties:
   15 - dma-requests: Number of DMA requests the controller can handle
   16 
   17 Example:
   18 
   19 dmac: dma@40002000 {
   20         compatible = "nxp,lpc1850-gpdma", "arm,pl080", "arm,primecell";
   21         arm,primecell-periphid = <0x00041080>;
   22         reg = <0x40002000 0x1000>;
   23         interrupts = <2>;
   24         clocks = <&ccu1 CLK_CPU_DMA>;
   25         clock-names = "apb_pclk";
   26         #dma-cells = <2>;
   27         dma-channels = <8>;
   28         dma-requests = <16>;
   29         lli-bus-interface-ahb1;
   30         lli-bus-interface-ahb2;
   31         mem-bus-interface-ahb1;
   32         mem-bus-interface-ahb2;
   33         memcpy-burst-size = <256>;
   34         memcpy-bus-width = <32>;
   35 };
   36 
   37 dmamux: dma-mux {
   38         compatible = "nxp,lpc1850-dmamux";
   39         #dma-cells = <3>;
   40         dma-requests = <64>;
   41         dma-masters = <&dmac>;
   42 };
   43 
   44 uart0: serial@40081000 {
   45         compatible = "nxp,lpc1850-uart", "ns16550a";
   46         reg = <0x40081000 0x1000>;
   47         reg-shift = <2>;
   48         interrupts = <24>;
   49         clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>;
   50         clock-names = "uartclk", "reg";
   51         dmas = <&dmamux 1 1 2
   52                 &dmamux 2 1 2>;
   53         dma-names = "tx", "rx";
   54 };

Cache object: ea2e0c31533c704ae2ca33c8bec480ee


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