xref: /freebsd/sys/contrib/device-tree/Bindings/spi/adi,axi-spi-engine.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotAnalog Devices AXI SPI Engine controller Device Tree Bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible		: Must be "adi,axi-spi-engine-1.00.a""
5*c66ec88fSEmmanuel Vadot- reg			: Physical base address and size of the register map.
6*c66ec88fSEmmanuel Vadot- interrupts		: Property with a value describing the interrupt
7*c66ec88fSEmmanuel Vadot			  number.
8*c66ec88fSEmmanuel Vadot- clock-names		: List of input clock names - "s_axi_aclk", "spi_clk"
9*c66ec88fSEmmanuel Vadot- clocks		: Clock phandles and specifiers (See clock bindings for
10*c66ec88fSEmmanuel Vadot			  details on clock-names and clocks).
11*c66ec88fSEmmanuel Vadot- #address-cells	: Must be <1>
12*c66ec88fSEmmanuel Vadot- #size-cells		: Must be <0>
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotOptional subnodes:
15*c66ec88fSEmmanuel Vadot	Subnodes are use to represent the SPI slave devices connected to the SPI
16*c66ec88fSEmmanuel Vadot	master. They follow the generic SPI bindings as outlined in spi-bus.txt.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot    spi@@44a00000 {
21*c66ec88fSEmmanuel Vadot		compatible = "adi,axi-spi-engine-1.00.a";
22*c66ec88fSEmmanuel Vadot		reg = <0x44a00000 0x1000>;
23*c66ec88fSEmmanuel Vadot		interrupts = <0 56 4>;
24*c66ec88fSEmmanuel Vadot		clocks = <&clkc 15 &clkc 15>;
25*c66ec88fSEmmanuel Vadot		clock-names = "s_axi_aclk", "spi_clk";
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
28*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot		/* SPI devices */
31*c66ec88fSEmmanuel Vadot    };
32