| 
     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 
    7 title: Freescale vf610 Digital to Analog Converter
    8 
    9 maintainers:
   10   - Sanchayan Maity <maitysanchayan@gmail.com>
   11 
   12 properties:
   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 
   28 required:
   29   - compatible
   30   - reg
   31   - interrupts
   32   - clocks
   33   - clock-names
   34 
   35 additionalProperties: false
   36 
   37 examples:
   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 ...
Cache object: 5a06f43d546a917445e795e243221584 
 
 |