WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / spi / spi-xlp.txt
blobf4925ec0ed331d7a1330eed795b959b79de9b2a2
1 SPI Master controller for Netlogic XLP MIPS64 SOCs
2 ==================================================
4 Currently this SPI controller driver is supported for the following
5 Netlogic XLP SoCs:
6         XLP832, XLP316, XLP208, XLP980, XLP532
8 Required properties:
9 - compatible            : Should be "netlogic,xlp832-spi".
10 - #address-cells        : Number of cells required to define a chip select address
11                           on the SPI bus.
12 - #size-cells           : Should be zero.
13 - reg                   : Should contain register location and length.
14 - clocks                : Phandle of the spi clock
15 - interrupts            : Interrupt number used by this controller.
17 SPI slave nodes must be children of the SPI master node and can contain
18 properties described in Documentation/devicetree/bindings/spi/spi-bus.txt.
20 Example:
22         spi: xlp_spi@3a100 {
23                 compatible = "netlogic,xlp832-spi";
24                 #address-cells = <1>;
25                 #size-cells = <0>;
26                 reg = <0 0x3a100 0x100>;
27                 clocks = <&spi_clk>;
28                 interrupts = <34>;
29                 interrupt-parent = <&pic>;
31                 spi_nor@1 {
32                         compatible = "spansion,s25sl12801";
33                         #address-cells = <1>;
34                         #size-cells = <1>;
35                         reg = <1>;      /* Chip Select */
36                         spi-max-frequency = <40000000>;
37                 };