0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/dac/fsl,vf610-dac.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Freescale vf610 Digital to Analog Converter
0008
0009 maintainers:
0010 - Sanchayan Maity <maitysanchayan@gmail.com>
0011
0012 properties:
0013 compatible:
0014 const: fsl,vf610-dac
0015
0016 reg:
0017 maxItems: 1
0018
0019 interrupts:
0020 maxItems: 1
0021
0022 clocks:
0023 maxItems: 1
0024
0025 clock-names:
0026 const: dac
0027
0028 required:
0029 - compatible
0030 - reg
0031 - interrupts
0032 - clocks
0033 - clock-names
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 #include <dt-bindings/interrupt-controller/irq.h>
0040 #include <dt-bindings/clock/vf610-clock.h>
0041 bus@40000000 {
0042 compatible = "fsl,aips-bus", "simple-bus";
0043 reg = <0x40000000 0x00070000>;
0044 ranges;
0045 #address-cells = <1>;
0046 #size-cells = <1>;
0047 dac@400cc000 {
0048 compatible = "fsl,vf610-dac";
0049 reg = <0x400cc000 0x1000>;
0050 interrupts = <55 IRQ_TYPE_LEVEL_HIGH>;
0051 clock-names = "dac";
0052 clocks = <&clks VF610_CLK_DAC0>;
0053 };
0054 };
0055 ...