blob: ad43b237d9afff306dfe259125530c89722fca2e [file] [log] [blame]
Dmitry Osipenko80c3d0a2021-12-04 17:37:05 +03001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/nvidia,tegra20-i2s.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NVIDIA Tegra20 I2S Controller
8
9description: |
10 The I2S Controller streams synchronous serial audio data between system
11 memory and an external audio device. The controller supports the I2S Left
12 Justified Mode, Right Justified Mode, and DSP mode formats.
13
14maintainers:
15 - Thierry Reding <treding@nvidia.com>
16 - Jon Hunter <jonathanh@nvidia.com>
17
18properties:
19 compatible:
20 const: nvidia,tegra20-i2s
21
22 reg:
23 maxItems: 1
24
25 resets:
26 maxItems: 1
27
28 reset-names:
29 const: i2s
30
31 interrupts:
32 maxItems: 1
33
34 clocks:
35 minItems: 1
36
37 dmas:
38 minItems: 2
39
40 dma-names:
41 items:
42 - const: rx
43 - const: tx
44
45required:
46 - compatible
47 - reg
48 - resets
49 - reset-names
50 - interrupts
51 - clocks
52 - dmas
53 - dma-names
54
55additionalProperties: false
56
57examples:
58 - |
59 i2s@70002800 {
60 compatible = "nvidia,tegra20-i2s";
61 reg = <0x70002800 0x200>;
62 interrupts = <45>;
63 clocks = <&tegra_car 11>;
64 resets = <&tegra_car 11>;
65 reset-names = "i2s";
66 dmas = <&apbdma 21>, <&apbdma 21>;
67 dma-names = "rx", "tx";
68 };
69
70...