1*8d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8d13bc63SEmmanuel Vadot%YAML 1.2
3*8d13bc63SEmmanuel Vadot---
4*8d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/spi/adi,axi-spi-engine.yaml#
5*8d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8d13bc63SEmmanuel Vadot
7*8d13bc63SEmmanuel Vadottitle: Analog Devices AXI SPI Engine Controller
8*8d13bc63SEmmanuel Vadot
9*8d13bc63SEmmanuel Vadotdescription: |
10*8d13bc63SEmmanuel Vadot  The AXI SPI Engine controller is part of the SPI Engine framework[1] and
11*8d13bc63SEmmanuel Vadot  allows memory mapped access to the SPI Engine control bus. This allows it
12*8d13bc63SEmmanuel Vadot  to be used as a general purpose software driven SPI controller as well as
13*8d13bc63SEmmanuel Vadot  some optional advanced acceleration and offloading capabilities.
14*8d13bc63SEmmanuel Vadot
15*8d13bc63SEmmanuel Vadot  [1] https://wiki.analog.com/resources/fpga/peripherals/spi_engine
16*8d13bc63SEmmanuel Vadot
17*8d13bc63SEmmanuel Vadotmaintainers:
18*8d13bc63SEmmanuel Vadot  - Michael Hennerich <Michael.Hennerich@analog.com>
19*8d13bc63SEmmanuel Vadot  - Nuno Sá <nuno.sa@analog.com>
20*8d13bc63SEmmanuel Vadot
21*8d13bc63SEmmanuel VadotallOf:
22*8d13bc63SEmmanuel Vadot  - $ref: /schemas/spi/spi-controller.yaml#
23*8d13bc63SEmmanuel Vadot
24*8d13bc63SEmmanuel Vadotproperties:
25*8d13bc63SEmmanuel Vadot  compatible:
26*8d13bc63SEmmanuel Vadot    const: adi,axi-spi-engine-1.00.a
27*8d13bc63SEmmanuel Vadot
28*8d13bc63SEmmanuel Vadot  reg:
29*8d13bc63SEmmanuel Vadot    maxItems: 1
30*8d13bc63SEmmanuel Vadot
31*8d13bc63SEmmanuel Vadot  interrupts:
32*8d13bc63SEmmanuel Vadot    maxItems: 1
33*8d13bc63SEmmanuel Vadot
34*8d13bc63SEmmanuel Vadot  clocks:
35*8d13bc63SEmmanuel Vadot    items:
36*8d13bc63SEmmanuel Vadot      - description: The AXI interconnect clock.
37*8d13bc63SEmmanuel Vadot      - description: The SPI controller clock.
38*8d13bc63SEmmanuel Vadot
39*8d13bc63SEmmanuel Vadot  clock-names:
40*8d13bc63SEmmanuel Vadot    items:
41*8d13bc63SEmmanuel Vadot      - const: s_axi_aclk
42*8d13bc63SEmmanuel Vadot      - const: spi_clk
43*8d13bc63SEmmanuel Vadot
44*8d13bc63SEmmanuel Vadotrequired:
45*8d13bc63SEmmanuel Vadot  - compatible
46*8d13bc63SEmmanuel Vadot  - reg
47*8d13bc63SEmmanuel Vadot  - interrupts
48*8d13bc63SEmmanuel Vadot  - clocks
49*8d13bc63SEmmanuel Vadot  - clock-names
50*8d13bc63SEmmanuel Vadot
51*8d13bc63SEmmanuel VadotunevaluatedProperties: false
52*8d13bc63SEmmanuel Vadot
53*8d13bc63SEmmanuel Vadotexamples:
54*8d13bc63SEmmanuel Vadot  - |
55*8d13bc63SEmmanuel Vadot    spi@44a00000 {
56*8d13bc63SEmmanuel Vadot        compatible = "adi,axi-spi-engine-1.00.a";
57*8d13bc63SEmmanuel Vadot        reg = <0x44a00000 0x1000>;
58*8d13bc63SEmmanuel Vadot        interrupts = <0 56 4>;
59*8d13bc63SEmmanuel Vadot        clocks = <&clkc 15>, <&clkc 15>;
60*8d13bc63SEmmanuel Vadot        clock-names = "s_axi_aclk", "spi_clk";
61*8d13bc63SEmmanuel Vadot
62*8d13bc63SEmmanuel Vadot        #address-cells = <1>;
63*8d13bc63SEmmanuel Vadot        #size-cells = <0>;
64*8d13bc63SEmmanuel Vadot
65*8d13bc63SEmmanuel Vadot        /* SPI devices */
66*8d13bc63SEmmanuel Vadot    };
67