1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/adi,ad5624r.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices AD5624r and similar DACs
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12properties:
13  compatible:
14    enum:
15      - adi,ad5624r3
16      - adi,ad5644r3
17      - adi,ad5664r3
18      - adi,ad5624r5
19      - adi,ad5644r5
20      - adi,ad5664r5
21
22  reg:
23    maxItems: 1
24
25  vref-supply:
26    description: If not present, internal reference will be used.
27
28required:
29  - compatible
30  - reg
31
32allOf:
33  - $ref: /schemas/spi/spi-peripheral-props.yaml#
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    spi {
40        #address-cells = <1>;
41        #size-cells = <0>;
42        dac@0 {
43            reg = <0>;
44            compatible = "adi,ad5624r3";
45            vref-supply = <&vref>;
46        };
47    };
48...
49