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,ad5686.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices AD5360 and similar DACs
8
9maintainers:
10  - Michael Hennerich <michael.hennerich@analog.com>
11  - Jonathan Cameron <jic23@kernel.org>
12
13properties:
14  compatible:
15    oneOf:
16      - description: SPI devices
17        enum:
18          - adi,ad5310r
19          - adi,ad5672r
20          - adi,ad5674r
21          - adi,ad5676
22          - adi,ad5676r
23          - adi,ad5679r
24          - adi,ad5681r
25          - adi,ad5682r
26          - adi,ad5683
27          - adi,ad5683r
28          - adi,ad5684
29          - adi,ad5684r
30          - adi,ad5685r
31          - adi,ad5686
32          - adi,ad5686r
33      - description: I2C devices
34        enum:
35          - adi,ad5311r
36          - adi,ad5338r
37          - adi,ad5671r
38          - adi,ad5675r
39          - adi,ad5691r
40          - adi,ad5692r
41          - adi,ad5693
42          - adi,ad5693r
43          - adi,ad5694
44          - adi,ad5694r
45          - adi,ad5695r
46          - adi,ad5696
47          - adi,ad5696r
48
49
50  reg:
51    maxItems: 1
52
53  vcc-supply:
54    description: If not supplied the internal reference is used.
55
56required:
57  - compatible
58  - reg
59
60allOf:
61  - $ref: /schemas/spi/spi-peripheral-props.yaml#
62
63unevaluatedProperties: false
64
65examples:
66  - |
67    spi {
68        #address-cells = <1>;
69        #size-cells = <0>;
70        dac@0 {
71            reg = <0>;
72            compatible = "adi,ad5310r";
73            vcc-supply = <&dac_vref0>;
74        };
75    };
76...
77