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
37  AVDD-supply:
38    description:
39      Analogue power supply.
40
41required:
42  - "#sound-dai-cells"
43  - compatible
44  - reg
45  - clocks
46  - clock-names
47  - resets
48  - AVDD-supply
49
50additionalProperties: false
51
52examples:
53  - |
54    #include <dt-bindings/clock/g12a-clkc.h>
55    #include <dt-bindings/reset/amlogic,meson-g12a-reset.h>
56
57    acodec: audio-controller@32000 {
58        compatible = "amlogic,t9015";
59        reg = <0x32000 0x14>;
60        #sound-dai-cells = <0>;
61        clocks = <&clkc CLKID_AUDIO_CODEC>;
62        clock-names = "pclk";
63        resets = <&reset RESET_AUDIO_CODEC>;
64        AVDD-supply = <&vddao_1v8>;
65    };
66