xref: /linux/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.yaml (revision 9611c0ce215a66770ccbe5c126bf57ba8c31bcad)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/cdns,xtfpga-i2s.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: I2S controller built into xtfpga Xtensa bitstreams
8
9maintainers:
10  - Max Filippov <jcmvbkbc@gmail.com>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    const: cdns,xtfpga-i2s
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27    description: phandle to the clk used as master clock. I2S bus clock is derived from it.
28
29  "#sound-dai-cells":
30    const: 0
31
32required:
33  - compatible
34  - reg
35  - interrupts
36  - clocks
37
38unevaluatedProperties: false
39
40examples:
41  - |
42    i2s@d080000 {
43        compatible = "cdns,xtfpga-i2s";
44        reg = <0x0d080000 0x40>;
45        interrupts = <2 1>;
46        clocks = <&cdce706 4>;
47        #sound-dai-cells = <0>;
48    };
49