GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / spi / spi-lantiq-ssc.txt
1 Lantiq Synchronous Serial Controller (SSC) SPI master driver
2
3 Required properties:
4 - compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi"
5 - #address-cells: see spi-bus.txt
6 - #size-cells: see spi-bus.txt
7 - reg: address and length of the spi master registers
8 - interrupts: should contain the "spi_rx", "spi_tx" and "spi_err" interrupt.
9
10
11 Optional properties:
12 - clocks: spi clock phandle
13 - num-cs: see spi-bus.txt, set to 8 if unset
14 - base-cs: the number of the first chip select, set to 1 if unset.
15
16 Example:
17
18
19 spi: spi@E100800 {
20         compatible = "lantiq,xrx200-spi", "lantiq,xrx100-spi";
21         reg = <0xE100800 0x100>;
22         interrupt-parent = <&icu0>;
23         interrupts = <22 23 24>;
24         interrupt-names = "spi_rx", "spi_tx", "spi_err";
25         #address-cells = <1>;
26         #size-cells = <1>;
27         num-cs = <6>;
28         base-cs = <1>;
29 };