diff options
-rw-r--r-- | Documentation/devicetree/bindings/spi/adi,axi-spi-engine.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/adi,axi-spi-engine.txt b/Documentation/devicetree/bindings/spi/adi,axi-spi-engine.txt new file mode 100644 index 000000000000..8a18d71e6879 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/adi,axi-spi-engine.txt | |||
@@ -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 | }; | ||