Merge remote-tracking branches 'spi/topic/spidev', 'spi/topic/st-ssc4' and 'spi/topic...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / spi / spi-meson.txt
1 Amlogic Meson SPI controllers
2
3 * SPIFC (SPI Flash Controller)
4
5 The Meson SPIFC is a controller optimized for communication with SPI
6 NOR memories, without DMA support and a 64-byte unified transmit /
7 receive buffer.
8
9 Required properties:
10  - compatible: should be "amlogic,meson6-spifc" or "amlogic,meson-gxbb-spifc"
11  - reg: physical base address and length of the controller registers
12  - clocks: phandle of the input clock for the baud rate generator
13  - #address-cells: should be 1
14  - #size-cells: should be 0
15
16         spi@c1108c80 {
17                 compatible = "amlogic,meson6-spifc";
18                 reg = <0xc1108c80 0x80>;
19                 clocks = <&clk81>;
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22         };
23
24 * SPICC (SPI Communication Controller)
25
26 The Meson SPICC is generic SPI controller for general purpose Full-Duplex
27 communications with dedicated 16 words RX/TX PIO FIFOs.
28
29 Required properties:
30  - compatible: should be "amlogic,meson-gx-spicc" on Amlogic GX SoCs.
31  - reg: physical base address and length of the controller registers
32  - interrupts: The interrupt specifier
33  - clock-names: Must contain "core"
34  - clocks: phandle of the input clock for the baud rate generator
35  - #address-cells: should be 1
36  - #size-cells: should be 0
37
38 Optional properties:
39  - resets: phandle of the internal reset line
40
41 See ../spi/spi-bus.txt for more details on SPI bus master and slave devices
42 required and optional properties.
43
44 Example :
45         spi@c1108d80 {
46                 compatible = "amlogic,meson-gx-spicc";
47                 reg = <0xc1108d80 0x80>;
48                 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
49                 clock-names = "core";
50                 clocks = <&clk81>;
51                 #address-cells = <1>;
52                 #size-cells = <0>;
53         };