xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/adi,axi-dac.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*7d0873ebSEmmanuel Vadot%YAML 1.2
3*7d0873ebSEmmanuel Vadot---
4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/dac/adi,axi-dac.yaml#
5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7d0873ebSEmmanuel Vadot
7*7d0873ebSEmmanuel Vadottitle: Analog Devices AXI DAC IP core
8*7d0873ebSEmmanuel Vadot
9*7d0873ebSEmmanuel Vadotmaintainers:
10*7d0873ebSEmmanuel Vadot  - Nuno Sa <nuno.sa@analog.com>
11*7d0873ebSEmmanuel Vadot
12*7d0873ebSEmmanuel Vadotdescription: |
13*7d0873ebSEmmanuel Vadot  Analog Devices Generic AXI DAC IP core for interfacing a DAC device
14*7d0873ebSEmmanuel Vadot  with a high speed serial (JESD204B/C) or source synchronous parallel
15*7d0873ebSEmmanuel Vadot  interface (LVDS/CMOS).
16*7d0873ebSEmmanuel Vadot  Usually, some other interface type (i.e SPI) is used as a control
17*7d0873ebSEmmanuel Vadot  interface for the actual DAC, while this IP core will interface
18*7d0873ebSEmmanuel Vadot  to the data-lines of the DAC and handle the streaming of data from
19*7d0873ebSEmmanuel Vadot  memory via DMA into the DAC.
20*7d0873ebSEmmanuel Vadot
21*7d0873ebSEmmanuel Vadot  https://wiki.analog.com/resources/fpga/docs/axi_dac_ip
22*7d0873ebSEmmanuel Vadot
23*7d0873ebSEmmanuel Vadotproperties:
24*7d0873ebSEmmanuel Vadot  compatible:
25*7d0873ebSEmmanuel Vadot    enum:
26*7d0873ebSEmmanuel Vadot      - adi,axi-dac-9.1.b
27*7d0873ebSEmmanuel Vadot
28*7d0873ebSEmmanuel Vadot  reg:
29*7d0873ebSEmmanuel Vadot    maxItems: 1
30*7d0873ebSEmmanuel Vadot
31*7d0873ebSEmmanuel Vadot  dmas:
32*7d0873ebSEmmanuel Vadot    maxItems: 1
33*7d0873ebSEmmanuel Vadot
34*7d0873ebSEmmanuel Vadot  dma-names:
35*7d0873ebSEmmanuel Vadot    items:
36*7d0873ebSEmmanuel Vadot      - const: tx
37*7d0873ebSEmmanuel Vadot
38*7d0873ebSEmmanuel Vadot  clocks:
39*7d0873ebSEmmanuel Vadot    maxItems: 1
40*7d0873ebSEmmanuel Vadot
41*7d0873ebSEmmanuel Vadot  '#io-backend-cells':
42*7d0873ebSEmmanuel Vadot    const: 0
43*7d0873ebSEmmanuel Vadot
44*7d0873ebSEmmanuel Vadotrequired:
45*7d0873ebSEmmanuel Vadot  - compatible
46*7d0873ebSEmmanuel Vadot  - dmas
47*7d0873ebSEmmanuel Vadot  - reg
48*7d0873ebSEmmanuel Vadot  - clocks
49*7d0873ebSEmmanuel Vadot
50*7d0873ebSEmmanuel VadotadditionalProperties: false
51*7d0873ebSEmmanuel Vadot
52*7d0873ebSEmmanuel Vadotexamples:
53*7d0873ebSEmmanuel Vadot  - |
54*7d0873ebSEmmanuel Vadot    dac@44a00000 {
55*7d0873ebSEmmanuel Vadot        compatible = "adi,axi-dac-9.1.b";
56*7d0873ebSEmmanuel Vadot        reg = <0x44a00000 0x10000>;
57*7d0873ebSEmmanuel Vadot        dmas = <&tx_dma 0>;
58*7d0873ebSEmmanuel Vadot        dma-names = "tx";
59*7d0873ebSEmmanuel Vadot        #io-backend-cells = <0>;
60*7d0873ebSEmmanuel Vadot        clocks = <&axi_clk>;
61*7d0873ebSEmmanuel Vadot    };
62*7d0873ebSEmmanuel Vadot...
63