xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/fsl,vf610-dac.yaml (revision a90b9d0159070121c221b966469c3e36d912bf82)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/fsl,vf610-dac.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale vf610 Digital to Analog Converter
8
9maintainers:
10  - Sanchayan Maity <maitysanchayan@gmail.com>
11
12properties:
13  compatible:
14    const: fsl,vf610-dac
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    const: dac
27
28required:
29  - compatible
30  - reg
31  - interrupts
32  - clocks
33  - clock-names
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/interrupt-controller/irq.h>
40    #include <dt-bindings/clock/vf610-clock.h>
41    bus@40000000 {
42        compatible = "fsl,aips-bus", "simple-bus";
43        reg = <0x40000000 0x00070000>;
44        ranges;
45        #address-cells = <1>;
46        #size-cells = <1>;
47        dac@400cc000 {
48            compatible = "fsl,vf610-dac";
49            reg = <0x400cc000 0x1000>;
50            interrupts = <55 IRQ_TYPE_LEVEL_HIGH>;
51            clock-names = "dac";
52            clocks = <&clks VF610_CLK_DAC0>;
53        };
54    };
55...
56