| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/dma/nxp,lpc3220-dmamux.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: DMA multiplexer for LPC32XX SoC (DMA request router) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- J.M.B. Downing <[email protected]> |
| 11 |
- Piotr Wojtaszczyk <[email protected]> |
| 12 |
|
| 13 |
allOf: |
| 14 |
- $ref: dma-router.yaml# |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: nxp,lpc3220-dmamux |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
dma-masters: |
| 24 |
description: phandle to a dma node compatible with arm,pl080 |
| 25 |
maxItems: 1 |
| 26 |
|
| 27 |
"#dma-cells": |
| 28 |
const: 3 |
| 29 |
description: | |
| 30 |
First two cells same as for device pointed in dma-masters. |
| 31 |
Third cell represents mux value for the request. |
| 32 |
|
| 33 |
required: |
| 34 |
- compatible |
| 35 |
- reg |
| 36 |
- dma-masters |
| 37 |
|
| 38 |
additionalProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
dma-router@7c { |
| 43 |
compatible = "nxp,lpc3220-dmamux"; |
| 44 |
reg = <0x7c 0x8>; |
| 45 |
dma-masters = <&dma>; |
| 46 |
#dma-cells = <3>; |
| 47 |
}; |
| 48 |
|
| 49 |
... |