1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/socionext,uniphier-evea.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: UniPhier EVEA SoC-internal sound codec
8
9maintainers:
10  - <alsa-devel@alsa-project.org>
11
12properties:
13  compatible:
14    const: socionext,uniphier-evea
15
16  reg:
17    maxItems: 1
18
19  clock-names:
20    items:
21      - const: evea
22      - const: exiv
23
24  clocks:
25    minItems: 2
26    maxItems: 2
27
28  reset-names:
29    items:
30      - const: evea
31      - const: exiv
32      - const: adamv
33
34  resets:
35    minItems: 3
36    maxItems: 3
37
38  "#sound-dai-cells":
39    const: 1
40
41patternProperties:
42  "^port@[0-9]$":
43    type: object
44    properties:
45      endpoint: true
46    required:
47      - endpoint
48
49additionalProperties: false
50
51required:
52  - compatible
53  - reg
54  - clock-names
55  - clocks
56  - reset-names
57  - resets
58  - "#sound-dai-cells"
59
60examples:
61  - |
62    codec@57900000 {
63        compatible = "socionext,uniphier-evea";
64        reg = <0x57900000 0x1000>;
65        clock-names = "evea", "exiv";
66        clocks = <&sys_clk 41>, <&sys_clk 42>;
67        reset-names = "evea", "exiv", "adamv";
68        resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>;
69        #sound-dai-cells = <1>;
70    };
71