Skip to content

Commit 2ec3b62

Browse files
larsclausenbroonie
authored andcommitted
spi: axi: Add bindings documentation for Analog Devices axi-spi-engine
Add the devicetree bindings documentation for the Analog Devices axi-spi-engine SPI master peripheral. This is a soft-peripheral used in FPGAs. The external interfaces of the peripheral are: * A memory mapped register map which is used to configure the peripheral. * One interrupt. * Two clocks, one for the memory mapped register interface and one for the SPI bus. * A SPI master interface to which the slave devices are connected. These interfaces are described by the devicetree bindings accordingly. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent e32bb87 commit 2ec3b62

File tree

1 file changed

+31
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)