summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/dma/nxp,lpc3220-dmamux.yaml
blob: 32f20874415444e7b161224583a118f0fa3b86f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dma/nxp,lpc3220-dmamux.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: DMA multiplexer for LPC32XX SoC (DMA request router)

maintainers:
  - J.M.B. Downing <jonathan.downing@nautel.com>
  - Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>

allOf:
  - $ref: dma-router.yaml#

properties:
  compatible:
    const: nxp,lpc3220-dmamux

  reg:
    maxItems: 1

  dma-masters:
    description: phandle to a dma node compatible with arm,pl080
    maxItems: 1

  "#dma-cells":
    const: 3
    description: |
      First two cells same as for device pointed in dma-masters.
      Third cell represents mux value for the request.

required:
  - compatible
  - reg
  - dma-masters

additionalProperties: false

examples:
  - |
    dma-router@7c {
      compatible = "nxp,lpc3220-dmamux";
      reg = <0x7c 0x8>;
      dma-masters = <&dma>;
      #dma-cells = <3>;
    };

...