1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/amlogic,t9015.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic T9015 Internal Audio DAC
8
9maintainers:
10  - Jerome Brunet <jbrunet@baylibre.com>
11
12properties:
13  $nodename:
14    pattern: "^audio-controller@.*"
15
16  "#sound-dai-cells":
17    const: 0
18
19  compatible:
20    items:
21      - const: amlogic,t9015
22
23  clocks:
24    items:
25      - description: Peripheral clock
26
27  clock-names:
28    items:
29      - const: pclk
30
31  reg:
32    maxItems: 1
33
34  resets:
35    maxItems: 1
36
37required:
38  - "#sound-dai-cells"
39  - compatible
40  - reg
41  - clocks
42  - clock-names
43  - resets
44
45examples:
46  - |
47    #include <dt-bindings/clock/g12a-clkc.h>
48    #include <dt-bindings/reset/amlogic,meson-g12a-reset.h>
49
50    acodec: audio-controller@32000 {
51        compatible = "amlogic,t9015";
52        reg = <0x32000 0x14>;
53        #sound-dai-cells = <0>;
54        clocks = <&clkc CLKID_AUDIO_CODEC>;
55        clock-names = "pclk";
56        resets = <&reset RESET_AUDIO_CODEC>;
57    };
58