1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/nuvoton,nau8810.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NAU8810/NAU8812/NAU8814 audio CODEC
8
9maintainers:
10  - David Lin <CTLIN0@nuvoton.com>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    enum:
18      - nuvoton,nau8810
19      - nuvoton,nau8812
20      - nuvoton,nau8814
21
22  reg:
23    maxItems: 1
24
25  '#sound-dai-cells':
26    const: 0
27
28required:
29  - compatible
30  - reg
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    i2c {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        codec@1a {
41            #sound-dai-cells = <0>;
42            compatible = "nuvoton,nau8810";
43            reg = <0x1a>;
44        };
45    };
46