| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/brcm,bcm2835-i2s.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Broadcom BCM2835 SoC I2S/PCM module |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Florian Fainelli <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
const: brcm,bcm2835-i2s |
| 15 |
|
| 16 |
reg: |
| 17 |
maxItems: 1 |
| 18 |
|
| 19 |
clocks: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
dmas: |
| 23 |
items: |
| 24 |
- description: Transmission DMA controller phandle and request line. |
| 25 |
- description: Reception DMA controller phandle and request line. |
| 26 |
|
| 27 |
dma-names: |
| 28 |
items: |
| 29 |
- const: tx |
| 30 |
- const: rx |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- clocks |
| 36 |
- dmas |
| 37 |
- dma-names |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
#include <dt-bindings/clock/bcm2835.h> |
| 44 |
|
| 45 |
i2s@7e203000 { |
| 46 |
compatible = "brcm,bcm2835-i2s"; |
| 47 |
reg = <0x7e203000 0x24>; |
| 48 |
clocks = <&clocks BCM2835_CLOCK_PCM>; |
| 49 |
dmas = <&dma 2>, <&dma 3>; |
| 50 |
dma-names = "tx", "rx"; |
| 51 |
}; |